|
| static void | setDefaultLocationForFilter (QString filter, QString defaultDirectory) |
| | Set the default location for a file filter. More...
|
| |
| static QString | defaultLocationForFilter (QString filter) |
| | Get the default location for a file filter. More...
|
| |
| static bool | unableToSaveTryAgain (const QString &filename, QWidget *parent=0) |
| | Indicate to the user the file was not saved. More...
|
| |
| static void | unableToReadFile (const QString &filename, QWidget *parent=0) |
| | Indicate to the user the file was not read. More...
|
| |
| static QString | getExistingDirectory (const QString &directory, const QString &filter, QWidget *parent, const QString &caption=QString::null) |
| | Get an existing directory. More...
|
| |
| static QString | getSaveFileName (const QString &directory, const QString &filter, bool allowOverwrite=true, bool appendExtension=true, QWidget *parent=0, const QString &caption=QString::null, QString *selectedFilter=0, bool resolveSymLink=false) |
| | A better save file dialog which appends extensions, and queries for overwrite. More...
|
| |
| static QString | getOpenFileName (const QString &directory, const QString &filter, bool appendExtension=true, QWidget *parent=0, const QString &caption=QString::null) |
| | A better open file dialog which appends the extension. More...
|
| |
| static QString DtTreeFileDialog::defaultLocationForFilter |
( |
QString |
filter | ) |
|
|
static |
Get the default location for a file filter.
| static QString DtTreeFileDialog::getExistingDirectory |
( |
const QString & |
directory, |
|
|
const QString & |
filter, |
|
|
QWidget * |
parent, |
|
|
const QString & |
caption = QString::null |
|
) |
| |
|
static |
Get an existing directory.
If directory is empty, the filter will be used to get the initial directory.
| static QString DtTreeFileDialog::getOpenFileName |
( |
const QString & |
directory, |
|
|
const QString & |
filter, |
|
|
bool |
appendExtension = true, |
|
|
QWidget * |
parent = 0, |
|
|
const QString & |
caption = QString::null |
|
) |
| |
|
static |
A better open file dialog which appends the extension.
| static QString DtTreeFileDialog::getSaveFileName |
( |
const QString & |
directory, |
|
|
const QString & |
filter, |
|
|
bool |
allowOverwrite = true, |
|
|
bool |
appendExtension = true, |
|
|
QWidget * |
parent = 0, |
|
|
const QString & |
caption = QString::null, |
|
|
QString * |
selectedFilter = 0, |
|
|
bool |
resolveSymLink = false |
|
) |
| |
|
static |
A better save file dialog which appends extensions, and queries for overwrite.
| static void DtTreeFileDialog::setDefaultLocationForFilter |
( |
QString |
filter, |
|
|
QString |
defaultDirectory |
|
) |
| |
|
static |
Set the default location for a file filter.
| static void DtTreeFileDialog::unableToReadFile |
( |
const QString & |
filename, |
|
|
QWidget * |
parent = 0 |
|
) |
| |
|
static |
Indicate to the user the file was not read.
| static bool DtTreeFileDialog::unableToSaveTryAgain |
( |
const QString & |
filename, |
|
|
QWidget * |
parent = 0 |
|
) |
| |
|
static |
Indicate to the user the file was not saved.
- Returns
- Whether the try and save again (or to cancel all together).
| QMap<QString,QString> DtTreeFileDialog::theFilterDirectoryMap |
|
staticprotected |
The documentation for this class was generated from the following file: