![]() |
VR-Forces 4.10 Class Documentation
|
Widget version of the dialog. More...

Public Member Functions | |
| DtFileListWidget (QWidget *) | |
| virtual void | init (const QStringList &=QStringList(), bool createButtons=true) |
Public Member Functions inherited from makVrf::DtFileListDialog | |
| DtFileListDialog (QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtFileListDialog () |
| virtual void | setFiles (const QStringList &files) |
| Sets the files to appear in this widget. Clears out list box. More... | |
| void | setFilter (const QString &) |
| Sets filter to be used when selecting file. More... | |
| const QString & | filter () const |
| void | setStartingDirectory (const QString &) |
| Sets starting directory to be used when selecting file, if the file is an <empty file>=""> More... | |
| const QString & | startingDirectory () const |
| virtual QStringList | files (bool allIncludingEmpty=false) const |
| Files that are in the list box. More... | |
| virtual QString | mergedFiles (const QChar &separator= ';') const |
| virtual void | setDirectoryMode (bool) |
| Sets the mode where only directories are allowed to be selected. More... | |
| bool | directoryMode () const |
| virtual void | setPathsRelativeToApplication (bool) |
| Make all directories relative to applicatio. More... | |
| bool | pathsRelativeToApplication () const |
| QListWidget * | fileList () const |
| virtual QString | cleanPath (const QString &path) const |
Protected Member Functions | |
| virtual void | createAcceptButtons () |
| virtual QLayout * | createAddRemoveButtonLayout () |
| virtual QLayout * | createAddRemoveButtons (QHBoxLayout *fileLayout) |
Protected Member Functions inherited from makVrf::DtFileListDialog | |
| virtual QString | relativeFilename (const QString &file) const |
| virtual bool | eventFilter (QObject *p, QEvent *e) |
Additional Inherited Members | |
Public Slots inherited from makVrf::DtFileListDialog | |
| virtual void | addItem () |
| virtual void | removeItem () |
| virtual QString | changeSlashes (const QString &) |
Signals inherited from makVrf::DtFileListDialog | |
| void | filesChanged (const QStringList &) |
Static Public Member Functions inherited from makVrf::DtFileListDialog | |
| static QString | makeRelativeTo (QString origFile) |
| static QString | makeRelativeTo (QString filename, QString path) |
| If the name given contains the directory, adds ../ to that path, removing everything before it. More... | |
| static QString | relativePath () |
| Returns the folder that paths should be made relative to. More... | |
| static QString | dataFolder () |
| Returns the data folder of this application. More... | |
Public Attributes inherited from makVrf::DtFileListDialog | |
| QListWidget * | myFileList |
| QPushButton * | myRemove |
| QPushButton * | myAdd |
| QPushButton * | myFileSelect |
| QLineEdit * | myFileEdit |
| QWidget * | myFilePanel |
Protected Slots inherited from makVrf::DtFileListDialog | |
| virtual void | fileChanged () |
| virtual void | itemSelectionChanged () |
| virtual void | selectFile () |
Protected Attributes inherited from makVrf::DtFileListDialog | |
| QString | myFilter |
| QString | myStartingDirectory |
| bool | myDirectoryMode |
| bool | myPathsRelativeToApplication |
Widget version of the dialog.
Use this class if you want the file selection in another dialog. Will remove the OK buttons and move the add/remove buttons
| makVrf::DtFileListWidget::DtFileListWidget | ( | QWidget * | ) |
|
virtual |
Reimplemented from makVrf::DtFileListDialog.
|
protectedvirtual |
Reimplemented from makVrf::DtFileListDialog.
|
protectedvirtual |
Reimplemented from makVrf::DtFileListDialog.
|
protectedvirtual |
Reimplemented from makVrf::DtFileListDialog.