![]() |
wwWidgets Home · All Classes · Main Classes · Grouped Classes · Functions |
|
A widget for choosing a file or directory from the file system More...
#include <QwwFileChooser>
Inherits QwwButtonLineEdit.
|
|
| QwwFileChooser ( QWidget * parent = 0 ) | |
| QFileDialog::AcceptMode | acceptMode () const |
| QCompleter::CompletionMode | completionMode () const |
| QFileDialog::FileMode | fileMode () const |
| const QString & | filter () const |
| void | setAcceptMode ( QFileDialog::AcceptMode m ) |
| void | setCompletionMode ( QCompleter::CompletionMode m ) |
| void | setFileMode ( QFileDialog::FileMode m ) |
| void | setFilter ( const QString & f ) |
| virtual void | setModel ( QAbstractItemModel * m ) |
| void | setUsesNativeFileDialog ( bool n ) |
| bool | usesNativeFileDialog () const |
| void | chooseFile () |
A widget for choosing a file or directory from the file system

The widget is able to work in two modes - open (existing files or directories -- for loading files) and save (for saving files).
This property holds this property holds the current accept mode of the widget.
Access functions:
| QFileDialog::AcceptMode | acceptMode () const |
| void | setAcceptMode ( QFileDialog::AcceptMode m ) |
This property holds this property holds the current completion mode of the widget.
Access functions:
| QCompleter::CompletionMode | completionMode () const |
| void | setCompletionMode ( QCompleter::CompletionMode m ) |
This property holds this property holds the current file mode of the widget.
Access functions:
| QFileDialog::FileMode | fileMode () const |
| void | setFileMode ( QFileDialog::FileMode m ) |
This property holds this property holds information about the currently chosen filter.
Access functions:
| const QString & | filter () const |
| void | setFilter ( const QString & f ) |
This property holds this property holds information whether the widget uses a native file dialog for choosing files (or directories).
Access functions:
| bool | usesNativeFileDialog () const |
| void | setUsesNativeFileDialog ( bool n ) |
Constructs a file chooser with a given parent.
This slot opens a file dialog for choosing one or more entries from the file system according to currently active mode.
See also acceptMode.
Sets the model used by the widget to m.
| Copyright © 2007-2010 Witold Wysota | Trademarks | wwWidgets 1.0.0 |