Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Go to the source code of this file.
Functions | |
dialog | setFileMode (QFileDialog::AnyFile) |
dialog | setNameFilter (tr("Images (*.png *.xpm *.jpg)")) |
[2] | |
dialog | setViewMode (QFileDialog::Detail) |
[3] | |
if (dialog.exec()) fileNames = dialog.selectedFiles() | |
dialog | setNameFilter ("All C++ files (*.cpp *.cc *.C *.cxx *.c++)") |
[5] | |
dialog | setNameFilter ("*.cpp *.cc *.C *.cxx *.c++") |
dialog | setNameFilters (filters) |
dialog | exec () |
dialog | setMimeTypeFilters (mimeTypeFilters) |
Variables | |
fileName | |
[0] | |
Images * | png |
[0] | |
Text files * | txt |
QStringList | fileNames |
[4] | |
const QStringList | filters ({"Image files (*.png *.xpm *.jpg)", "Text files (*.txt)", "Any files (*)" }) |
[6] | |
QFileDialog | dialog (this) |
[1] | |
QStringList | files |
[8] | |
QString | dir |
[11] | |
QStringList | mimeTypeFilters ({"image/jpeg", "image/png", "application/octet-stream" }) |
[12] | |
XML files xml auto | fileContentReady |
[14] | |
QByteArray | imageData |
[15] | |
msgBox exec | ( | ) |
if | ( | dialog. | exec() | ) | = dialog.selectedFiles() |
dialog setFileMode | ( | QFileDialog::AnyFile | ) |
dialog setMimeTypeFilters | ( | mimeTypeFilters | ) |
dialog setViewMode | ( | QFileDialog::Detail | ) |
[3]
[4]
QFileDialog dialog | ( | this | ) |
[1]
[2]
QString dir |
[11]
[12]
Definition at line 79 of file src_gui_dialogs_qfiledialog.cpp.
[14]
[15]
Definition at line 101 of file src_gui_dialogs_qfiledialog.cpp.
QString fileName |
[0]
[9]
[7]
[8]
[11]
Definition at line 5 of file src_gui_dialogs_qfiledialog.cpp.
QStringList fileNames |
QStringList files |
[8]
[9]
Definition at line 63 of file src_gui_dialogs_qfiledialog.cpp.
const QStringList filters | ( | {"Image files (*.png *.xpm *.jpg)", "Text files (*.txt)", "Any files (*)" } | ) |
[6]
[7]
QByteArray imageData |
QStringList mimeTypeFilters | ( | {"image/jpeg", "image/png", "application/octet-stream" } | ) |
[12]
[13]
Images * png |
Definition at line 11 of file src_gui_dialogs_qfiledialog.cpp.