Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
Functions | |
void | eatMouseMove () |
After closing a windows dialog with a double click (i.e. | |
HWND | getHWND (IFileDialog *fileDialog) |
bool | useHelper (QPlatformTheme::DialogType type) |
QPlatformDialogHelper * | createHelper (QPlatformTheme::DialogType type) |
QPlatformDialogHelper * QWindowsDialogs::createHelper | ( | QPlatformTheme::DialogType | type | ) |
Definition at line 2043 of file qwindowsdialoghelpers.cpp.
References QPlatformTheme::ColorDialog, createHelper(), QPlatformTheme::FileDialog, QPlatformTheme::FontDialog, QWindowsIntegration::instance(), QPlatformTheme::MessageDialog, QWindowsIntegration::NoNativeDialogs, and QWindowsIntegration::XpNativeDialogs.
Referenced by createHelper(), and QWindowsTheme::createPlatformDialogHelper().
void QWindowsDialogs::eatMouseMove | ( | ) |
After closing a windows dialog with a double click (i.e.
open a file) the message queue still contains a dubious WM_MOUSEMOVE message where the left button is reported to be down (wParam != 0). remove all those messages (usually 1) and post the last one with a reset button state.
Definition at line 69 of file qwindowsdialoghelpers.cpp.
References qCDebug.
Referenced by QWindowsNativeFileDialogBase::doExec(), and QWindowsXpNativeFileDialog::doExec().
HWND QWindowsDialogs::getHWND | ( | IFileDialog * | fileDialog | ) |
Definition at line 79 of file qwindowsdialoghelpers.cpp.
References qCWarning.
Referenced by QWindowsNativeFileDialogBase::close().
bool QWindowsDialogs::useHelper | ( | QPlatformTheme::DialogType | type | ) |
Definition at line 2021 of file qwindowsdialoghelpers.cpp.
References QPlatformTheme::ColorDialog, QPlatformTheme::FileDialog, QPlatformTheme::FontDialog, QWindowsIntegration::instance(), QPlatformTheme::MessageDialog, QWindowsIntegration::NoNativeDialogs, and useHelper().
Referenced by useHelper(), and QWindowsTheme::usePlatformNativeDialog().