Class QApplication
- Direct Known Subclasses:
- QRootApplication
- class QApplication
- derived from QObject
Fields inherited from class Qt |
color0, color1, black, white, darkGray, gray, lightGray, red, green, blue, cyan, magenta, yellow, darkRed, darkGreen, darkBlue, darkCyan, darkMagenta, darkYellow, arrowCursor, upArrowCursor, crossCursor, waitCursor, ibeamCursor, sizeVerCursor, sizeHorCursor, sizeBDiagCursor, sizeFDiagCursor, sizeAllCursor, blankCursor, splitVCursor, splitHCursor, pointingHandCursor, forbiddenCursor, whatsThisCursor |
Method Summary |
static QWidget * | activeModalWidget() |
static QWidget * | activePopupWidget() |
const QWidget * | activeWindow() |
static void | addLibraryPath(const QString & ) |
static QWidgetList * | allWidgets() |
const QUuid | applicationId() |
const int | argc() |
const char * * | argv() |
static void | beep() |
virtual const const char * | className() |
static QClipboard * | clipboard() |
void | closeAllWindows() |
static bool | closingDown() |
static ColorMode | colorMode() |
static int | colorSpec() |
virtual void | commitData(QSessionManager & sm) |
static int | cursorFlashTime() |
const QTextCodec * | defaultCodec() |
static QDesktopWidget * | desktop() |
static bool | desktopSettingsAware() |
static int | doubleClickInterval() |
int | enter_loop() |
int | exec() |
static void | exit(int retcode) |
void | exit_loop() |
static void | flush() |
static void | flushX() |
const QWidget * | focusWidget() |
static QFont | font(const QWidget * ) |
static QFontMetrics | fontMetrics() |
static QSize | globalStrut() |
static bool | hasGlobalMouseTracking() |
bool | hasPendingEvents() |
static int | horizontalAlignment(int align) |
void | installTranslator(QTranslator * ) |
static bool | isEffectEnabled(Qt::UIEffect ) |
const bool | isSessionRestored() |
static QStringList | libraryPaths() |
const int | loopLevel() |
const QWidget * | mainWidget() |
virtual const QMetaObject * | metaObject() |
virtual bool | notify(QObject * , QEvent * ) |
static QCursor * | overrideCursor() |
static QPalette | palette(const QWidget * ) |
virtual void | polish(QWidget * ) |
static void | postEvent(QObject * receiver, QEvent * event) |
void | processEvents() |
void | processEvents(int maxtime) |
void | processOneEvent() |
QObject * | qObject() |
virtual void * | qt_cast(const char * ) |
virtual bool | qt_emit(int , QUObject * ) |
virtual bool | qt_invoke(int , QUObject * ) |
virtual bool | qt_property(int , int , QVariant * ) |
void | quit() |
const bool | remoteControlEnabled() |
static void | removeLibraryPath(const QString & ) |
static void | removePostedEvents(QObject * receiver) |
void | removeTranslator(QTranslator * ) |
static void | restoreOverrideCursor() |
static bool | reverseLayout() |
virtual void | saveState(QSessionManager & sm) |
static bool | sendEvent(QObject * receiver, QEvent * event) |
static void | sendPostedEvents(QObject * receiver, int event_type) |
static void | sendPostedEvents() |
const QString | sessionId() |
static void | setColorMode(QApplication::ColorMode ) |
static void | setColorSpec(int ) |
static void | setCursorFlashTime(int ) |
void | setDefaultCodec(QTextCodec * ) |
static void | setDesktopSettingsAware(bool ) |
static void | setDoubleClickInterval(int ) |
static void | setEffectEnabled(Qt::UIEffect , bool enable) |
void | setEnableRemoteControl(bool enable, const QUuid appId) |
static void | setFont(const QFont & , bool informWidgets, const char * className) |
static void | setGlobalMouseTracking(bool enable) |
static void | setGlobalStrut(const QSize & ) |
static void | setLibraryPaths(const QStringList & ) |
virtual void | setMainWidget(QWidget * ) |
static void | setOverrideCursor(const QCursor & , bool replace) |
static void | setPalette(const QPalette & , bool informWidgets, const char * className) |
static void | setReverseLayout(bool b) |
static void | setStartDragDistance(int l) |
static void | setStartDragTime(int ms) |
static void | setStyle(QStyle * ) |
static QStyle * | setStyle(const QString & ) |
static void | setWheelScrollLines(int ) |
static void | setWinStyleHighlightColor(const QColor & c) |
static int | startDragDistance() |
static int | startDragTime() |
static bool | startingUp() |
static QMetaObject * | staticMetaObject() |
static QStyle & | style() |
static void | syncX() |
static QWidgetList * | topLevelWidgets() |
static QString | tr(const char * , const char * ) |
const QString | translate(const char * context, const char * key, const char * comment, Encoding encoding) |
static QString | trUtf8(const char * , const char * ) |
const Type | type() |
void | wakeUpGuiThread() |
static int | wheelScrollLines() |
static QWidget * | widgetAt(int x, int y, bool child) |
static QWidget * | widgetAt(const QPoint & , bool child) |
virtual bool | winEventFilter(MSG * ) |
void | winFocus(QWidget * , bool ) |
static void | winMouseButtonUp() |
static const QColor & | winStyleHighlightColor() |
static WindowsVersion | winVersion() |
Methods inherited from class QObject |
event, eventFilter, isA, inherits, name, name, setName, isWidgetType, highPriority, signalsBlocked, blockSignals, startTimer, killTimer, killTimers, child, children, objectTrees, queryList, insertChild, removeChild, installEventFilter, removeEventFilter, connect, connect, disconnect, disconnect, disconnect, connectInternal, dumpObjectTree, dumpObjectInfo, setProperty, property, parent, deleteLater |
QApplication
public QApplication(int & argc, char * * argv)
QApplication
public QApplication(int & argc, char * * argv, bool GUIenabled)
QApplication
public QApplication(int & argc, char * * argv, Type )
~QApplication
public virtual ~QApplication()
activeModalWidget
public static QWidget * activeModalWidget()
activePopupWidget
public static QWidget * activePopupWidget()
activeWindow
public const QWidget * activeWindow()
addLibraryPath
public static void addLibraryPath(const QString & )
allWidgets
public static QWidgetList * allWidgets()
applicationId
public const QUuid applicationId()
argc
public const int argc()
argv
public const char * * argv()
beep
public static void beep()
className
public virtual const const char * className()
clipboard
public static QClipboard * clipboard()
closeAllWindows
public void closeAllWindows()
closingDown
public static bool closingDown()
colorMode
public static ColorMode colorMode()
colorSpec
public static int colorSpec()
commitData
public virtual void commitData(QSessionManager & sm)
cursorFlashTime
public static int cursorFlashTime()
defaultCodec
public const QTextCodec * defaultCodec()
desktop
public static QDesktopWidget * desktop()
desktopSettingsAware
public static bool desktopSettingsAware()
doubleClickInterval
public static int doubleClickInterval()
enter_loop
public int enter_loop()
exec
public int exec()
exit
public static void exit(int retcode)
exit_loop
public void exit_loop()
flush
public static void flush()
flushX
public static void flushX()
focusWidget
public const QWidget * focusWidget()
font
public static QFont font(const QWidget * )
fontMetrics
public static QFontMetrics fontMetrics()
globalStrut
public static QSize globalStrut()
hasGlobalMouseTracking
public static bool hasGlobalMouseTracking()
hasPendingEvents
public bool hasPendingEvents()
horizontalAlignment
public static int horizontalAlignment(int align)
installTranslator
public void installTranslator(QTranslator * )
isEffectEnabled
public static bool isEffectEnabled(Qt::UIEffect )
isSessionRestored
public const bool isSessionRestored()
libraryPaths
public static QStringList libraryPaths()
loopLevel
public const int loopLevel()
mainWidget
public const QWidget * mainWidget()
metaObject
public virtual const QMetaObject * metaObject()
notify
public virtual bool notify(QObject * , QEvent * )
overrideCursor
public static QCursor * overrideCursor()
palette
public static QPalette palette(const QWidget * )
polish
public virtual void polish(QWidget * )
postEvent
public static void postEvent(QObject * receiver, QEvent * event)
processEvents
public void processEvents()
processEvents
public void processEvents(int maxtime)
processOneEvent
public void processOneEvent()
qObject
public QObject * qObject()
qt_cast
public virtual void * qt_cast(const char * )
qt_emit
public virtual bool qt_emit(int , QUObject * )
qt_invoke
public virtual bool qt_invoke(int , QUObject * )
qt_property
public virtual bool qt_property(int , int , QVariant * )
quit
public void quit()
remoteControlEnabled
public const bool remoteControlEnabled()
removeLibraryPath
public static void removeLibraryPath(const QString & )
removePostedEvents
public static void removePostedEvents(QObject * receiver)
removeTranslator
public void removeTranslator(QTranslator * )
restoreOverrideCursor
public static void restoreOverrideCursor()
reverseLayout
public static bool reverseLayout()
saveState
public virtual void saveState(QSessionManager & sm)
sendEvent
public static bool sendEvent(QObject * receiver, QEvent * event)
sendPostedEvents
public static void sendPostedEvents(QObject * receiver, int event_type)
sendPostedEvents
public static void sendPostedEvents()
sessionId
public const QString sessionId()
setColorMode
public static void setColorMode(QApplication::ColorMode )
setColorSpec
public static void setColorSpec(int )
setCursorFlashTime
public static void setCursorFlashTime(int )
setDefaultCodec
public void setDefaultCodec(QTextCodec * )
setDesktopSettingsAware
public static void setDesktopSettingsAware(bool )
setDoubleClickInterval
public static void setDoubleClickInterval(int )
setEffectEnabled
public static void setEffectEnabled(Qt::UIEffect , bool enable)
setEnableRemoteControl
public void setEnableRemoteControl(bool enable, const QUuid appId)
setFont
public static void setFont(const QFont & , bool informWidgets, const char * className)
setGlobalMouseTracking
public static void setGlobalMouseTracking(bool enable)
setGlobalStrut
public static void setGlobalStrut(const QSize & )
setLibraryPaths
public static void setLibraryPaths(const QStringList & )
setMainWidget
public virtual void setMainWidget(QWidget * )
setOverrideCursor
public static void setOverrideCursor(const QCursor & , bool replace)
setPalette
public static void setPalette(const QPalette & , bool informWidgets, const char * className)
setReverseLayout
public static void setReverseLayout(bool b)
setStartDragDistance
public static void setStartDragDistance(int l)
setStartDragTime
public static void setStartDragTime(int ms)
setStyle
public static void setStyle(QStyle * )
setStyle
public static QStyle * setStyle(const QString & )
setWheelScrollLines
public static void setWheelScrollLines(int )
setWinStyleHighlightColor
public static void setWinStyleHighlightColor(const QColor & c)
startDragDistance
public static int startDragDistance()
startDragTime
public static int startDragTime()
startingUp
public static bool startingUp()
staticMetaObject
public static QMetaObject * staticMetaObject()
style
public static QStyle & style()
syncX
public static void syncX()
topLevelWidgets
public static QWidgetList * topLevelWidgets()
tr
public static QString tr(const char * , const char * )
translate
public const QString translate(const char * context, const char * key, const char * comment, Encoding encoding)
trUtf8
public static QString trUtf8(const char * , const char * )
type
public const Type type()
wakeUpGuiThread
public void wakeUpGuiThread()
wheelScrollLines
public static int wheelScrollLines()
widgetAt
public static QWidget * widgetAt(int x, int y, bool child)
widgetAt
public static QWidget * widgetAt(const QPoint & , bool child)
winEventFilter
public virtual bool winEventFilter(MSG * )
winFocus
public void winFocus(QWidget * , bool )
winMouseButtonUp
public static void winMouseButtonUp()
winStyleHighlightColor
public static const QColor & winStyleHighlightColor()
winVersion
public static WindowsVersion winVersion()
to Class QPalette
to Class QFont
to Class QWidget
to Class QWidget
to Class QWidget
to Class QSize