Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QWidgetPlatform Namespace Reference

Functions

static bool isAvailable (const char *type)
 
template<typename T >
static T * createWidget (const char *name, QObject *parent)
 
static QPlatformMenucreateMenu (QObject *parent=nullptr)
 
static QPlatformMenuItemcreateMenuItem (QObject *parent=nullptr)
 
static QPlatformSystemTrayIconcreateSystemTrayIcon (QObject *parent=nullptr)
 
static QPlatformDialogHelpercreateDialog (QPlatformTheme::DialogType type, QObject *parent=nullptr)
 

Function Documentation

◆ createDialog()

static QPlatformDialogHelper * QWidgetPlatform::createDialog ( QPlatformTheme::DialogType  type,
QObject parent = nullptr 
)
inlinestatic

Definition at line 111 of file qwidgetplatform_p.h.

References QPlatformTheme::ColorDialog, QPlatformTheme::FileDialog, QPlatformTheme::FontDialog, QPlatformTheme::MessageDialog, parent, and Q_UNUSED.

Referenced by QQuickLabsPlatformDialog::create().

+ Here is the caller graph for this function:

◆ createMenu()

static QPlatformMenu * QWidgetPlatform::createMenu ( QObject parent = nullptr)
inlinestatic

Definition at line 87 of file qwidgetplatform_p.h.

References parent, and Q_UNUSED.

Referenced by QQuickLabsPlatformMenu::create().

+ Here is the caller graph for this function:

◆ createMenuItem()

static QPlatformMenuItem * QWidgetPlatform::createMenuItem ( QObject parent = nullptr)
inlinestatic

Definition at line 95 of file qwidgetplatform_p.h.

References parent, and Q_UNUSED.

Referenced by QQuickLabsPlatformMenuItem::create().

+ Here is the caller graph for this function:

◆ createSystemTrayIcon()

static QPlatformSystemTrayIcon * QWidgetPlatform::createSystemTrayIcon ( QObject parent = nullptr)
inlinestatic

Definition at line 103 of file qwidgetplatform_p.h.

References parent, and Q_UNUSED.

Referenced by QQuickLabsPlatformSystemTrayIcon::QQuickLabsPlatformSystemTrayIcon().

+ Here is the caller graph for this function:

◆ createWidget()

template<typename T >
static T * QWidgetPlatform::createWidget ( const char *  name,
QObject parent 
)
inlinestatic

Definition at line 74 of file qwidgetplatform_p.h.

References isAvailable(), parent, and Q_UNUSED.

+ Here is the call graph for this function:

◆ isAvailable()

static bool QWidgetPlatform::isAvailable ( const char *  type)
inlinestatic

Definition at line 62 of file qwidgetplatform_p.h.

References qApp, and qCritical.

Referenced by createWidget().

+ Here is the caller graph for this function: