CFileChooser is a small widget composed of a QLineEdit and a QPushButton to pick up a file.
More...
#include <file-chooser.hh>
List of all members.
Detailed Description
CFileChooser is a small widget composed of a QLineEdit and a QPushButton to pick up a file.
The QLineEdit object displays a path to a file and the "browse" QPushButton is connected to a QFileDialog.
Member Function Documentation
| QString CFileChooser::caption |
( |
| ) |
const |
Returns the caption of the QFileDialog.
- See also:
- setCaption
| QString CFileChooser::directory |
( |
| ) |
const |
Returns the base directory from which the QFileDialog is opened.
- See also:
- setDirectory
| QString CFileChooser::filter |
( |
| ) |
const |
Returns the filter of the QFileDialog.
- See also:
- setFilter
| QFileDialog::Options CFileChooser::options |
( |
| ) |
const |
Returns the options of the QFileDialog .
- See also:
- setOptions
| QString CFileChooser::path |
( |
| ) |
const |
Returns the path from the QLineEdit.
- See also:
- setPath
| void CFileChooser::pathChanged |
( |
const QString & |
path | ) |
|
|
signal |
This signal is emitted when the path is changed in the QLineEdit.
- See also:
- path, setPath
| void CFileChooser::readSettings |
( |
| ) |
|
Tries to restore the path previously selected.
- See also:
- writeSettings
| void CFileChooser::setCaption |
( |
const QString & |
caption | ) |
|
Sets the caption of the QFileDialog.
- See also:
- caption
| void CFileChooser::setDirectory |
( |
const QString & |
directory | ) |
|
Sets the base directory from which the QFileDialog is opened.
- See also:
- directory
| void CFileChooser::setDirectory |
( |
const QDir & |
directory | ) |
|
Sets the base directory from which the QFileDialog is opened.
- See also:
- directory
| void CFileChooser::setFilter |
( |
const QString & |
filter | ) |
|
Sets the filter of the QFileDialog.
- See also:
- filter
| void CFileChooser::setOptions |
( |
const QFileDialog::Options & |
opts | ) |
|
Sets the options of the QFileDialog .
- See also:
- options
| void CFileChooser::setPath |
( |
const QString & |
path | ) |
|
|
slot |
Sets the path for the QLineEdit.
- See also:
- path
| void CFileChooser::writeSettings |
( |
| ) |
|
The documentation for this class was generated from the following files: