![]() |
Qt 6.x
The Qt SDK
|
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 2051 of file qwindowsdialoghelpers.cpp.
References QPlatformTheme::ColorDialog, QPlatformTheme::FileDialog, QPlatformTheme::FontDialog, QWindowsIntegration::instance(), QPlatformTheme::MessageDialog, QWindowsIntegration::NoNativeDialogs, and QWindowsIntegration::XpNativeDialogs.
Referenced by 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 2029 of file qwindowsdialoghelpers.cpp.
References QPlatformTheme::ColorDialog, QPlatformTheme::FileDialog, QPlatformTheme::FontDialog, QWindowsIntegration::instance(), QPlatformTheme::MessageDialog, and QWindowsIntegration::NoNativeDialogs.
Referenced by QWindowsTheme::usePlatformNativeDialog().