Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Helper for native Windows dialogs. More...
#include <qwindowsdialoghelpers.h>
Public Types | |
using | QWindowsNativeDialogBasePtr = QSharedPointer<QWindowsNativeDialogBase> |
Public Member Functions | |
~QWindowsDialogHelperBase () | |
void | exec () override |
bool | show (Qt::WindowFlags windowFlags, Qt::WindowModality windowModality, QWindow *parent) override |
void | hide () override |
virtual bool | supportsNonModalDialog (const QWindow *=nullptr) const |
Protected Member Functions | |
QWindowsDialogHelperBase ()=default | |
QWindowsNativeDialogBase * | nativeDialog () const |
bool | hasNativeDialog () const |
void | timerEvent (QTimerEvent *) override |
Private Member Functions | |
virtual QWindowsNativeDialogBase * | createNativeDialog ()=0 |
Helper for native Windows dialogs.
Provides basic functionality and introduces new virtuals. The native dialog is created in setVisible_sys() since then modality and the state of DontUseNativeDialog is known.
Modal dialogs are then run by exec(). Non-modal dialogs are shown using a separate thread started in show() should they support it.
Definition at line 30 of file qwindowsdialoghelpers.h.
using QWindowsDialogHelperBase< BaseClass >::QWindowsNativeDialogBasePtr = QSharedPointer<QWindowsNativeDialogBase> |
Definition at line 34 of file qwindowsdialoghelpers.h.
QWindowsDialogHelperBase< BaseClass >::~QWindowsDialogHelperBase | ( | ) |
Definition at line 169 of file qwindowsdialoghelpers.cpp.
References QWindowsDialogHelperBase< BaseClass >::hide().
|
protecteddefault |
|
privatepure virtual |
Implemented in QWindowsFileDialogHelper, QWindowsFileDialogHelper, QWindowsXpFileDialogHelper, and QWindowsXpFileDialogHelper.
|
override |
Definition at line 308 of file qwindowsdialoghelpers.cpp.
References QWindowsDialogHelperBase< BaseClass >::nativeDialog().
|
inlineprotected |
Definition at line 48 of file qwindowsdialoghelpers.h.
|
override |
Definition at line 298 of file qwindowsdialoghelpers.cpp.
Referenced by QWindowsDialogHelperBase< BaseClass >::~QWindowsDialogHelperBase().
|
protected |
Definition at line 193 of file qwindowsdialoghelpers.cpp.
Referenced by QWindowsDialogHelperBase< BaseClass >::exec().
|
override |
Definition at line 249 of file qwindowsdialoghelpers.cpp.
|
inlinevirtual |
Reimplemented in QWindowsFileDialogHelper, QWindowsFileDialogHelper, QWindowsXpFileDialogHelper, and QWindowsXpFileDialogHelper.
Definition at line 43 of file qwindowsdialoghelpers.h.
|
overrideprotected |
Definition at line 203 of file qwindowsdialoghelpers.cpp.