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
QGtk3Dialog Class Reference
+ Collaboration diagram for QGtk3Dialog:

Public Member Functions

 QGtk3Dialog (GtkWidget *gtkWidget, QPlatformDialogHelper *helper)
 
 ~QGtk3Dialog ()
 
GtkDialoggtkDialog () const
 
void exec ()
 
bool show (Qt::WindowFlags flags, Qt::WindowModality modality, QWindow *parent)
 
void hide ()
 

Static Protected Member Functions

static void onResponse (QPlatformDialogHelper *helper, int response)
 

Detailed Description

Definition at line 46 of file qgtk3dialoghelpers.cpp.

Constructor & Destructor Documentation

◆ QGtk3Dialog()

QGtk3Dialog::QGtk3Dialog ( GtkWidget * gtkWidget,
QPlatformDialogHelper * helper )

Definition at line 67 of file qgtk3dialoghelpers.cpp.

References onResponse().

+ Here is the call graph for this function:

◆ ~QGtk3Dialog()

QGtk3Dialog::~QGtk3Dialog ( )

Definition at line 75 of file qgtk3dialoghelpers.cpp.

Member Function Documentation

◆ exec()

void QGtk3Dialog::exec ( )

Definition at line 86 of file qgtk3dialoghelpers.cpp.

References Qt::ApplicationModal, QObject::connect(), QEventLoop::exec(), gtkDialog(), SIGNAL, and SLOT.

Referenced by QGtk3ColorDialogHelper::exec(), QGtk3FileDialogHelper::exec(), and QGtk3FontDialogHelper::exec().

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

◆ gtkDialog()

◆ hide()

void QGtk3Dialog::hide ( )

Definition at line 141 of file qgtk3dialoghelpers.cpp.

Referenced by QGtk3ColorDialogHelper::hide(), QGtk3FileDialogHelper::hide(), and QGtk3FontDialogHelper::hide().

+ Here is the caller graph for this function:

◆ onResponse()

void QGtk3Dialog::onResponse ( QPlatformDialogHelper * helper,
int response )
staticprotected

Definition at line 146 of file qgtk3dialoghelpers.cpp.

References QPlatformDialogHelper::accept(), emit, and QPlatformDialogHelper::reject().

Referenced by QGtk3Dialog().

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

◆ show()

bool QGtk3Dialog::show ( Qt::WindowFlags flags,
Qt::WindowModality modality,
QWindow * parent )

Definition at line 100 of file qgtk3dialoghelpers.cpp.

References Qt::NonModal, QGuiApplicationPrivate::platformIntegration(), QGenericUnixServices::portalWindowIdentifier(), and Q_UNUSED.

Referenced by QGtk3ColorDialogHelper::show(), QGtk3FileDialogHelper::show(), and QGtk3FontDialogHelper::show().

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

The documentation for this class was generated from the following file: