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>.
Loading...
Searching...
No Matches
QWindowsDialogs Namespace Reference

Functions

void eatMouseMove ()
 After closing a windows dialog with a double click (i.e.
 
HWND getHWND (IFileDialog *fileDialog)
 
bool useHelper (QPlatformTheme::DialogType type)
 
QPlatformDialogHelpercreateHelper (QPlatformTheme::DialogType type)
 

Function Documentation

◆ createHelper()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ eatMouseMove()

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().

+ Here is the caller graph for this function:

◆ getHWND()

HWND QWindowsDialogs::getHWND ( IFileDialog * fileDialog)

Definition at line 79 of file qwindowsdialoghelpers.cpp.

References qCWarning.

Referenced by QWindowsNativeFileDialogBase::close().

+ Here is the caller graph for this function:

◆ useHelper()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: