![]() |
Qt 6.x
The Qt SDK
|
#include <QtCore/qt_windows.h>#include "qwindowscombase.h"#include "qwindowsdialoghelpers.h"#include "qwindowscontext.h"#include "qwindowswindow.h"#include "qwindowsintegration.h"#include "qwindowstheme.h"#include <QtGui/qguiapplication.h>#include <QtGui/qcolor.h>#include <QtCore/qdebug.h>#include <QtCore/qtimer.h>#include <QtCore/qdir.h>#include <QtCore/qscopedpointer.h>#include <QtCore/qsharedpointer.h>#include <QtCore/qobject.h>#include <QtCore/qthread.h>#include <QtCore/qsysinfo.h>#include <QtCore/qshareddata.h>#include <QtCore/qmutex.h>#include <QtCore/quuid.h>#include <QtCore/qtemporaryfile.h>#include <QtCore/private/qfunctions_win_p.h>#include <QtCore/private/qsystemerror_p.h>#include <algorithm>#include <vector>#include "qwindowsdialoghelpers.moc"
Include dependency graph for qwindowsdialoghelpers.cpp:Go to the source code of this file.
Classes | |
| class | QWindowsNativeDialogBase |
| Base class for Windows native dialogs. More... | |
| class | QWindowsDialogThread |
| Run a non-modal native dialog in a separate thread. More... | |
| class | QWindowsFileDialogSharedData |
| Explicitly shared file dialog parameters that are not in QFileDialogOptions. More... | |
| class | QWindowsNativeFileDialogEventHandler |
| Listens to IFileDialog events and forwards them to QWindowsNativeFileDialogBase. More... | |
| class | QWindowsShellItem |
| Wrapper for IShellItem. More... | |
| class | QWindowsNativeFileDialogBase |
| Windows native file dialog wrapper around IFileOpenDialog, IFileSaveDialog. More... | |
| struct | FilterSpec |
| class | QWindowsNativeSaveFileDialog |
| Windows native file save dialog wrapper around IFileSaveDialog. More... | |
| class | QWindowsNativeOpenFileDialog |
| Windows native file save dialog wrapper around IFileOpenDialog. More... | |
| class | QWindowsFileDialogHelper |
| Helper for native Windows file dialogs. More... | |
| class | QWindowsXpNativeFileDialog |
| Native Windows directory dialog for Windows XP using SHlib-functions. More... | |
| class | QWindowsXpFileDialogHelper |
| Dialog helper using QWindowsXpNativeFileDialog. More... | |
Namespaces | |
| namespace | QWindowsDialogs |
Macros | |
| #define | QT_NO_URL_CAST_FROM_STRING 1 |
Typedefs | |
| using | qt_LpItemIdList = PIDLIST_ABSOLUTE |
| using | SharedPointerColor = QSharedPointer< QColor > |
| #define QT_NO_URL_CAST_FROM_STRING 1 |
Definition at line 4 of file qwindowsdialoghelpers.cpp.
| using qt_LpItemIdList = PIDLIST_ABSOLUTE |
Definition at line 1701 of file qwindowsdialoghelpers.cpp.
| using SharedPointerColor = QSharedPointer<QColor> |
Definition at line 1929 of file qwindowsdialoghelpers.cpp.
|
static |
Definition at line 1338 of file qwindowsdialoghelpers.cpp.
References file, and QFile::remove().
Referenced by createTemporaryItemCopy().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1373 of file qwindowsdialoghelpers.cpp.
References QWindowsShellItem::canStream(), cleanupTemporaryItemCopies(), QWindowsShellItem::copyData(), errorMessage(), QIODevice::errorString(), QTemporaryFile::fileName(), QWindowsShellItem::normalDisplay(), QTemporaryFile::open(), qAddPostRoutine(), QTemporaryFile::setAutoRemove(), and tempFilePattern().
Referenced by itemToDialogUrl().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 961 of file qwindowsdialoghelpers.cpp.
References FilterSpec::description, QString::endsWith(), FilterSpec::filter, filters, QString::isEmpty(), QRegularExpression::isValid(), QString::mid(), Q_ASSERT, QStringLiteral, QString::replace(), QString::size(), QString::trimmed(), and QString::truncate().
Referenced by QWindowsNativeFileDialogBase::setNameFilters().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 1061 of file qwindowsdialoghelpers.cpp.
Referenced by QWindowsNativeFileDialogBase::setLabelText().
Here is the caller graph for this function:
|
static |
Definition at line 1130 of file qwindowsdialoghelpers.cpp.
Referenced by QWindowsNativeFileDialogBase::selectNameFilter().
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 1103 of file qwindowsdialoghelpers.cpp.
References isHexRange().
Referenced by QWindowsNativeFileDialogBase::selectFile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1091 of file qwindowsdialoghelpers.cpp.
References ch.
Referenced by isClsid().
Here is the caller graph for this function:
|
static |
Definition at line 1396 of file qwindowsdialoghelpers.cpp.
References QWindowsShellItem::canStream(), createTemporaryItemCopy(), errorMessage(), QUrl::fromLocalFile(), QWindowsShellItem::isDir(), QString::isEmpty(), QUrl::isLocalFile(), QUrl::isValid(), QWindowsShellItem::path(), QUrl::scheme(), QString::startsWith(), url, and QWindowsShellItem::url().
Referenced by QWindowsNativeOpenFileDialog::dialogResult().
Here is the call graph for this function:
Here is the caller graph for this function:| QDebug operator<< | ( | QDebug | d, |
| const QWindowsShellItem & | i | ||
| ) |
Definition at line 690 of file qwindowsdialoghelpers.cpp.
Definition at line 701 of file qwindowsdialoghelpers.cpp.
References d, QWindowsShellItem::format(), and i.
Here is the call graph for this function:
|
static |
Definition at line 47 of file qwindowsdialoghelpers.cpp.
|
static |
Definition at line 638 of file qwindowsdialoghelpers.cpp.
References IID.
Definition at line 1255 of file qwindowsdialoghelpers.cpp.
References QString::indexOf().
Referenced by QWindowsNativeSaveFileDialog::setNameFilters().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1352 of file qwindowsdialoghelpers.cpp.
References i, qMax(), QStringLiteral, QDir::tempPath(), and validFileNameCharacter().
Here is the call graph for this function:
|
static |
Definition at line 1347 of file qwindowsdialoghelpers.cpp.
Referenced by tempFilePattern().
Here is the caller graph for this function:
|
static |
Definition at line 1690 of file qwindowsdialoghelpers.cpp.
References dialog.