![]() |
Qt 6.x
The Qt SDK
|
Helper for native Windows dialogs. More...
#include <qwindowsdialoghelpers.h>
Inheritance diagram for QWindowsDialogHelperBase< BaseClass >:
Collaboration diagram for QWindowsDialogHelperBase< BaseClass >: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 29 of file qwindowsdialoghelpers.h.
| using QWindowsDialogHelperBase< BaseClass >::QWindowsNativeDialogBasePtr = QSharedPointer<QWindowsNativeDialogBase> |
Definition at line 33 of file qwindowsdialoghelpers.h.
| QWindowsDialogHelperBase< BaseClass >::~QWindowsDialogHelperBase |
Definition at line 167 of file qwindowsdialoghelpers.cpp.
References hide().
Here is the call graph for this function:
|
protecteddefault |
|
privatepure virtual |
Implemented in QWindowsFileDialogHelper, and QWindowsXpFileDialogHelper.
|
override |
Definition at line 309 of file qwindowsdialoghelpers.cpp.
References qCDebug.
|
inlineprotected |
Definition at line 47 of file qwindowsdialoghelpers.h.
References QSharedPointer< T >::isNull().
Here is the call graph for this function:
|
override |
Definition at line 299 of file qwindowsdialoghelpers.cpp.
|
protected |
Definition at line 191 of file qwindowsdialoghelpers.cpp.
References qWarning.
|
override |
Definition at line 247 of file qwindowsdialoghelpers.cpp.
References QGuiApplication::focusWindow(), QWindowsBaseWindow::handleOf(), Qt::NonModal, parent, and qCDebug.
Here is the call graph for this function:
|
inlinevirtual |
Reimplemented in QWindowsFileDialogHelper, and QWindowsXpFileDialogHelper.
Definition at line 42 of file qwindowsdialoghelpers.h.
|
overrideprotected |
Definition at line 201 of file qwindowsdialoghelpers.cpp.