Qt 4.8
|
#include "qfiledialog.h"
#include <private/qfiledialog_p.h>
#include <qapplication.h>
#include <private/qapplication_p.h>
#include <qt_windows.h>
#include <qglobal.h>
#include <qregexp.h>
#include <qbuffer.h>
#include <qdir.h>
#include <qstringlist.h>
#include <private/qsystemlibrary_p.h>
#include "qfiledialog_win_p.h"
#include <commdlg.h>
Go to the source code of this file.
Typedefs | |
typedef qt_LPITEMIDLIST(WINAPI * | PtrSHBrowseForFolder) (qt_BROWSEINFO *) |
typedef HRESULT(WINAPI * | PtrSHGetMalloc) (LPMALLOC *) |
typedef BOOL(WINAPI * | PtrSHGetPathFromIDList) (qt_LPITEMIDLIST, LPWSTR) |
Functions | |
QStringList | qt_make_filter_list (const QString &filter) |
static void | qt_win_clean_up_OFN (OPENFILENAME **ofn) |
void | qt_win_eatMouseMove () |
static QString | qt_win_extract_filter (const QString &rawFilter) |
static QString | qt_win_filter (const QString &filter, bool hideFiltersDetails) |
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) |
static QStringList | qt_win_make_filters_list (const QString &filter) |
static OPENFILENAME * | qt_win_make_OFN (QWidget *parent, const QString &initialSelection, const QString &initialDirectory, const QString &title, const QString &filters, QFileDialog::FileMode mode, QFileDialog::Options options) |
static void | qt_win_resolve_libs () |
static QString | qt_win_selected_filter (const QString &filter, DWORD idx) |
static int __stdcall | winGetExistDirCallbackProc (HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData) |
Variables | |
const int | maxMultiLen = 65535 |
const int | maxNameLen = 1023 |
static PtrSHBrowseForFolder | ptrSHBrowseForFolder = 0 |
static PtrSHGetMalloc | ptrSHGetMalloc = 0 |
static PtrSHGetPathFromIDList | ptrSHGetPathFromIDList = 0 |
const char * | qt_file_dialog_filter_reg_exp |
bool | qt_priv_ptr_valid = false |
static QString | tFilters |
static QString | tInitDir |
static QString | tTitle |
typedef qt_LPITEMIDLIST(WINAPI * PtrSHBrowseForFolder) (qt_BROWSEINFO *) |
Definition at line 69 of file qfiledialog_win.cpp.
typedef HRESULT(WINAPI * PtrSHGetMalloc) (LPMALLOC *) |
Definition at line 73 of file qfiledialog_win.cpp.
typedef BOOL(WINAPI * PtrSHGetPathFromIDList) (qt_LPITEMIDLIST, LPWSTR) |
Definition at line 71 of file qfiledialog_win.cpp.
QStringList qt_make_filter_list | ( | const QString & | filter | ) |
Definition at line 1075 of file qfiledialog.cpp.
Referenced by qt_win_make_filters_list(), and qt_win_resolve_libs().
|
static |
Definition at line 222 of file qfiledialog_win.cpp.
Referenced by qt_win_get_open_file_name(), qt_win_get_open_file_names(), and qt_win_get_save_file_name().
void qt_win_eatMouseMove | ( | ) |
Definition at line 3016 of file qapplication_win.cpp.
Referenced by qt_win_clean_up_OFN(), qt_win_get_existing_directory(), qt_win_get_open_file_name(), qt_win_get_open_file_names(), and qt_win_get_save_file_name().
Definition at line 109 of file qfiledialog_win.cpp.
Referenced by qt_win_filter(), and qt_win_get_save_file_name().
Definition at line 137 of file qfiledialog_win.cpp.
Referenced by qt_win_get_open_file_name(), qt_win_get_open_file_names(), and qt_win_get_save_file_name().
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 126 of file qfiledialog_win.cpp.
Referenced by qt_win_filter(), qt_win_get_open_file_name(), qt_win_get_open_file_names(), qt_win_get_save_file_name(), and qt_win_selected_filter().
|
static |
Definition at line 169 of file qfiledialog_win.cpp.
Referenced by qt_win_get_open_file_name(), qt_win_get_open_file_names(), and qt_win_get_save_file_name().
|
static |
Definition at line 79 of file qfiledialog_win.cpp.
Referenced by qt_win_get_existing_directory(), and winGetExistDirCallbackProc().
Definition at line 162 of file qfiledialog_win.cpp.
Referenced by qt_win_get_open_file_name(), qt_win_get_open_file_names(), and qt_win_get_save_file_name().
|
static |
Definition at line 715 of file qfiledialog_win.cpp.
Referenced by qt_win_get_existing_directory().
const int maxMultiLen = 65535 |
Definition at line 106 of file qfiledialog_win.cpp.
Referenced by qt_win_make_OFN().
const int maxNameLen = 1023 |
Definition at line 105 of file qfiledialog_win.cpp.
Referenced by qt_win_make_OFN().
|
static |
Definition at line 70 of file qfiledialog_win.cpp.
Referenced by qt_win_get_existing_directory(), and qt_win_resolve_libs().
|
static |
Definition at line 74 of file qfiledialog_win.cpp.
Referenced by qt_win_get_existing_directory(), and qt_win_resolve_libs().
|
static |
Definition at line 72 of file qfiledialog_win.cpp.
Referenced by qt_win_get_existing_directory(), qt_win_resolve_libs(), and winGetExistDirCallbackProc().
const char* qt_file_dialog_filter_reg_exp |
Definition at line 438 of file qfiledialog.cpp.
Referenced by qt_win_extract_filter(), qt_win_filter(), and qt_win_resolve_libs().
bool qt_priv_ptr_valid = false |
Definition at line 60 of file qfiledialog_win.cpp.
Referenced by QFileDialog::getExistingDirectory(), and qt_win_resolve_libs().
|
static |
Definition at line 167 of file qfiledialog_win.cpp.
|
static |
Definition at line 167 of file qfiledialog_win.cpp.
|
static |
Definition at line 167 of file qfiledialog_win.cpp.