Drag&Drop: Move files by dragging in Q-views, and other programs such as MS Explorer.Favorites: Quick access to most often used folders.One can save many hand moves and also time! Q-Dir does not have to be installed and can be executed easily from the desktop, and can be carried on a small USB-stick or another memory device. Key Features of Q-Dir: The app gives you other nice functions, that make you happy. You don't have to renounce the usual, Drag and Drop, all Views, and other functions of your system. Q-Dir 64-bit is a good file manager with an amazing Quadro-View technique. Fast and easy access to your hard disks, network folders, USB-Stiks, floppy disks, and other storage devices. If you actually wish to create the sub-directory you could use or. You can then, say, feed QFileInfo::absoluteFilePath() to a new QDir() if you want to access it as a directory. You/Qt don't know whether the sub-item is a file or directory, that's why it's a QFileInfo method rather than a QDir one. when QDir::isRoot() = true), is to use, void QFileInfo::setFile(const QDir &dir, const QString &file). I would say the "correct" Qt way of producing the path to a sub-folder, without using / or QDir::separator() the way you have (which isn't great if your starting directory ends with a /, like / or C:/, e.g. Does Qt have a more desirable way to index a subfolder of an existing QDir? I could do input.path() + QDir::separator() + "SubfolderName", but that's too verbose. I could just use what I have above, but I'm not a fan of it because it hardcodes the slash. Normally, scripting languages will you allow to do something like QDir folderInput = input / "SubfolderName", but Qt doesn't. Said in How to create a new QDir from an existing QDir + a subfolder?:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |