![]() |
VR-Forces 5.0.2 Developer's Guide
|
A Wrapper around the File Dialog functions which allow for proper rendering to continue. The problem is that when the normal WIN32 File Dialog is active the application is no longer ticked. Using these functions start a low level timer which will tick the application while the dialog is visible.
Public Types | |
| enum | Option { ShowDirsOnly = 0x01, DontResolveSymlinks = 0x02, DontConfirmOverwrite = 0x04, DontUseSheet = 0x08, DontUseNativeDialog = 0x10 } |
| typedef std::map< QString, QString > | ExtentionDescriptionMap |
Static Public Member Functions | |
| static QString | fileFilter (DtFileExtensionManager::FileExtensionGroup fileExtensions, bool includeAllSupportedFileTypesFilter=true, bool includeAllFileTypes=true) |
| static QString | getExistingDirectory (DtDe &de, QWidget *parent=0, const QString &caption=QString(), const QString &dir=QString(), Options options=ShowDirsOnly) |
| static QString | getOpenFileName (DtDe &de, QWidget *parent=0, const QString &caption=QString(), const QString &dir=QString(), const QString &filter=QString(), QString *selectedFilter=0, Options options=0) |
| static QStringList | getOpenFileNames (DtDe &de, QWidget *parent=0, const QString &caption=QString(), const QString &dir=QString(), const QString &filter=QString(), QString *selectedFilter=0, Options options=0) |
| static QString | getSaveFileName (DtDe &de, QWidget *parent=0, const QString &caption=QString(), const QString &dir=QString(), const QString &filter=QString(), QString *selectedFilter=0, Options options=0) |
| static QString | getSaveFileNameWithExtension (DtDe &de, QWidget *parent, const QString &caption, const QString &dir, const QString &description, const QString &extension, bool addAllFilesFilter=true) |
| static QString | getSaveFileNameWithMultipleExtensions (DtDe &de, QWidget *parent, const QString &caption, const QString &dir, const ExtentionDescriptionMap &extDescMap, bool addAllFilesFilter=true) |
Static Public Attributes | |
| static QString | AllFilesFilter |
| typedef std::map<QString, QString> makVrv::DtStaticFileDialog::ExtentionDescriptionMap |
Map from file extension to description of that extension.
|
static |
Create a file filter string from a group of file extensions.
| includeAllSupportedFileTypesFilter | If true, then the resulting filter will include an "All Supported Types" filter with all supported extensions at the beginning. |
| includeAllFileTypes | If true, then the resulting filter will include "All (*.*)" at the end. |
|
static |
|
static |
|
static |
|
static |
|
static |
Convenience function to get a save file name (using getSaveFileName with default options) and give it the correct extension according to the following policy:
| description | Description of file format to use in file filter |
| extension | Extension to use in file filter |
| addAllFilesFilter | adds All Files (*.*) to the filter options |
|
static |
Convenience function to get a save file name (using getSaveFileName with default options) and give it the correct extension according to the following policy:
| extDescMap | Map from file extension to description of the extension used to build the file filter |
| extension | Extension to use in file filter |
| addAllFilesFilter | adds All Files (*.*) to the filter options |
|
static |