Qt 4.8
|
#include <qvariant.h>
#include <private/qwidgetitemdata_p.h>
#include "qfiledialog.h"
#include "qfiledialog_p.h"
#include <qfontmetrics.h>
#include <qaction.h>
#include <qheaderview.h>
#include <qshortcut.h>
#include <qgridlayout.h>
#include <qmenu.h>
#include <qmessagebox.h>
#include <qinputdialog.h>
#include <stdlib.h>
#include <qsettings.h>
#include <qdebug.h>
#include <qapplication.h>
#include <qstylepainter.h>
#include <itemviews/qfileiconprovider_p.h>
#include "ui_qfiledialog_embedded.h"
#include <pwd.h>
#include <qwindowsstyle.h>
#include <qmacstyle_mac.h>
#include "moc_qfiledialog.cpp"
Go to the source code of this file.
Macros | |
#define | Q_EMBEDDED_SMALLSCREEN |
Typedefs | |
typedef QString(* | _qt_filedialog_existing_directory_hook) (QWidget *parent, const QString &caption, const QString &dir, QFileDialog::Options options) |
typedef QString(* | _qt_filedialog_open_filename_hook) (QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::Options options) |
typedef QStringList(* | _qt_filedialog_open_filenames_hook) (QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::Options options) |
typedef QString(* | _qt_filedialog_save_filename_hook) (QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::Options options) |
Functions | |
static QString | _qt_get_directory (const QString &path) |
QStringList | qt_clean_filter_list (const QString &filter) |
QStringList | qt_make_filter_list (const QString &filter) |
QStringList | qt_strip_filters (const QStringList &filters) |
Q_AUTOTEST_EXPORT QString | qt_tildeExpansion (const QString &path, bool *expanded=0) |
QString | qt_win_get_existing_directory (const QFileDialogArgs &args) |
QString | qt_win_get_open_file_name (const QFileDialogArgs &args, QString *initialDirectory, QString *selectedFilter) |
QStringList | qt_win_get_open_file_names (const QFileDialogArgs &args, QString *initialDirectory, QString *selectedFilter) |
QString | qt_win_get_save_file_name (const QFileDialogArgs &args, QString *initialDirectory, QString *selectedFilter) |
#define Q_EMBEDDED_SMALLSCREEN |
Definition at line 65 of file qfiledialog.cpp.
typedef QString(* _qt_filedialog_existing_directory_hook) (QWidget *parent, const QString &caption, const QString &dir, QFileDialog::Options options) |
Definition at line 84 of file qfiledialog.cpp.
typedef QString(* _qt_filedialog_open_filename_hook) (QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::Options options) |
Definition at line 87 of file qfiledialog.cpp.
typedef QStringList(* _qt_filedialog_open_filenames_hook) (QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::Options options) |
Definition at line 90 of file qfiledialog.cpp.
typedef QString(* _qt_filedialog_save_filename_hook) (QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::Options options) |
Definition at line 93 of file qfiledialog.cpp.
Definition at line 2190 of file qfiledialog.cpp.
Referenced by QFileDialogPrivate::workingDirectory().
QStringList qt_clean_filter_list | ( | const QString & | filter | ) |
Definition at line 3189 of file qfiledialog.cpp.
Referenced by QFileDialogPrivate::_q_useNameFilter(), and QNSOpenSavePanelDelegate::findStrippedFilterWithVisualFilterName:.
QStringList qt_make_filter_list | ( | const QString & | filter | ) |
Definition at line 1075 of file qfiledialog.cpp.
Referenced by QGtkStylePrivate::extract_filter(), qt_mac_make_filters_list(), qt_win_make_filters_list(), qt_win_resolve_libs(), QFileDialog::selectNameFilter(), QFileDialog::setNameFilter(), and QGtkStylePrivate::setupGtkFileChooser().
QStringList qt_strip_filters | ( | const QStringList & | filters | ) |
Definition at line 1155 of file qfiledialog.cpp.
Referenced by QFileDialog::selectNameFilter(), and QFileDialog::setNameFilters().
Q_AUTOTEST_EXPORT QString qt_tildeExpansion | ( | const QString & | path, |
bool * | expanded = 0 |
||
) |
Definition at line 932 of file qfiledialog.cpp.
Referenced by QFSCompleter::splitPath(), and QFileDialogPrivate::typedFiles().
QString qt_win_get_existing_directory | ( | const QFileDialogArgs & | args | ) |
Definition at line 741 of file qfiledialog_win.cpp.
Referenced by QFileDialog::getExistingDirectory(), and QFileDialog::labelText().
QString qt_win_get_open_file_name | ( | const QFileDialogArgs & | args, |
QString * | initialDirectory, | ||
QString * | selectedFilter | ||
) |
Definition at line 231 of file qfiledialog_win.cpp.
Referenced by QFileDialog::getOpenFileName(), and QFileDialog::labelText().
QStringList qt_win_get_open_file_names | ( | const QFileDialogArgs & | args, |
QString * | initialDirectory, | ||
QString * | selectedFilter | ||
) |
Definition at line 627 of file qfiledialog_win.cpp.
Referenced by QFileDialog::getOpenFileNames(), and QFileDialog::labelText().
QString qt_win_get_save_file_name | ( | const QFileDialogArgs & | args, |
QString * | initialDirectory, | ||
QString * | selectedFilter | ||
) |
Definition at line 293 of file qfiledialog_win.cpp.
Referenced by QFileDialog::getSaveFileName(), and QFileDialog::labelText().
|
static |
Definition at line 436 of file qfiledialog.cpp.
const char* qt_file_dialog_filter_reg_exp |
Definition at line 438 of file qfiledialog.cpp.
Referenced by qt_mac_extract_filter(), qt_win_extract_filter(), qt_win_filter(), qt_win_resolve_libs(), and QNSOpenSavePanelDelegate::removeExtensions:.
Q_GUI_EXPORT _qt_filedialog_existing_directory_hook qt_filedialog_existing_directory_hook = 0 |
Definition at line 85 of file qfiledialog.cpp.
Referenced by QFileDialog::getExistingDirectory(), QGtkStyle::polish(), and QGtkStyle::unpolish().
Q_GUI_EXPORT _qt_filedialog_open_filename_hook qt_filedialog_open_filename_hook = 0 |
Definition at line 88 of file qfiledialog.cpp.
Referenced by QFileDialog::getOpenFileName(), QGtkStyle::polish(), and QGtkStyle::unpolish().
Q_GUI_EXPORT _qt_filedialog_open_filenames_hook qt_filedialog_open_filenames_hook = 0 |
Definition at line 91 of file qfiledialog.cpp.
Referenced by QFileDialog::getOpenFileNames(), QGtkStyle::polish(), and QGtkStyle::unpolish().
Q_GUI_EXPORT _qt_filedialog_save_filename_hook qt_filedialog_save_filename_hook = 0 |
Definition at line 94 of file qfiledialog.cpp.
Referenced by QFileDialog::getSaveFileName(), QGtkStyle::polish(), and QGtkStyle::unpolish().
bool qt_priv_ptr_valid |
Definition at line 60 of file qfiledialog_win.cpp.
Referenced by QFileDialog::getExistingDirectory(), and qt_win_resolve_libs().
bool Q_GUI_EXPORT qt_use_native_dialogs = true |
Definition at line 331 of file qfiledialog.cpp.