Qt 6.x
The Qt SDK
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 44 of file qgtk3dialoghelpers.cpp.

Constructor & Destructor Documentation

◆ QGtk3Dialog()

QGtk3Dialog::QGtk3Dialog ( GtkWidget gtkWidget,
QPlatformDialogHelper helper 
)

Definition at line 65 of file qgtk3dialoghelpers.cpp.

References onResponse().

+ Here is the call graph for this function:

◆ ~QGtk3Dialog()

QGtk3Dialog::~QGtk3Dialog ( )

Definition at line 73 of file qgtk3dialoghelpers.cpp.

Member Function Documentation

◆ exec()

void QGtk3Dialog::exec ( )

Definition at line 84 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 139 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 144 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 98 of file qgtk3dialoghelpers.cpp.

References Qt::NonModal, parent, QGuiApplicationPrivate::platformIntegration(), QGenericUnixServices::portalWindowIdentifier(), Q_UNUSED, QPlatformIntegration::services(), QString::sliced(), and QString::toUtf8().

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: