|
| enum | DrawWidgetFlag {
DrawAsRoot = 0x01
, DrawPaintOnScreen = 0x02
, DrawRecursive = 0x04
, DrawInvisible = 0x08
,
DontSubtractOpaqueChildren = 0x10
, DontDrawOpaqueChildren = 0x20
, DontDrawNativeChildren = 0x40
, DontSetCompositionMode = 0x80
,
UseEffectRegionBounds = 0x100
} |
| |
| enum | Direction { DirectionNorth = 0x01
, DirectionEast = 0x10
, DirectionSouth = 0x02
, DirectionWest = 0x20
} |
| |
| enum class | WindowHandleMode { Direct
, Closest
, TopLevel
} |
| |
| enum | CloseMode { CloseNoEvent
, CloseWithEvent
, CloseWithSpontaneousEvent
} |
| |
| typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
| |
| using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
| |
| | QWidgetPrivate (int version=QObjectPrivateVersion) |
| |
| | ~QWidgetPrivate () |
| |
| QWExtra * | extraData () const |
| |
| QTLWExtra * | topData () const |
| |
| QTLWExtra * | maybeTopData () const |
| |
| QPainter * | sharedPainter () const |
| |
| void | setSharedPainter (QPainter *painter) |
| |
| QWidgetRepaintManager * | maybeRepaintManager () const |
| |
| QWindow * | windowHandle (WindowHandleMode mode=WindowHandleMode::Direct) const |
| |
| QWindow * | _q_closestWindowHandle () const |
| |
| QScreen * | associatedScreen () const |
| |
| template<typename T > |
| void | repaint (T t) |
| |
| template<typename T > |
| void | update (T t) |
| |
| void | init (QWidget *desktopWidget, Qt::WindowFlags f) |
| |
| void | create () |
| |
| void | createRecursively () |
| |
| void | createWinId () |
| |
| bool | setScreenForPoint (const QPoint &pos) |
| |
| bool | setScreen (QScreen *screen) |
| |
| void | createTLExtra () |
| |
| void | createExtra () |
| |
| void | deleteExtra () |
| |
| void | createSysExtra () |
| |
| void | deleteSysExtra () |
| |
| void | createTLSysExtra () |
| |
| void | deleteTLSysExtra () |
| |
| void | updateSystemBackground () |
| |
| void | propagatePaletteChange () |
| |
| void | setPalette_helper (const QPalette &) |
| |
| void | resolvePalette () |
| |
| QPalette | naturalWidgetPalette (QPalette::ResolveMask inheritedMask) const |
| |
| void | setMask_sys (const QRegion &) |
| |
| void | raise_sys () |
| |
| void | lower_sys () |
| |
| void | stackUnder_sys (QWidget *) |
| |
| QWidget * | deepestFocusProxy () const |
| |
| void | setFocus_sys () |
| |
| void | updateFocusChild () |
| |
| void | updateFont (const QFont &) |
| |
| void | setFont_helper (const QFont &font) |
| |
| QFont | localFont () const |
| |
| void | resolveFont () |
| |
| QFont | naturalWidgetFont (uint inheritedMask) const |
| |
| void | setLayoutDirection_helper (Qt::LayoutDirection) |
| |
| void | resolveLayoutDirection () |
| |
| void | setLocale_helper (const QLocale &l, bool forceUpdate=false) |
| |
| void | resolveLocale () |
| |
| void | setStyle_helper (QStyle *newStyle, bool propagate) |
| |
| void | inheritStyle () |
| |
| void | setUpdatesEnabled_helper (bool) |
| |
| bool | updateBrushOrigin (QPainter *, const QBrush &brush) const |
| |
| void | paintBackground (QPainter *, const QRegion &, DrawWidgetFlags flags=DrawAsRoot) const |
| |
| bool | isAboutToShow () const |
| | The graphicsEffect function returns a pointer to the widget's graphics effect.
|
| |
| QRegion | prepareToRender (const QRegion ®ion, QWidget::RenderFlags renderFlags) |
| |
| void | render_helper (QPainter *painter, const QPoint &targetOffset, const QRegion &sourceRegion, QWidget::RenderFlags renderFlags) |
| |
| void | render (QPaintDevice *target, const QPoint &targetOffset, const QRegion &sourceRegion, QWidget::RenderFlags renderFlags) |
| |
| void | drawWidget (QPaintDevice *pdev, const QRegion &rgn, const QPoint &offset, DrawWidgetFlags flags, QPainter *sharedPainter=nullptr, QWidgetRepaintManager *repaintManager=nullptr) |
| |
| void | sendPaintEvent (const QRegion &toBePainted) |
| |
| void | paintSiblingsRecursive (QPaintDevice *pdev, const QObjectList &children, int index, const QRegion &rgn, const QPoint &offset, DrawWidgetFlags flags, QPainter *sharedPainter, QWidgetRepaintManager *repaintManager) |
| |
| bool | shouldPaintOnScreen () const |
| |
| void | paintOnScreen (const QRegion &rgn) |
| |
| QRect | clipRect () const |
| |
| QRegion | clipRegion () const |
| |
| void | setSystemClip (QPaintEngine *paintEngine, qreal devicePixelRatio, const QRegion ®ion) |
| |
| void | subtractOpaqueChildren (QRegion &rgn, const QRect &clipRect) const |
| |
| void | subtractOpaqueSiblings (QRegion &source, bool *hasDirtySiblingsAbove=nullptr, bool alsoNonOpaque=false) const |
| |
| void | clipToEffectiveMask (QRegion ®ion) const |
| |
| void | updateIsOpaque () |
| |
| void | setOpaque (bool opaque) |
| |
| void | updateIsTranslucent () |
| |
| const QRegion & | getOpaqueChildren () const |
| |
| void | setDirtyOpaqueRegion () |
| |
| bool | close () |
| |
| bool | handleClose (CloseMode mode) |
| |
| void | setWindowIcon_helper () |
| |
| void | setWindowIcon_sys () |
| |
| void | setWindowOpacity_sys (qreal opacity) |
| |
| void | adjustQuitOnCloseAttribute () |
| |
| void | scrollChildren (int dx, int dy) |
| |
| void | moveRect (const QRect &, int dx, int dy) |
| |
| void | scrollRect (const QRect &, int dx, int dy) |
| |
| void | invalidateBackingStore_resizeHelper (const QPoint &oldPos, const QSize &oldSize) |
| | Invalidates the backing store when the widget is resized.
|
| |
| template<class T > |
| void | invalidateBackingStore (const T &) |
| |
| QRegion | overlappedRegion (const QRect &rect, bool breakAfterFirst=false) const |
| |
| bool | isOverlapped (const QRect &rect) const |
| |
| void | syncBackingStore () |
| |
| void | syncBackingStore (const QRegion ®ion) |
| |
| bool | shouldDiscardSyncRequest () const |
| |
| void | updateWidgetTransform (QEvent *event) |
| |
| void | reparentFocusWidgets (QWidget *oldtlw) |
| |
| void | setWinId (WId) |
| |
| void | showChildren (bool spontaneous) |
| |
| void | hideChildren (bool spontaneous) |
| |
| void | setParent_sys (QWidget *parent, Qt::WindowFlags) |
| |
| void | scroll_sys (int dx, int dy) |
| |
| void | scroll_sys (int dx, int dy, const QRect &r) |
| |
| void | deactivateWidgetCleanup () |
| |
| void | setGeometry_sys (int, int, int, int, bool) |
| |
| void | fixPosIncludesFrame () |
| |
| void | sendPendingMoveAndResizeEvents (bool recursive=false, bool disableUpdates=false) |
| |
| void | activateChildLayoutsRecursively () |
| |
| void | show_recursive () |
| |
| void | show_helper () |
| |
| void | show_sys () |
| |
| void | hide_sys () |
| |
| void | hide_helper () |
| |
| void | _q_showIfNotHidden () |
| |
| void | setVisible (bool) |
| |
| void | setEnabled_helper (bool) |
| |
| void | updateFrameStrut () |
| |
| QRect | frameStrut () const |
| |
| void | setWindowIconText_sys (const QString &cap) |
| |
| void | setWindowIconText_helper (const QString &cap) |
| |
| void | setWindowTitle_sys (const QString &cap) |
| |
| void | setWindowFilePath_sys (const QString &filePath) |
| |
| void | setCursor_sys (const QCursor &cursor) |
| |
| void | unsetCursor_sys () |
| |
| void | setWindowTitle_helper (const QString &cap) |
| |
| void | setWindowFilePath_helper (const QString &filePath) |
| |
| void | setWindowModified_helper () |
| |
| virtual void | setWindowFlags (Qt::WindowFlags windowFlags) |
| |
| bool | setMinimumSize_helper (int &minw, int &minh) |
| |
| bool | setMaximumSize_helper (int &maxw, int &maxh) |
| |
| void | setConstraints_sys () |
| |
| bool | pointInsideRectAndMask (const QPoint &) const |
| |
| QWidget * | childAt_helper (const QPoint &, bool) const |
| |
| QWidget * | childAtRecursiveHelper (const QPoint &p, bool) const |
| |
| void | updateGeometry_helper (bool forceUpdate) |
| |
| void | getLayoutItemMargins (int *left, int *top, int *right, int *bottom) const |
| |
| void | setLayoutItemMargins (int left, int top, int right, int bottom) |
| |
| void | setLayoutItemMargins (QStyle::SubElement element, const QStyleOption *opt=nullptr) |
| |
| void | updateContentsRect () |
| |
| QMargins | safeAreaMargins () const |
| |
| virtual void | aboutToDestroy () |
| |
| QWidget * | effectiveFocusWidget () |
| |
| void | setModal_sys () |
| |
| void | setRedirected (QPaintDevice *replacement, const QPoint &offset) |
| |
| QPaintDevice * | redirected (QPoint *offset) const |
| |
| void | restoreRedirected () |
| |
| void | enforceNativeChildren () |
| |
| bool | nativeChildrenForced () const |
| |
| QRect | effectiveRectFor (const QRegion ®ion) const |
| |
| QRect | effectiveRectFor (const QRect &rect) const |
| |
| QSize | adjustedSize () const |
| |
| void | handleSoftwareInputPanel (Qt::MouseButton button, bool clickCausedFocus) |
| |
| void | handleSoftwareInputPanel (bool clickCausedFocus=false) |
| |
| void | setWSGeometry () |
| |
| QPoint | mapToWS (const QPoint &p) const |
| |
| QPoint | mapFromWS (const QPoint &p) const |
| |
| QRect | mapToWS (const QRect &r) const |
| |
| QRect | mapFromWS (const QRect &r) const |
| |
| virtual QObject * | focusObject () |
| |
| virtual QPlatformBackingStoreRhiConfig | rhiConfig () const |
| |
| virtual TextureData | texture () const |
| |
| virtual QPlatformTextureList::Flags | textureListFlags () |
| |
| virtual QImage | grabFramebuffer () |
| |
| virtual void | beginBackingStorePainting () |
| |
| virtual void | endBackingStorePainting () |
| |
| virtual void | beginCompose () |
| |
| virtual void | endCompose () |
| |
| void | setRenderToTexture () |
| |
| void | setTextureChildSeen () |
| |
| virtual void | initializeViewportFramebuffer () |
| |
| virtual void | resizeViewportFramebuffer () |
| |
| virtual void | resolveSamples () |
| |
| virtual bool | isStereoEnabled () |
| |
| virtual bool | toggleStereoTargetBuffer () |
| |
| std::string | flagsForDumping () const override |
| |
| void | setNetWmWindowTypes (bool skipIfMissing=false) |
| |
| bool | stealKeyboardGrab (bool grab) |
| |
| bool | stealMouseGrab (bool grab) |
| |
| void | ensureExtraData () |
| |
| | QObjectPrivate (int version=QObjectPrivateVersion) |
| |
| virtual | ~QObjectPrivate () |
| |
| void | deleteChildren () |
| |
| void | clearBindingStorage () |
| |
| void | checkForIncompatibleLibraryVersion (int version) const |
| |
| void | setParent_helper (QObject *) |
| |
| void | moveToThread_helper () |
| |
| void | setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status) |
| |
| void | _q_reregisterTimers (void *pointer) |
| |
| bool | isSender (const QObject *receiver, const char *signal) const |
| |
| QObjectList | receiverList (const char *signal) const |
| |
| QObjectList | senderList () const |
| |
| void | ensureConnectionData () |
| |
| void | addConnection (int signal, Connection *c) |
| |
| int | signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const |
| |
| bool | isSignalConnected (uint signalIdx, bool checkDeclarative=true) const |
| |
| bool | maybeSignalConnected (uint signalIndex) const |
| |
| bool | isDeclarativeSignalConnected (uint signalIdx) const |
| |
| void | connectNotify (const QMetaMethod &signal) |
| |
| void | disconnectNotify (const QMetaMethod &signal) |
| |
| void | reinitBindingStorageAfterThreadMove () |
| |
| virtual std::string | flagsForDumping () const |
| |
| QtPrivate::QPropertyAdaptorSlotObject * | getPropertyAdaptorSlotObject (const QMetaProperty &property) |
| |
| | QObjectData ()=default |
| |
| virtual | ~QObjectData ()=0 |
| |
| QMetaObject * | dynamicMetaObject () const |
| |
| static QWidgetPrivate * | get (QWidget *w) |
| |
| static const QWidgetPrivate * | get (const QWidget *w) |
| |
| static void | checkRestoredGeometry (const QRect &availableGeometry, QRect *restoredGeometry, int frameHeight) |
| |
| static void | adjustFlags (Qt::WindowFlags &flags, QWidget *w=nullptr) |
| |
| static QWidget * | parentGraphicsView (const QWidget *widget) |
| |
| static QRect | screenGeometry (const QWidget *widget) |
| |
| static QRect | availableScreenGeometry (const QWidget *widget) |
| |
| static QScreen * | screen (const QWidget *widget, const QPoint &globalPosition, bool hasPosition=true) |
| |
| static QRect | screenGeometry (const QWidget *widget, const QPoint &globalPosition, bool hasPosition=true) |
| |
| static QRect | availableScreenGeometry (const QWidget *widget, const QPoint &globalPosition, bool hasPosition=true) |
| |
| static void | sendComposeStatus (QWidget *w, bool end) |
| |
| static void | setWidgetParentHelper (QObject *widgetAsObject, QObject *newParent) |
| |
| static bool | removeConnection (Connection *c) |
| |
| static QObjectPrivate * | get (QObject *o) |
| |
| static const QObjectPrivate * | get (const QObject *o) |
| |
| template<typename Func1 , typename Func2 > |
| static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
| |
| template<typename Func1 , typename Func2 > |
| static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
| |
| static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
| |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
| |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
| |
| static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
| |
| static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
| |
| static QWidgetMapper * | mapper = nullptr |
| |
| static QWidgetSet * | allWidgets = nullptr |
| |
| static int | instanceCounter = 0 |
| |
| static int | maxInstances = 0 |
| |