|
| enum | Icon {
NoIcon = 0,
Information = 1,
Warning = 2,
Critical = 3,
Question = 4
} |
| |
| enum | ButtonRole {
InvalidRole = -1,
AcceptRole,
RejectRole,
DestructiveRole,
ActionRole,
HelpRole,
YesRole,
NoRole,
ResetRole,
ApplyRole,
NRoles
} |
| |
| enum | StandardButton {
NoButton = 0x00000000,
Ok = 0x00000400,
Save = 0x00000800,
SaveAll = 0x00001000,
Open = 0x00002000,
Yes = 0x00004000,
YesToAll = 0x00008000,
No = 0x00010000,
NoToAll = 0x00020000,
Abort = 0x00040000,
Retry = 0x00080000,
Ignore = 0x00100000,
Close = 0x00200000,
Cancel = 0x00400000,
Discard = 0x00800000,
Help = 0x01000000,
Apply = 0x02000000,
Reset = 0x04000000,
RestoreDefaults = 0x08000000,
FirstButton = Ok,
LastButton = RestoreDefaults,
YesAll = YesToAll,
NoAll = NoToAll,
Default = 0x00000100,
Escape = 0x00000200,
FlagMask = 0x00000300,
ButtonMask = ~FlagMask
} |
| |
| typedef StandardButton | Button |
| |
| enum | DialogCode { Rejected,
Accepted
} |
| |
| enum | RenderFlag { DrawWindowBackground = 0x1,
DrawChildren = 0x2,
IgnoreMask = 0x4
} |
| |
| enum | PaintDeviceMetric {
PdmWidth = 1,
PdmHeight,
PdmWidthMM,
PdmHeightMM,
PdmNumColors,
PdmDepth,
PdmDpiX,
PdmDpiY,
PdmPhysicalDpiX,
PdmPhysicalDpiY
} |
| |
|
| | QMessageBox (QWidget *parent=0) |
| |
| | QMessageBox (Icon icon, const QString &title, const QString &text, StandardButtons buttons=NoButton, QWidget *parent=0, Qt::WindowFlags flags=Qt::Dialog|Qt::MSWindowsFixedSizeDialogHint) |
| |
| | ~QMessageBox () |
| |
| void | addButton (QAbstractButton *button, ButtonRole role) |
| |
| QPushButton * | addButton (const QString &text, ButtonRole role) |
| |
| QPushButton * | addButton (StandardButton button) |
| |
| void | removeButton (QAbstractButton *button) |
| |
| void | open (QObject *receiver, const char *member) |
| |
| QList< QAbstractButton * > | buttons () const |
| |
| ButtonRole | buttonRole (QAbstractButton *button) const |
| |
| void | setStandardButtons (StandardButtons buttons) |
| |
| StandardButtons | standardButtons () const |
| |
| StandardButton | standardButton (QAbstractButton *button) const |
| |
| QAbstractButton * | button (StandardButton which) const |
| |
| QPushButton * | defaultButton () const |
| |
| void | setDefaultButton (QPushButton *button) |
| |
| void | setDefaultButton (StandardButton button) |
| |
| QAbstractButton * | escapeButton () const |
| |
| void | setEscapeButton (QAbstractButton *button) |
| |
| void | setEscapeButton (StandardButton button) |
| |
| QAbstractButton * | clickedButton () const |
| |
| QString | text () const |
| |
| void | setText (const QString &text) |
| |
| Icon | icon () const |
| |
| void | setIcon (Icon) |
| |
| QPixmap | iconPixmap () const |
| |
| void | setIconPixmap (const QPixmap &pixmap) |
| |
| Qt::TextFormat | textFormat () const |
| |
| void | setTextFormat (Qt::TextFormat format) |
| |
| QSize | sizeHint () const |
| |
| | QMessageBox (const QString &title, const QString &text, Icon icon, int button0, int button1, int button2, QWidget *parent=0, Qt::WindowFlags f=Qt::Dialog|Qt::MSWindowsFixedSizeDialogHint) |
| |
| QString | buttonText (int button) const |
| |
| void | setButtonText (int button, const QString &text) |
| |
| QString | informativeText () const |
| |
| void | setInformativeText (const QString &text) |
| |
| QString | detailedText () const |
| |
| void | setDetailedText (const QString &text) |
| |
| void | setWindowTitle (const QString &title) |
| |
| void | setWindowModality (Qt::WindowModality windowModality) |
| |
| | QDialog (QWidget *parent=0, Qt::WindowFlags f=0) |
| |
| | ~QDialog () |
| |
| int | result () const |
| |
| void | setVisible (bool visible) |
| |
| void | setOrientation (Qt::Orientation orientation) |
| |
| Qt::Orientation | orientation () const |
| |
| void | setExtension (QWidget *extension) |
| |
| QWidget * | extension () const |
| |
| QSize | minimumSizeHint () const |
| |
| void | setSizeGripEnabled (bool) |
| |
| bool | isSizeGripEnabled () const |
| |
| void | setModal (bool modal) |
| |
| void | setResult (int r) |
| |
| | QWidget (QWidget *parent=0, Qt::WindowFlags f=0) |
| |
| | ~QWidget () |
| |
| int | devType () const |
| |
| WId | winId () const |
| |
| void | createWinId () |
| |
| WId | internalWinId () const |
| |
| WId | effectiveWinId () const |
| |
| QStyle * | style () const |
| |
| void | setStyle (QStyle *) |
| |
| bool | isTopLevel () const |
| |
| bool | isWindow () const |
| |
| bool | isModal () const |
| |
| Qt::WindowModality | windowModality () const |
| |
| void | setWindowModality (Qt::WindowModality windowModality) |
| |
| bool | isEnabled () const |
| |
| bool | isEnabledTo (QWidget *) const |
| |
| bool | isEnabledToTLW () const |
| |
| QRect | frameGeometry () const |
| |
| const QRect & | geometry () const |
| |
| QRect | normalGeometry () const |
| |
| int | x () const |
| |
| int | y () const |
| |
| QPoint | pos () const |
| |
| QSize | frameSize () const |
| |
| QSize | size () const |
| |
| int | width () const |
| |
| int | height () const |
| |
| QRect | rect () const |
| |
| QRect | childrenRect () const |
| |
| QRegion | childrenRegion () const |
| |
| QSize | minimumSize () const |
| |
| QSize | maximumSize () const |
| |
| int | minimumWidth () const |
| |
| int | minimumHeight () const |
| |
| int | maximumWidth () const |
| |
| int | maximumHeight () const |
| |
| void | setMinimumSize (const QSize &) |
| |
| void | setMinimumSize (int minw, int minh) |
| |
| void | setMaximumSize (const QSize &) |
| |
| void | setMaximumSize (int maxw, int maxh) |
| |
| void | setMinimumWidth (int minw) |
| |
| void | setMinimumHeight (int minh) |
| |
| void | setMaximumWidth (int maxw) |
| |
| void | setMaximumHeight (int maxh) |
| |
| QSize | sizeIncrement () const |
| |
| void | setSizeIncrement (const QSize &) |
| |
| void | setSizeIncrement (int w, int h) |
| |
| QSize | baseSize () const |
| |
| void | setBaseSize (const QSize &) |
| |
| void | setBaseSize (int basew, int baseh) |
| |
| void | setFixedSize (const QSize &) |
| |
| void | setFixedSize (int w, int h) |
| |
| void | setFixedWidth (int w) |
| |
| void | setFixedHeight (int h) |
| |
| QPoint | mapToGlobal (const QPoint &) const |
| |
| QPoint | mapFromGlobal (const QPoint &) const |
| |
| QPoint | mapToParent (const QPoint &) const |
| |
| QPoint | mapFromParent (const QPoint &) const |
| |
| QPoint | mapTo (QWidget *, const QPoint &) const |
| |
| QPoint | mapFrom (QWidget *, const QPoint &) const |
| |
| QWidget * | window () const |
| |
| QWidget * | nativeParentWidget () const |
| |
| QWidget * | topLevelWidget () const |
| |
| const QPalette & | palette () const |
| |
| void | setPalette (const QPalette &) |
| |
| void | setBackgroundRole (QPalette::ColorRole) |
| |
| QPalette::ColorRole | backgroundRole () const |
| |
| void | setForegroundRole (QPalette::ColorRole) |
| |
| QPalette::ColorRole | foregroundRole () const |
| |
| const QFont & | font () const |
| |
| void | setFont (const QFont &) |
| |
| QFontMetrics | fontMetrics () const |
| |
| QFontInfo | fontInfo () const |
| |
| QCursor | cursor () const |
| |
| void | setCursor (const QCursor &) |
| |
| void | unsetCursor () |
| |
| void | setMouseTracking (bool enable) |
| |
| bool | hasMouseTracking () const |
| |
| bool | underMouse () const |
| |
| void | setMask (const QBitmap &) |
| |
| void | setMask (const QRegion &) |
| |
| QRegion | mask () const |
| |
| void | clearMask () |
| |
| void | render (QPaintDevice *target, const QPoint &targetOffset=QPoint(), const QRegion &sourceRegion=QRegion(), RenderFlags renderFlags=RenderFlags(DrawWindowBackground|DrawChildren)) |
| |
| void | render (QPainter *painter, const QPoint &targetOffset=QPoint(), const QRegion &sourceRegion=QRegion(), RenderFlags renderFlags=RenderFlags(DrawWindowBackground|DrawChildren)) |
| |
| QGraphicsEffect * | graphicsEffect () const |
| |
| void | setGraphicsEffect (QGraphicsEffect *effect) |
| |
| void | grabGesture (Qt::GestureType type, Qt::GestureFlags flags=Qt::GestureFlags()) |
| |
| void | ungrabGesture (Qt::GestureType type) |
| |
| QString | styleSheet () const |
| |
| QString | windowTitle () const |
| |
| void | setWindowIcon (const QIcon &icon) |
| |
| QIcon | windowIcon () const |
| |
| void | setWindowIconText (const QString &) |
| |
| QString | windowIconText () const |
| |
| void | setWindowRole (const QString &) |
| |
| QString | windowRole () const |
| |
| void | setWindowFilePath (const QString &filePath) |
| |
| QString | windowFilePath () const |
| |
| void | setWindowOpacity (qreal level) |
| |
| qreal | windowOpacity () const |
| |
| bool | isWindowModified () const |
| |
| void | setToolTip (const QString &) |
| |
| QString | toolTip () const |
| |
| void | setStatusTip (const QString &) |
| |
| QString | statusTip () const |
| |
| void | setWhatsThis (const QString &) |
| |
| QString | whatsThis () const |
| |
| QString | accessibleName () const |
| |
| void | setAccessibleName (const QString &name) |
| |
| QString | accessibleDescription () const |
| |
| void | setAccessibleDescription (const QString &description) |
| |
| void | setLayoutDirection (Qt::LayoutDirection direction) |
| |
| Qt::LayoutDirection | layoutDirection () const |
| |
| void | unsetLayoutDirection () |
| |
| void | setLocale (const QLocale &locale) |
| |
| QLocale | locale () const |
| |
| void | unsetLocale () |
| |
| bool | isRightToLeft () const |
| |
| bool | isLeftToRight () const |
| |
| bool | isActiveWindow () const |
| |
| void | activateWindow () |
| |
| void | clearFocus () |
| |
| void | setFocus (Qt::FocusReason reason) |
| |
| Qt::FocusPolicy | focusPolicy () const |
| |
| void | setFocusPolicy (Qt::FocusPolicy policy) |
| |
| bool | hasFocus () const |
| |
| void | setFocusProxy (QWidget *) |
| |
| QWidget * | focusProxy () const |
| |
| Qt::ContextMenuPolicy | contextMenuPolicy () const |
| |
| void | setContextMenuPolicy (Qt::ContextMenuPolicy policy) |
| |
| void | grabMouse () |
| |
| void | grabMouse (const QCursor &) |
| |
| void | releaseMouse () |
| |
| void | grabKeyboard () |
| |
| void | releaseKeyboard () |
| |
| int | grabShortcut (const QKeySequence &key, Qt::ShortcutContext context=Qt::WindowShortcut) |
| |
| void | releaseShortcut (int id) |
| |
| void | setShortcutEnabled (int id, bool enable=true) |
| |
| void | setShortcutAutoRepeat (int id, bool enable=true) |
| |
| bool | updatesEnabled () const |
| |
| void | setUpdatesEnabled (bool enable) |
| |
| QGraphicsProxyWidget * | graphicsProxyWidget () const |
| |
| void | update (int x, int y, int w, int h) |
| |
| void | update (const QRect &) |
| |
| void | update (const QRegion &) |
| |
| void | repaint (int x, int y, int w, int h) |
| |
| void | repaint (const QRect &) |
| |
| void | repaint (const QRegion &) |
| |
| void | stackUnder (QWidget *) |
| |
| void | move (int x, int y) |
| |
| void | move (const QPoint &) |
| |
| void | resize (int w, int h) |
| |
| void | resize (const QSize &) |
| |
| void | setGeometry (int x, int y, int w, int h) |
| |
| void | setGeometry (const QRect &) |
| |
| QByteArray | saveGeometry () const |
| |
| bool | restoreGeometry (const QByteArray &geometry) |
| |
| void | adjustSize () |
| |
| bool | isVisible () const |
| |
| bool | isVisibleTo (QWidget *) const |
| |
| bool | isHidden () const |
| |
| bool | isMinimized () const |
| |
| bool | isMaximized () const |
| |
| bool | isFullScreen () const |
| |
| Qt::WindowStates | windowState () const |
| |
| void | setWindowState (Qt::WindowStates state) |
| |
| void | overrideWindowState (Qt::WindowStates state) |
| |
| QSizePolicy | sizePolicy () const |
| |
| void | setSizePolicy (QSizePolicy) |
| |
| void | setSizePolicy (QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical) |
| |
| virtual int | heightForWidth (int) const |
| |
| QRegion | visibleRegion () const |
| |
| void | setContentsMargins (int left, int top, int right, int bottom) |
| |
| void | setContentsMargins (const QMargins &margins) |
| |
| void | getContentsMargins (int *left, int *top, int *right, int *bottom) const |
| |
| QMargins | contentsMargins () const |
| |
| QRect | contentsRect () const |
| |
| QLayout * | layout () const |
| |
| void | setLayout (QLayout *) |
| |
| void | updateGeometry () |
| |
| void | setParent (QWidget *parent) |
| |
| void | setParent (QWidget *parent, Qt::WindowFlags f) |
| |
| void | scroll (int dx, int dy) |
| |
| void | scroll (int dx, int dy, const QRect &) |
| |
| QWidget * | focusWidget () const |
| |
| QWidget * | nextInFocusChain () const |
| |
| QWidget * | previousInFocusChain () const |
| |
| bool | acceptDrops () const |
| |
| void | setAcceptDrops (bool on) |
| |
| void | addAction (QAction *action) |
| |
| void | addActions (QList< QAction * > actions) |
| |
| void | insertAction (QAction *before, QAction *action) |
| |
| void | insertActions (QAction *before, QList< QAction * > actions) |
| |
| void | removeAction (QAction *action) |
| |
| QList< QAction * > | actions () const |
| |
| QWidget * | parentWidget () const |
| |
| void | setWindowFlags (Qt::WindowFlags type) |
| |
| Qt::WindowFlags | windowFlags () const |
| |
| void | overrideWindowFlags (Qt::WindowFlags type) |
| |
| Qt::WindowType | windowType () const |
| |
| QWidget * | childAt (int x, int y) const |
| |
| QWidget * | childAt (const QPoint &p) const |
| |
| const QX11Info & | x11Info () const |
| |
| Qt::HANDLE | x11PictureHandle () const |
| |
| Qt::HANDLE | handle () const |
| |
| void | setAttribute (Qt::WidgetAttribute, bool on=true) |
| |
| bool | testAttribute (Qt::WidgetAttribute) const |
| |
| QPaintEngine * | paintEngine () const |
| |
| void | ensurePolished () const |
| |
| QInputContext * | inputContext () |
| |
| void | setInputContext (QInputContext *) |
| |
| bool | isAncestorOf (const QWidget *child) const |
| |
| bool | autoFillBackground () const |
| |
| void | setAutoFillBackground (bool enabled) |
| |
| void | setWindowSurface (QWindowSurface *surface) |
| |
| QWindowSurface * | windowSurface () const |
| |
| virtual QVariant | inputMethodQuery (Qt::InputMethodQuery) const |
| |
| Qt::InputMethodHints | inputMethodHints () const |
| |
| void | setInputMethodHints (Qt::InputMethodHints hints) |
| |
| Q_INVOKABLE | QObject (QObject *parent=0) |
| |
| virtual | ~QObject () |
| |
| QString | objectName () const |
| |
| void | setObjectName (const QString &name) |
| |
| bool | isWidgetType () const |
| |
| bool | signalsBlocked () const |
| |
| bool | blockSignals (bool b) |
| |
| QThread * | thread () const |
| |
| void | moveToThread (QThread *thread) |
| |
| int | startTimer (int interval) |
| |
| void | killTimer (int id) |
| |
| template<typename T > |
| T | findChild (const QString &aName=QString()) const |
| |
| template<typename T > |
| QList< T > | findChildren (const QString &aName=QString()) const |
| |
| template<typename T > |
| QList< T > | findChildren (const QRegExp &re) const |
| |
| const QObjectList & | children () const |
| |
| void | setParent (QObject *) |
| |
| void | installEventFilter (QObject *) |
| |
| void | removeEventFilter (QObject *) |
| |
| bool | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const |
| |
| bool | disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0) |
| |
| bool | disconnect (const QObject *receiver, const char *member=0) |
| |
| void | dumpObjectTree () |
| |
| void | dumpObjectInfo () |
| |
| bool | setProperty (const char *name, const QVariant &value) |
| |
| QVariant | property (const char *name) const |
| |
| QList< QByteArray > | dynamicPropertyNames () const |
| |
| void | setUserData (uint id, QObjectUserData *data) |
| |
| QObjectUserData * | userData (uint id) const |
| |
| QObject * | parent () const |
| |
| bool | inherits (const char *classname) const |
| |
| virtual | ~QPaintDevice () |
| |
| bool | paintingActive () const |
| |
| int | width () const |
| |
| int | height () const |
| |
| int | widthMM () const |
| |
| int | heightMM () const |
| |
| int | logicalDpiX () const |
| |
| int | logicalDpiY () const |
| |
| int | physicalDpiX () const |
| |
| int | physicalDpiY () const |
| |
| int | colorCount () const |
| |
| int | depth () const |
| |
|
| static StandardButton | information (QWidget *parent, const QString &title, const QString &text, StandardButtons buttons=Ok, StandardButton defaultButton=NoButton) |
| |
| static StandardButton | question (QWidget *parent, const QString &title, const QString &text, StandardButtons buttons=Ok, StandardButton defaultButton=NoButton) |
| |
| static StandardButton | warning (QWidget *parent, const QString &title, const QString &text, StandardButtons buttons=Ok, StandardButton defaultButton=NoButton) |
| |
| static StandardButton | critical (QWidget *parent, const QString &title, const QString &text, StandardButtons buttons=Ok, StandardButton defaultButton=NoButton) |
| |
| static void | about (QWidget *parent, const QString &title, const QString &text) |
| |
| static void | aboutQt (QWidget *parent, const QString &title=QString()) |
| |
| static int | information (QWidget *parent, const QString &title, const QString &text, int button0, int button1=0, int button2=0) |
| |
| static int | information (QWidget *parent, const QString &title, const QString &text, const QString &button0Text, const QString &button1Text=QString(), const QString &button2Text=QString(), int defaultButtonNumber=0, int escapeButtonNumber=-1) |
| |
| static StandardButton | information (QWidget *parent, const QString &title, const QString &text, StandardButton button0, StandardButton button1=NoButton) |
| |
| static int | question (QWidget *parent, const QString &title, const QString &text, int button0, int button1=0, int button2=0) |
| |
| static int | question (QWidget *parent, const QString &title, const QString &text, const QString &button0Text, const QString &button1Text=QString(), const QString &button2Text=QString(), int defaultButtonNumber=0, int escapeButtonNumber=-1) |
| |
| static int | question (QWidget *parent, const QString &title, const QString &text, StandardButton button0, StandardButton button1) |
| |
| static int | warning (QWidget *parent, const QString &title, const QString &text, int button0, int button1, int button2=0) |
| |
| static int | warning (QWidget *parent, const QString &title, const QString &text, const QString &button0Text, const QString &button1Text=QString(), const QString &button2Text=QString(), int defaultButtonNumber=0, int escapeButtonNumber=-1) |
| |
| static int | warning (QWidget *parent, const QString &title, const QString &text, StandardButton button0, StandardButton button1) |
| |
| static int | critical (QWidget *parent, const QString &title, const QString &text, int button0, int button1, int button2=0) |
| |
| static int | critical (QWidget *parent, const QString &title, const QString &text, const QString &button0Text, const QString &button1Text=QString(), const QString &button2Text=QString(), int defaultButtonNumber=0, int escapeButtonNumber=-1) |
| |
| static int | critical (QWidget *parent, const QString &title, const QString &text, StandardButton button0, StandardButton button1) |
| |
| static QPixmap | standardIcon (Icon icon) |
| |
| static void | setTabOrder (QWidget *, QWidget *) |
| |
| static QWidget * | mouseGrabber () |
| |
| static QWidget * | keyboardGrabber () |
| |
| static QWidget * | find (WId) |
| |
| static bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection) |
| |
| static bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection) |
| |
| static bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
| |
| static bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member) |
| |
| static uint | registerUserData () |
| |