Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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()

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

Definition at line 111 of file qwidgetplatform_p.h.

◆ createMenu()

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

Definition at line 87 of file qwidgetplatform_p.h.

◆ createMenuItem()

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

Definition at line 95 of file qwidgetplatform_p.h.

◆ createSystemTrayIcon()

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

Definition at line 103 of file qwidgetplatform_p.h.

◆ createWidget()

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

Definition at line 74 of file qwidgetplatform_p.h.

References isAvailable().

Here is the call graph for this function:

◆ isAvailable()

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

Definition at line 62 of file qwidgetplatform_p.h.

Referenced by createWidget().

Here is the caller graph for this function: