QApplication

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++)
class QApplication : QGuiApplication {}

Constructors

this
this(int argc, char** argv, int )
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Enums

ColorSpec
enum ColorSpec
Undocumented in source.

Functions

autoSipEnabled
bool autoSipEnabled()
Undocumented in source.
compressEvent
bool compressEvent(QEvent , QObject receiver, QPostEventList* )
Undocumented in source.
event
bool event(QEvent )
Undocumented in source.
focusChanged
void focusChanged(QWidget old, QWidget now)
Undocumented in source.
notify
bool notify(QObject , QEvent )
Undocumented in source.
setAutoSipEnabled
void setAutoSipEnabled(const(bool) enabled)
Undocumented in source.
setStyleSheet
void setStyleSheet(const(QString) sheet)
Undocumented in source.
styleSheet
QString styleSheet()
Undocumented in source.

Static functions

aboutQt
void aboutQt()
Undocumented in source.
activeModalWidget
QWidget activeModalWidget()
Undocumented in source.
activePopupWidget
QWidget activePopupWidget()
Undocumented in source.
activeWindow
QWidget activeWindow()
Undocumented in source.
alert
void alert(QWidget widget, int duration)
Undocumented in source.
allWidgets
QWidgetList allWidgets()
Undocumented in source.
beep
void beep()
Undocumented in source.
closeAllWindows
void closeAllWindows()
Undocumented in source.
colorSpec
int colorSpec()
Undocumented in source.
cursorFlashTime
int cursorFlashTime()
Undocumented in source.
desktop
QDesktopWidget desktop()
Undocumented in source.
doubleClickInterval
int doubleClickInterval()
Undocumented in source.
exec
int exec()
Undocumented in source.
focusWidget
QWidget focusWidget()
Undocumented in source.
font
QFont font()
Undocumented in source.
font
QFont font(const(QWidget) )
Undocumented in source.
font
QFont font(const(char)* className)
Undocumented in source.
fontMetrics
QFontMetrics fontMetrics()
Undocumented in source.
globalStrut
QSize globalStrut()
Undocumented in source.
isEffectEnabled
bool isEffectEnabled(qt.core.namespace.UIEffect )
Undocumented in source.
keyboardInputInterval
int keyboardInputInterval()
Undocumented in source.
keypadNavigationEnabled
bool keypadNavigationEnabled()
Undocumented in source.
navigationMode
qt.core.namespace.NavigationMode navigationMode()
Undocumented in source.
palette
QPalette palette(const(QWidget) )
Undocumented in source.
palette
QPalette palette(const(char)* className)
Undocumented in source.
setActiveWindow
void setActiveWindow(QWidget act)
Undocumented in source.
setColorSpec
void setColorSpec(int )
Undocumented in source.
setCursorFlashTime
void setCursorFlashTime(int )
Undocumented in source.
setDoubleClickInterval
void setDoubleClickInterval(int )
Undocumented in source.
setEffectEnabled
void setEffectEnabled(qt.core.namespace.UIEffect , bool enable)
Undocumented in source.
setFont
void setFont(const(QFont) , const(char)* className)
Undocumented in source.
setGlobalStrut
void setGlobalStrut(const(QSize) )
Undocumented in source.
setKeyboardInputInterval
void setKeyboardInputInterval(int )
Undocumented in source.
setKeypadNavigationEnabled
void setKeypadNavigationEnabled(bool )
Undocumented in source.
setNavigationMode
void setNavigationMode(qt.core.namespace.NavigationMode mode)
Undocumented in source.
setPalette
void setPalette(const(QPalette) , const(char)* className)
Undocumented in source.
setStartDragDistance
void setStartDragDistance(int l)
Undocumented in source.
setStartDragTime
void setStartDragTime(int ms)
Undocumented in source.
setStyle
void setStyle(QStyle )
Undocumented in source.
setStyle
QStyle setStyle(const(QString) )
Undocumented in source.
setWheelScrollLines
void setWheelScrollLines(int )
Undocumented in source.
setWindowIcon
void setWindowIcon(const(QIcon) icon)
Undocumented in source.
startDragDistance
int startDragDistance()
Undocumented in source.
startDragTime
int startDragTime()
Undocumented in source.
style
QStyle style()
Undocumented in source.
topLevelAt
QWidget topLevelAt(const(QPoint) p)
Undocumented in source.
topLevelAt
QWidget topLevelAt(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
topLevelWidgets
QWidgetList topLevelWidgets()
Undocumented in source.
wheelScrollLines
int wheelScrollLines()
Undocumented in source.
widgetAt
QWidget widgetAt(const(QPoint) p)
Undocumented in source.
widgetAt
QWidget widgetAt(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
windowIcon
QIcon windowIcon()
Undocumented in source.

Inherited Members

From QGuiApplication

~this
~this()
Undocumented in source.
setApplicationDisplayName
void setApplicationDisplayName(const(QString) name)
Undocumented in source.
applicationDisplayName
QString applicationDisplayName()
Undocumented in source.
setDesktopFileName
void setDesktopFileName(const(QString) name)
Undocumented in source.
desktopFileName
QString desktopFileName()
Undocumented in source.
allWindows
QWindowList allWindows()
Undocumented in source.
topLevelWindows
QWindowList topLevelWindows()
Undocumented in source.
topLevelAt
QWindow* topLevelAt(const(QPoint) pos)
Undocumented in source.
setWindowIcon
void setWindowIcon(const(QIcon) icon)
Undocumented in source.
windowIcon
QIcon windowIcon()
Undocumented in source.
platformName
QString platformName()
Undocumented in source.
modalWindow
QWindow* modalWindow()
Undocumented in source.
focusWindow
QWindow* focusWindow()
Undocumented in source.
focusObject
QObject focusObject()
Undocumented in source.
primaryScreen
QScreen primaryScreen()
Undocumented in source.
screens
QList!(QScreen) screens()
Undocumented in source.
screenAt
QScreen screenAt(const(QPoint) point)
Undocumented in source.
devicePixelRatio
qreal devicePixelRatio()
Undocumented in source.
overrideCursor
QCursor* overrideCursor()
Undocumented in source.
setOverrideCursor
void setOverrideCursor(const(QCursor) )
Undocumented in source.
changeOverrideCursor
void changeOverrideCursor(const(QCursor) )
Undocumented in source.
restoreOverrideCursor
void restoreOverrideCursor()
Undocumented in source.
font
QFont font()
Undocumented in source.
setFont
void setFont(const(QFont) )
Undocumented in source.
clipboard
QClipboard clipboard()
Undocumented in source.
palette
QPalette palette()
Undocumented in source.
setPalette
void setPalette(const(QPalette) pal)
Undocumented in source.
keyboardModifiers
qt.core.namespace.KeyboardModifiers keyboardModifiers()
Undocumented in source.
queryKeyboardModifiers
qt.core.namespace.KeyboardModifiers queryKeyboardModifiers()
Undocumented in source.
mouseButtons
qt.core.namespace.MouseButtons mouseButtons()
Undocumented in source.
setLayoutDirection
void setLayoutDirection(qt.core.namespace.LayoutDirection direction)
Undocumented in source.
layoutDirection
qt.core.namespace.LayoutDirection layoutDirection()
Undocumented in source.
isRightToLeft
bool isRightToLeft()
Undocumented in source. Be warned that the author may not have intended to support it.
isLeftToRight
bool isLeftToRight()
Undocumented in source. Be warned that the author may not have intended to support it.
styleHints
QStyleHints styleHints()
Undocumented in source.
setDesktopSettingsAware
void setDesktopSettingsAware(bool on)
Undocumented in source.
desktopSettingsAware
bool desktopSettingsAware()
Undocumented in source.
inputMethod
QInputMethod inputMethod()
Undocumented in source.
platformNativeInterface
QPlatformNativeInterface* platformNativeInterface()
Undocumented in source.
platformFunction
QFunctionPointer platformFunction(const(QByteArray) function_)
Undocumented in source.
setQuitOnLastWindowClosed
void setQuitOnLastWindowClosed(bool quit)
Undocumented in source.
quitOnLastWindowClosed
bool quitOnLastWindowClosed()
Undocumented in source.
applicationState
qt.core.namespace.ApplicationState applicationState()
Undocumented in source.
setHighDpiScaleFactorRoundingPolicy
void setHighDpiScaleFactorRoundingPolicy(qt.core.namespace.HighDpiScaleFactorRoundingPolicy policy)
Undocumented in source.
highDpiScaleFactorRoundingPolicy
qt.core.namespace.HighDpiScaleFactorRoundingPolicy highDpiScaleFactorRoundingPolicy()
Undocumented in source.
exec
int exec()
Undocumented in source.
notify
bool notify(QObject , QEvent )
Undocumented in source.
isSessionRestored
bool isSessionRestored()
Undocumented in source.
sessionId
QString sessionId()
Undocumented in source.
sessionKey
QString sessionKey()
Undocumented in source.
isSavingSession
bool isSavingSession()
Undocumented in source.
isFallbackSessionManagementEnabled
bool isFallbackSessionManagementEnabled()
Undocumented in source.
setFallbackSessionManagementEnabled
void setFallbackSessionManagementEnabled(bool )
Undocumented in source.
sync
void sync()
Undocumented in source.
fontDatabaseChanged
void fontDatabaseChanged()
Undocumented in source.
screenAdded
void screenAdded(QScreen screen)
Undocumented in source.
screenRemoved
void screenRemoved(QScreen screen)
Undocumented in source.
primaryScreenChanged
void primaryScreenChanged(QScreen screen)
Undocumented in source.
lastWindowClosed
void lastWindowClosed()
Undocumented in source.
focusObjectChanged
void focusObjectChanged(QObject focusObject)
Undocumented in source.
focusWindowChanged
void focusWindowChanged(QWindow* focusWindow)
Undocumented in source.
applicationStateChanged
void applicationStateChanged(qt.core.namespace.ApplicationState state)
Undocumented in source.
layoutDirectionChanged
void layoutDirectionChanged(qt.core.namespace.LayoutDirection direction)
Undocumented in source.
commitDataRequest
void commitDataRequest(QSessionManager sessionManager)
Undocumented in source.
saveStateRequest
void saveStateRequest(QSessionManager sessionManager)
Undocumented in source.
paletteChanged
void paletteChanged(const(QPalette) pal)
Undocumented in source.
applicationDisplayNameChanged
void applicationDisplayNameChanged()
Undocumented in source.
fontChanged
void fontChanged(const(QFont) font)
Undocumented in source.
event
bool event(QEvent )
Undocumented in source.
compressEvent
bool compressEvent(QEvent , QObject receiver, QPostEventList* )
Undocumented in source.

Meta