Constructor & Destructor Documentation
| makVrf::DtFileListDialog::DtFileListDialog |
( |
QWidget * |
parent, |
|
|
const Qt::WindowFlags & |
flags = 0 |
|
) |
| |
| virtual makVrf::DtFileListDialog::~DtFileListDialog |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void makVrf::DtFileListDialog::init |
( |
const QStringList & |
= QStringList() | ) |
|
|
virtual |
| virtual void makVrf::DtFileListDialog::setFiles |
( |
const QStringList & |
files | ) |
|
|
virtual |
Sets the files to appear in this widget. Clears out list box.
| void makVrf::DtFileListDialog::setFilter |
( |
const QString & |
f | ) |
|
|
inline |
Sets filter to be used when selecting file.
References myFilter.
| const QString & makVrf::DtFileListDialog::filter |
( |
| ) |
const |
|
inline |
| void makVrf::DtFileListDialog::setStartingDirectory |
( |
const QString & |
f | ) |
|
|
inline |
Sets starting directory to be used when selecting file, if the file is an <empty file>="">
References myStartingDirectory.
| const QString & makVrf::DtFileListDialog::startingDirectory |
( |
| ) |
const |
|
inline |
| virtual QStringList makVrf::DtFileListDialog::files |
( |
| ) |
const |
|
virtual |
Files that are in the list box.
| virtual QString makVrf::DtFileListDialog::mergedFiles |
( |
const QChar & |
separator = ';' | ) |
const |
|
virtual |
| virtual void makVrf::DtFileListDialog::setDirectoryMode |
( |
bool |
| ) |
|
|
virtual |
Sets the mode where only directories are allowed to be selected.
| bool makVrf::DtFileListDialog::directoryMode |
( |
| ) |
const |
|
inline |
| virtual void makVrf::DtFileListDialog::setPathsRelativeToApplication |
( |
bool |
| ) |
|
|
virtual |
Make all directories relative to applicatio.
| bool makVrf::DtFileListDialog::pathsRelativeToApplication |
( |
| ) |
const |
|
inline |
| QListWidget * makVrf::DtFileListDialog::fileList |
( |
| ) |
const |
|
inline |
| virtual QString makVrf::DtFileListDialog::makeRelativeTo |
( |
QString |
origFile | ) |
const |
|
virtual |
| virtual QString makVrf::DtFileListDialog::makeRelativeTo |
( |
QString |
filename, |
|
|
QString |
path |
|
) |
| const |
|
virtual |
If the name given contains the directory, adds ../ to that path, removing everything before it.
| virtual QString makVrf::DtFileListDialog::relativePath |
( |
| ) |
const |
|
virtual |
Returns the folder that paths should be made relative to.
| virtual QString makVrf::DtFileListDialog::dataFolder |
( |
| ) |
const |
|
virtual |
Returns the data folder of this application.
Defaults to ../data
| virtual QString makVrf::DtFileListDialog::cleanPath |
( |
const QString & |
path | ) |
const |
|
virtual |
| virtual void makVrf::DtFileListDialog::createAcceptButtons |
( |
| ) |
|
|
protectedvirtual |
| virtual QLayout* makVrf::DtFileListDialog::createAddRemoveButtons |
( |
QHBoxLayout * |
fileLayout | ) |
|
|
protectedvirtual |
| virtual QLayout* makVrf::DtFileListDialog::createAddRemoveButtonLayout |
( |
| ) |
|
|
protectedvirtual |
| virtual QString makVrf::DtFileListDialog::relativeFilename |
( |
const QString & |
file | ) |
const |
|
protectedvirtual |
| virtual bool makVrf::DtFileListDialog::eventFilter |
( |
QObject * |
p, |
|
|
QEvent * |
e |
|
) |
| |
|
protectedvirtual |
| void makVrf::DtFileListDialog::filesChanged |
( |
const QStringList & |
| ) |
|
|
signal |
| virtual void makVrf::DtFileListDialog::itemSelectionChanged |
( |
| ) |
|
|
protectedvirtualslot |
| virtual void makVrf::DtFileListDialog::addItem |
( |
| ) |
|
|
protectedvirtualslot |
| virtual void makVrf::DtFileListDialog::removeItem |
( |
| ) |
|
|
protectedvirtualslot |
| virtual void makVrf::DtFileListDialog::fileChanged |
( |
| ) |
|
|
protectedvirtualslot |
| virtual void makVrf::DtFileListDialog::selectFile |
( |
| ) |
|
|
protectedvirtualslot |
Member Data Documentation
| QListWidget* makVrf::DtFileListDialog::myFileList |
|
protected |
| QLineEdit* makVrf::DtFileListDialog::myFileEdit |
|
protected |
| QWidget* makVrf::DtFileListDialog::myFilePanel |
|
protected |
| QString makVrf::DtFileListDialog::myFilter |
|
protected |
| QString makVrf::DtFileListDialog::myStartingDirectory |
|
protected |
| bool makVrf::DtFileListDialog::myDirectoryMode |
|
protected |
| bool makVrf::DtFileListDialog::myPathsRelativeToApplication |
|
protected |
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.tot/include/vrfGuiCoreQt/fileListDialog.h