java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QObject
io.qt.core.QCoreApplication
io.qt.gui.QGuiApplication
io.qt.widgets.QApplication
- All Implemented Interfaces:
QtObjectInterface
,QtSignalBlockerInterface
,QtSignalEmitterInterface
,QtThreadAffineInterface
public class QApplication extends QGuiApplication
Manages the GUI application's control flow and main settings
Java wrapper for Qt class QApplication
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QApplication.ColorSpec
Java wrapper for Qt enum QApplication::ColorSpecNested classes/interfaces inherited from class io.qt.core.QObject
QObject.MultiSignal, QObject.PrivateSignal0, QObject.PrivateSignal1<A>, QObject.PrivateSignal2<A,B>, QObject.PrivateSignal3<A,B,C>, QObject.PrivateSignal4<A,B,C,D>, QObject.PrivateSignal5<A,B,C,D,E>, QObject.PrivateSignal6<A,B,C,D,E,F>, QObject.PrivateSignal7<A,B,C,D,E,F,G>, QObject.PrivateSignal8<A,B,C,D,E,F,G,H>, QObject.PrivateSignal9<A,B,C,D,E,F,G,H,I>, QObject.QDeclarativeConstructor, QObject.Signal0, QObject.Signal1<A>, QObject.Signal1Default1<A>, QObject.Signal2<A,B>, QObject.Signal2Default1<A,B>, QObject.Signal2Default2<A,B>, QObject.Signal3<A,B,C>, QObject.Signal3Default1<A,B,C>, QObject.Signal3Default2<A,B,C>, QObject.Signal3Default3<A,B,C>, QObject.Signal4<A,B,C,D>, QObject.Signal4Default1<A,B,C,D>, QObject.Signal4Default2<A,B,C,D>, QObject.Signal4Default3<A,B,C,D>, QObject.Signal4Default4<A,B,C,D>, QObject.Signal5<A,B,C,D,E>, QObject.Signal5Default1<A,B,C,D,E>, QObject.Signal5Default2<A,B,C,D,E>, QObject.Signal5Default3<A,B,C,D,E>, QObject.Signal5Default4<A,B,C,D,E>, QObject.Signal5Default5<A,B,C,D,E>, QObject.Signal6<A,B,C,D,E,F>, QObject.Signal6Default1<A,B,C,D,E,F>, QObject.Signal6Default2<A,B,C,D,E,F>, QObject.Signal6Default3<A,B,C,D,E,F>, QObject.Signal6Default4<A,B,C,D,E,F>, QObject.Signal6Default5<A,B,C,D,E,F>, QObject.Signal6Default6<A,B,C,D,E,F>, QObject.Signal7<A,B,C,D,E,F,G>, QObject.Signal7Default1<A,B,C,D,E,F,G>, QObject.Signal7Default2<A,B,C,D,E,F,G>, QObject.Signal7Default3<A,B,C,D,E,F,G>, QObject.Signal7Default4<A,B,C,D,E,F,G>, QObject.Signal7Default5<A,B,C,D,E,F,G>, QObject.Signal7Default6<A,B,C,D,E,F,G>, QObject.Signal7Default7<A,B,C,D,E,F,G>, QObject.Signal8<A,B,C,D,E,F,G,H>, QObject.Signal8Default1<A,B,C,D,E,F,G,H>, QObject.Signal8Default2<A,B,C,D,E,F,G,H>, QObject.Signal8Default3<A,B,C,D,E,F,G,H>, QObject.Signal8Default4<A,B,C,D,E,F,G,H>, QObject.Signal8Default5<A,B,C,D,E,F,G,H>, QObject.Signal8Default6<A,B,C,D,E,F,G,H>, QObject.Signal8Default7<A,B,C,D,E,F,G,H>, QObject.Signal8Default8<A,B,C,D,E,F,G,H>, QObject.Signal9<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default1<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default2<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default3<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default4<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default5<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default6<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default7<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default8<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default9<A,B,C,D,E,F,G,H,I>, QObject.SignalConfiguration
-
Field Summary
Fields Modifier and Type Field Description QObject.Signal2<QWidget,QWidget>
focusChanged
static QMetaObject
staticMetaObject
This variable stores the meta-object for the class.Fields inherited from class io.qt.gui.QGuiApplication
applicationDisplayNameChanged, applicationStateChanged, commitDataRequest, focusObjectChanged, focusWindowChanged, fontChanged, fontDatabaseChanged, lastWindowClosed, layoutDirectionChanged, paletteChanged, primaryScreenChanged, saveStateRequest, screenAdded, screenRemoved
Fields inherited from class io.qt.core.QCoreApplication
aboutToQuit, applicationNameChanged, applicationVersionChanged, organizationDomainChanged, organizationNameChanged
-
Constructor Summary
Constructors Modifier Constructor Description protected
QApplication(QtObject.QPrivateConstructor p)
Constructor for internal use only.protected
QApplication(String[] argv)
-
Method Summary
Modifier and Type Method Description static void
aboutQt()
static QWidget
activeModalWidget()
static QWidget
activePopupWidget()
static QWidget
activeWindow()
static void
alert(QWidget widget)
Overloaded function foralert(io.qt.widgets.QWidget, int)
withduration = 0
.static void
alert(QWidget widget, int duration)
static QList<QWidget>
allWidgets()
boolean
autoSipEnabled()
static void
beep()
static void
closeAllWindows()
static int
colorSpec()
Deprecated.static int
cursorFlashTime()
static QDesktopWidget
desktop()
static int
doubleClickInterval()
boolean
event(QEvent arg__1)
static int
exec()
static QWidget
focusWidget()
static QFont
font()
static QFont
font(QWidget arg__1)
static QFont
font(String className)
static QFontMetrics
fontMetrics()
static QSize
globalStrut()
static QApplication
initialize(String[] args)
static QApplication
initialize(String applicationName, String[] args)
static QApplication
instance()
static boolean
isEffectEnabled(Qt.UIEffect arg__1)
static int
keyboardInputInterval()
boolean
notify(QObject arg__1, QEvent arg__2)
static QPalette
palette(QWidget arg__1)
static QPalette
palette(String className)
static void
setActiveWindow(QWidget act)
void
setAutoSipEnabled(boolean enabled)
static void
setColorSpec(int arg__1)
Deprecated.static void
setCursorFlashTime(int arg__1)
static void
setDoubleClickInterval(int arg__1)
static void
setEffectEnabled(Qt.UIEffect arg__1)
Overloaded function forsetEffectEnabled(io.qt.core.Qt.UIEffect, boolean)
withenable = true
.static void
setEffectEnabled(Qt.UIEffect arg__1, boolean enable)
static void
setFont(QFont arg__1, String className)
static void
setGlobalStrut(QSize arg__1)
static void
setKeyboardInputInterval(int arg__1)
static void
setPalette(QPalette arg__1, String className)
static void
setStartDragDistance(int l)
static void
setStartDragTime(int ms)
static void
setStyle(QStyle arg__1)
static QStyle
setStyle(String arg__1)
void
setStyleSheet(String sheet)
static void
setWheelScrollLines(int arg__1)
static void
setWindowIcon(QIcon icon)
static void
shutdown()
static int
startDragDistance()
static int
startDragTime()
static QStyle
style()
String
styleSheet()
static QWidget
topLevelWidgetAt(int x, int y)
static QWidget
topLevelWidgetAt(QPoint p)
static QList<QWidget>
topLevelWidgets()
static int
wheelScrollLines()
static QWidget
widgetAt(int x, int y)
static QWidget
widgetAt(QPoint p)
static QIcon
windowIcon()
Methods inherited from class io.qt.gui.QGuiApplication
allWindows, applicationDisplayName, applicationState, changeOverrideCursor, clipboard, desktopFileName, desktopSettingsAware, devicePixelRatio, focusObject, focusWindow, highDpiScaleFactorRoundingPolicy, inputMethod, isFallbackSessionManagementEnabled, isLeftToRight, isRightToLeft, isSavingSession, isSessionRestored, keyboardModifiers, layoutDirection, modalWindow, mouseButtons, overrideCursor, palette, platformName, primaryScreen, queryKeyboardModifiers, quitOnLastWindowClosed, restoreOverrideCursor, screenAt, screens, sessionId, sessionKey, setApplicationDisplayName, setDesktopFileName, setDesktopSettingsAware, setFallbackSessionManagementEnabled, setFont, setHighDpiScaleFactorRoundingPolicy, setLayoutDirection, setOverrideCursor, setPalette, setQuitOnLastWindowClosed, styleHints, sync, topLevelWindowAt, topLevelWindows
Methods inherited from class io.qt.core.QCoreApplication
addLibraryPath, addPostRoutine, addPreRoutine, applicationDirPath, applicationFilePath, applicationName, applicationPid, applicationVersion, arguments, closingDown, eventDispatcher, exit, exit, flush, hasPendingEvents, initialize, initialize, installTranslator, isQuitLockEnabled, isSetuidAllowed, libraryPaths, organizationDomain, organizationName, postEvent, postEvent, processEvents, processEvents, processEvents, processEvents, quit, removeLibraryPath, removePostedEvents, removePostedEvents, removePostRoutine, removeTranslator, sendEvent, sendPostedEvents, sendPostedEvents, sendPostedEvents, sendPostedEvents, setApplicationName, setApplicationVersion, setAttribute, setAttribute, setEventDispatcher, setLibraryPaths, setOrganizationDomain, setOrganizationName, setQuitLockEnabled, setSetuidAllowed, startingUp, testAttribute, translate, translate, translate
Methods inherited from class io.qt.core.QObject
blockSignals, childEvent, children, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connectNotify, customEvent, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnectNotify, disposeLater, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, emit, emit, emit, emit, emit, emit, emit, emit, emit, eventFilter, findChild, findChild, findChild, findChild, findChild, findChildren, findChildren, findChildren, findChildren, findChildren, findChildren, findChildren, findChildren, findChildren, findChildren, findChildren, inherits, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, qt_metacast, receivers, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, startTimer, thread, timerEvent, toString, tr, tr, tr
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class. -
focusChanged
-
-
Constructor Details
-
QApplication
-
QApplication
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
autoSipEnabled
public final boolean autoSipEnabled() -
setAutoSipEnabled
public final void setAutoSipEnabled(boolean enabled) -
setStyleSheet
-
styleSheet
-
event
- Overrides:
event
in classQGuiApplication
-
notify
- Overrides:
notify
in classQGuiApplication
-
aboutQt
public static void aboutQt() -
activeModalWidget
-
activePopupWidget
-
activeWindow
-
alert
Overloaded function for
alert(io.qt.widgets.QWidget, int)
withduration = 0
. -
alert
-
allWidgets
-
beep
public static void beep() -
closeAllWindows
public static void closeAllWindows() -
colorSpec
Deprecated. -
cursorFlashTime
public static int cursorFlashTime() -
desktop
-
doubleClickInterval
public static int doubleClickInterval() -
focusWidget
-
font
-
font
-
font
-
fontMetrics
-
globalStrut
-
isEffectEnabled
-
keyboardInputInterval
public static int keyboardInputInterval() -
palette
-
palette
-
setActiveWindow
-
setColorSpec
Deprecated. -
setCursorFlashTime
public static void setCursorFlashTime(int arg__1) -
setDoubleClickInterval
public static void setDoubleClickInterval(int arg__1) -
setEffectEnabled
Overloaded function for
setEffectEnabled(io.qt.core.Qt.UIEffect, boolean)
withenable = true
. -
setEffectEnabled
-
setFont
-
setGlobalStrut
-
setKeyboardInputInterval
public static void setKeyboardInputInterval(int arg__1) -
setPalette
-
setStartDragDistance
public static void setStartDragDistance(int l) -
setStartDragTime
public static void setStartDragTime(int ms) -
setStyle
-
setStyle
-
setWheelScrollLines
public static void setWheelScrollLines(int arg__1) -
setWindowIcon
-
startDragDistance
public static int startDragDistance() -
startDragTime
public static int startDragTime() -
style
-
topLevelWidgetAt
-
topLevelWidgetAt
-
topLevelWidgets
-
wheelScrollLines
public static int wheelScrollLines() -
widgetAt
-
widgetAt
-
windowIcon
-
initialize
-
initialize
-
shutdown
public static void shutdown() -
exec
public static int exec() -
instance
-