Line edit with completer for directories and dialog option.
More...
#include <QDirEdit.h>
|
| void | acceptFiles (bool files=true, bool write=true) |
| | allow files instead of directories More...
|
| |
|
void | fileDialog () |
| | show open dialog and use the selected directory as entry
|
| |
|
| | QDirEdit (QWidget *parent=0) |
| | inherited constructor More...
|
| |
| | QDirEdit (const QString &content, QWidget *parent=0) |
| | inherited constructor setting content More...
|
| |
|
|
void | _init () |
| | set initial values
|
| |
|
|
QToolButton * | _browseButton |
| | browse button
|
| |
|
bool | _files |
| | look for files instead of directories
|
| |
|
bool | _writeFile |
| | use saveFile dialog instead of openFile dialog
|
| |
Definition at line 31 of file QDirEdit.h.
| QDirEdit::QDirEdit |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
| QDirEdit::QDirEdit |
( |
const QString & |
content, |
|
|
QWidget * |
parent = 0 |
|
) |
| |
|
explicit |
- Parameters
-
| [in] | content | text content |
| [in] | parent | parent widget |
Definition at line 58 of file QDirEdit.cpp.
References _init().
| void QDirEdit::acceptFiles |
( |
bool |
files = true, |
|
|
bool |
write = true |
|
) |
| |
|
slot |
- Parameters
-
| [in] | files | whether to look for files |
| [in] | write | show saveFile instead of openFile |
Definition at line 86 of file QDirEdit.cpp.
References _files, and _writeFile.
| void QDirEdit::dialogOpen |
( |
bool |
status | ) |
|
|
signal |
i.e. true, if dialog is open and false otherwise
- Parameters
-
| status | true if dialog opens, false if closed |
| void QDirEdit::resizeEvent |
( |
QResizeEvent * |
e | ) |
|
|
protected |
The documentation for this class was generated from the following files: