QtBase  v6.3.1
Public Slots | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | List of all members
Widget Class Reference

#include <widget.h>

Inheritance diagram for Widget:
Inheritance graph
[legend]
Collaboration diagram for Widget:
Collaboration graph
[legend]

Public Slots

void animate ()
 [0] More...
 
void switchToFullScreen ()
 
void switchToNormalScreen ()
 
void addMenuBar ()
 
void removeMenuBar ()
 
void setFontPointSize (int value)
 
void setIndentWidth (int value)
 
- Public Slots inherited from QWidget
void setEnabled (bool)
 
void setDisabled (bool)
 
void setWindowModified (bool)
 
void setWindowTitle (const QString &)
 
void setStyleSheet (const QString &styleSheet)
 
void setFocus ()
 
void update ()
 
void repaint ()
 
virtual void setVisible (bool visible)
 
void setHidden (bool hidden)
 
void show ()
 
void hide ()
 
void showMinimized ()
 
void showMaximized ()
 
void showFullScreen ()
 
void showNormal ()
 
bool close ()
 
void raise ()
 
void lower ()
 
- Public Slots inherited from QObject
void deleteLater ()
 
- Public Slots inherited from QGraphicsWidget
bool close ()
 

Public Member Functions

 Widget (Helper *helper, QWidget *parent)
 [0] More...
 
 Widget (QWidget *parent=nullptr)
 
 Widget (const QColor &color, const QColor &textColor, const QString &caption, QGraphicsItem *parent=nullptr)
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *=nullptr) override
 
 Widget (QWidget *parent=nullptr)
 
 Widget (QWidget *parent=nullptr)
 
void constCharPointer ()
 
void constCharArray ()
 
void characterReference ()
 
void atFunction ()
 
void stringLiteral ()
 
void modify ()
 
void index ()
 
QString boolToString (bool b)
 [7] More...
 
void nullVsEmpty ()
 [7] More...
 
void appendFunction ()
 
void argFunction ()
 
void chopFunction ()
 
void compareFunction ()
 
void compareSensitiveFunction ()
 
void containsFunction ()
 
void countFunction ()
 
void dataFunction ()
 
void endsWithFunction ()
 
void fillFunction ()
 
void fromRawDataFunction ()
 
void indexOfFunction ()
 
void firstIndexOfFunction ()
 
void insertFunction ()
 
void isNullFunction ()
 
void isEmptyFunction ()
 
void lastIndexOfFunction ()
 
void firstFunction ()
 
void leftJustifiedFunction ()
 
void slicedFunction ()
 
void numberFunction ()
 
void prependFunction ()
 
void removeFunction ()
 
void replaceFunction ()
 
void reserveFunction ()
 
void resizeFunction ()
 
void lastFunction ()
 
void rightJustifiedFunction ()
 
void sectionFunction ()
 
void setNumFunction ()
 
void simplifiedFunction ()
 
void sizeFunction ()
 
void splitFunction ()
 
void splitCaseSensitiveFunction ()
 
void sprintfFunction ()
 
void startsWithFunction ()
 
void toDoubleFunction ()
 
void toFloatFunction ()
 
void toIntFunction ()
 
void toLongFunction ()
 
void toLongLongFunction ()
 
void toLowerFunction ()
 
void toShortFunction ()
 
void toUIntFunction ()
 
void toULongFunction ()
 
void toULongLongFunction ()
 
void toUShortFunction ()
 
void toUpperFunction ()
 
void trimmedFunction ()
 
void truncateFunction ()
 
void plusEqualOperator ()
 
void arrayOperator ()
 
 Widget (QWidget *parent=nullptr)
 
 Widget (QWidget *parent=nullptr)
 
 Widget (QWidget *parent=nullptr)
 
 Widget (QWidget *parent=nullptr)
 
 Widget ()
 
 Widget (QWidget *parent=nullptr)
 
void showDelayedToolTip (int msecs)
 
 Widget ()
 
void actionEvent (QActionEvent *) override
 
void changeEvent (QEvent *) override
 
void closeEvent (QCloseEvent *) override
 
void hideEvent (QHideEvent *) override
 
void focusOutEvent (QFocusEvent *) override
 
void keyPressEvent (QKeyEvent *) override
 
void keyReleaseEvent (QKeyEvent *) override
 
void mouseDoubleClickEvent (QMouseEvent *) override
 
void mousePressEvent (QMouseEvent *) override
 [0] More...
 
void mouseReleaseEvent (QMouseEvent *) override
 
void mouseMoveEvent (QMouseEvent *) override
 
 Widget (QWidget *parent=nullptr)
 
 ~Widget ()
 
 Widget (QWidget *parent=nullptr)
 
 ~Widget ()
 
 Widget (QWidget *parent=nullptr)
 
 ~Widget ()
 
 Widget (QWidget *parent=nullptr)
 
 ~Widget ()
 
 Widget ()
 
 Widget (QWidget *parent=nullptr)
 
 Widget (Qt::WindowFlags flags)
 
void paintEvent (QPaintEvent *)
 
void mousePressEvent (QMouseEvent *)
 
- Public Member Functions inherited from QWidget
 QWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 
 ~QWidget ()
 
int devType () const override
 
WId winId () const
 
void createWinId ()
 
WId internalWinId () const
 
WId effectiveWinId () const
 
QStylestyle () const
 
void setStyle (QStyle *)
 
bool isWindow () const
 
bool isModal () const
 
Qt::WindowModality windowModality () const
 
void setWindowModality (Qt::WindowModality windowModality)
 
bool isEnabled () const
 
bool isEnabledTo (const QWidget *) const
 
QRect frameGeometry () const
 
const QRectgeometry () 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)
 
QPointF mapToGlobal (const QPointF &) const
 
QPoint mapToGlobal (const QPoint &) const
 
QPointF mapFromGlobal (const QPointF &) const
 
QPoint mapFromGlobal (const QPoint &) const
 
QPointF mapToParent (const QPointF &) const
 
QPoint mapToParent (const QPoint &) const
 
QPointF mapFromParent (const QPointF &) const
 
QPoint mapFromParent (const QPoint &) const
 
QPointF mapTo (const QWidget *, const QPointF &) const
 
QPoint mapTo (const QWidget *, const QPoint &) const
 
QPointF mapFrom (const QWidget *, const QPointF &) const
 
QPoint mapFrom (const QWidget *, const QPoint &) const
 
QWidgetwindow () const
 
QWidgetnativeParentWidget () const
 
QWidgettopLevelWidget () const
 
const QPalettepalette () const
 
void setPalette (const QPalette &)
 
void setBackgroundRole (QPalette::ColorRole)
 
QPalette::ColorRole backgroundRole () const
 
void setForegroundRole (QPalette::ColorRole)
 
QPalette::ColorRole foregroundRole () const
 
const QFontfont () 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 setTabletTracking (bool enable)
 
bool hasTabletTracking () 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))
 
Q_INVOKABLE QPixmap grab (const QRect &rectangle=QRect(QPoint(0, 0), QSize(-1, -1)))
 
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
 
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 *)
 
QWidgetfocusProxy () 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)
 
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 (const 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)
 
virtual QSize sizeHint () const
 
virtual QSize minimumSizeHint () const
 
QSizePolicy sizePolicy () const
 
void setSizePolicy (QSizePolicy)
 
void setSizePolicy (QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical)
 
virtual int heightForWidth (int) const
 
virtual bool hasHeightForWidth () const
 
QRegion visibleRegion () const
 
void setContentsMargins (int left, int top, int right, int bottom)
 
void setContentsMargins (const QMargins &margins)
 The setContentsMargins function sets the margins around the widget's contents. More...
 
QMargins contentsMargins () const
 The contentsMargins function returns the widget's contents margins. More...
 
QRect contentsRect () const
 
QLayoutlayout () 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 &)
 
QWidgetfocusWidget () const
 
QWidgetnextInFocusChain () const
 
QWidgetpreviousInFocusChain () const
 The previousInFocusChain function returns the previous widget in this widget's focus chain. More...
 
bool acceptDrops () const
 
void setAcceptDrops (bool on)
 
void addAction (QAction *action)
 
void addActions (const QList< QAction * > &actions)
 
void insertActions (QAction *before, const QList< QAction * > &actions)
 
void insertAction (QAction *before, QAction *action)
 
void removeAction (QAction *action)
 
QList< QAction * > actions () const
 
QActionaddAction (const QString &text)
 
QActionaddAction (const QIcon &icon, const QString &text)
 
QActionaddAction (const QString &text, const QObject *receiver, const char *member, Qt::ConnectionType type=Qt::AutoConnection)
 
QActionaddAction (const QIcon &icon, const QString &text, const QObject *receiver, const char *member, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename... Args, typename = compatible_action_slot_args<Args...>>
QActionaddAction (const QString &text, Args &&...args)
 
template<typename... Args, typename = compatible_action_slot_args<Args...>>
QActionaddAction (const QIcon &icon, const QString &text, Args &&...args)
 
QWidgetparentWidget () const
 
void setWindowFlags (Qt::WindowFlags type)
 
Qt::WindowFlags windowFlags () const
 
void setWindowFlag (Qt::WindowType, bool on=true)
 
void overrideWindowFlags (Qt::WindowFlags type)
 
Qt::WindowType windowType () const
 
QWidgetchildAt (int x, int y) const
 
QWidgetchildAt (const QPoint &p) const
 
void setAttribute (Qt::WidgetAttribute, bool on=true)
 
bool testAttribute (Qt::WidgetAttribute) const
 
QPaintEnginepaintEngine () const override
 
void ensurePolished () const
 
bool isAncestorOf (const QWidget *child) const
 
bool autoFillBackground () const
 
void setAutoFillBackground (bool enabled)
 
QBackingStorebackingStore () const
 
QWindowwindowHandle () const
 
QScreenscreen () const
 
void setScreen (QScreen *)
 
virtual QVariant inputMethodQuery (Qt::InputMethodQuery) const
 
Qt::InputMethodHints inputMethodHints () const
 
void setInputMethodHints (Qt::InputMethodHints hints)
 
- Public Member Functions inherited from QObject
Q_INVOKABLE QObject (QObject *parent=nullptr)
 
virtual ~QObject ()
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
QString objectName () const
 
void setObjectName (const QString &name)
 
QBindable< QStringbindableObjectName ()
 
bool isWidgetType () const
 
bool isWindowType () const
 
bool signalsBlocked () const noexcept
 
bool blockSignals (bool b) noexcept
 
QThreadthread () const
 
void moveToThread (QThread *thread)
 
int startTimer (int interval, Qt::TimerType timerType=Qt::CoarseTimer)
 
void killTimer (int id)
 
template<typename T >
T findChild (const QString &aName=QString(), Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 
template<typename T >
QList< TfindChildren (const QString &aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 
template<typename T >
QList< TfindChildren (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 
const QObjectListchildren () const
 
void setParent (QObject *parent)
 
void installEventFilter (QObject *filterObj)
 
void removeEventFilter (QObject *obj)
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const
 
bool disconnect (const char *signal=nullptr, const QObject *receiver=nullptr, const char *member=nullptr) const
 
bool disconnect (const QObject *receiver, const char *member=nullptr) const
 
void dumpObjectTree () const
 
void dumpObjectInfo () const
 
bool setProperty (const char *name, const QVariant &value)
 
QVariant property (const char *name) const
 
QList< QByteArraydynamicPropertyNames () const
 
QBindingStoragebindingStorage ()
 
const QBindingStoragebindingStorage () const
 
QObjectparent () const
 
bool inherits (const char *classname) const
 
- Public Member Functions inherited from QPaintDevice
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
 
qreal devicePixelRatio () const
 
qreal devicePixelRatioF () const
 
int colorCount () const
 
int depth () const
 
- Public Member Functions inherited from QGraphicsWidget
 QGraphicsWidget (QGraphicsItem *parent=nullptr, Qt::WindowFlags wFlags=Qt::WindowFlags())
 
 ~QGraphicsWidget ()
 
QGraphicsLayoutlayout () const
 
void setLayout (QGraphicsLayout *layout)
 
void adjustSize ()
 
Qt::LayoutDirection layoutDirection () const
 
void setLayoutDirection (Qt::LayoutDirection direction)
 
void unsetLayoutDirection ()
 
QStylestyle () const
 
void setStyle (QStyle *style)
 
QFont font () const
 
void setFont (const QFont &font)
 
QPalette palette () const
 
void setPalette (const QPalette &palette)
 
bool autoFillBackground () const
 
void setAutoFillBackground (bool enabled)
 
void resize (const QSizeF &size)
 
void resize (qreal w, qreal h)
 
QSizeF size () const
 
void setGeometry (const QRectF &rect) override
 
void setGeometry (qreal x, qreal y, qreal w, qreal h)
 
QRectF rect () const
 
void setContentsMargins (qreal left, qreal top, qreal right, qreal bottom)
 
void setContentsMargins (QMarginsF margins)
 
void getContentsMargins (qreal *left, qreal *top, qreal *right, qreal *bottom) const override
 
void setWindowFrameMargins (qreal left, qreal top, qreal right, qreal bottom)
 
void setWindowFrameMargins (QMarginsF margins)
 
void getWindowFrameMargins (qreal *left, qreal *top, qreal *right, qreal *bottom) const
 
void unsetWindowFrameMargins ()
 
QRectF windowFrameGeometry () const
 
QRectF windowFrameRect () const
 
Qt::WindowFlags windowFlags () const
 
Qt::WindowType windowType () const
 
void setWindowFlags (Qt::WindowFlags wFlags)
 
bool isActiveWindow () const
 
void setWindowTitle (const QString &title)
 
QString windowTitle () const
 
Qt::FocusPolicy focusPolicy () const
 
void setFocusPolicy (Qt::FocusPolicy policy)
 
QGraphicsWidgetfocusWidget () const
 
int grabShortcut (const QKeySequence &sequence, Qt::ShortcutContext context=Qt::WindowShortcut)
 
void releaseShortcut (int id)
 
void setShortcutEnabled (int id, bool enabled=true)
 
void setShortcutAutoRepeat (int id, bool enabled=true)
 
void addAction (QAction *action)
 
void addActions (const QList< QAction * > &actions)
 
void insertActions (QAction *before, const QList< QAction * > &actions)
 
void insertAction (QAction *before, QAction *action)
 
void removeAction (QAction *action)
 
QList< QAction * > actions () const
 
void setAttribute (Qt::WidgetAttribute attribute, bool on=true)
 
bool testAttribute (Qt::WidgetAttribute attribute) const
 
int type () const override
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) override
 
virtual void paintWindowFrame (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr)
 
QRectF boundingRect () const override
 
QPainterPath shape () const override
 
const QObjectListchildren () const
 
- Public Member Functions inherited from QGraphicsItem
 QGraphicsItem (QGraphicsItem *parent=nullptr)
 
virtual ~QGraphicsItem ()
 
QGraphicsScenescene () const
 
QGraphicsItemparentItem () const
 
QGraphicsItemtopLevelItem () const
 
QGraphicsObjectparentObject () const
 
QGraphicsWidgetparentWidget () const
 
QGraphicsWidgettopLevelWidget () const
 
QGraphicsWidgetwindow () const
 
QGraphicsItempanel () const
 
void setParentItem (QGraphicsItem *parent)
 
QList< QGraphicsItem * > childItems () const
 
bool isWidget () const
 
bool isWindow () const
 
bool isPanel () const
 
QGraphicsObjecttoGraphicsObject ()
 
const QGraphicsObjecttoGraphicsObject () const
 
QGraphicsItemGroupgroup () const
 
void setGroup (QGraphicsItemGroup *group)
 
GraphicsItemFlags flags () const
 
void setFlag (GraphicsItemFlag flag, bool enabled=true)
 
void setFlags (GraphicsItemFlags flags)
 
CacheMode cacheMode () const
 
void setCacheMode (CacheMode mode, const QSize &cacheSize=QSize())
 
PanelModality panelModality () const
 
void setPanelModality (PanelModality panelModality)
 
bool isBlockedByModalPanel (QGraphicsItem **blockingPanel=nullptr) const
 
QCursor cursor () const
 
void setCursor (const QCursor &cursor)
 
bool hasCursor () const
 
void unsetCursor ()
 
bool isVisible () const
 
bool isVisibleTo (const QGraphicsItem *parent) const
 
void setVisible (bool visible)
 
void hide ()
 
void show ()
 
bool isEnabled () const
 
void setEnabled (bool enabled)
 
bool isSelected () const
 
void setSelected (bool selected)
 
bool acceptDrops () const
 
void setAcceptDrops (bool on)
 
qreal opacity () const
 
qreal effectiveOpacity () const
 
void setOpacity (qreal opacity)
 
Qt::MouseButtons acceptedMouseButtons () const
 
void setAcceptedMouseButtons (Qt::MouseButtons buttons)
 
bool acceptHoverEvents () const
 
void setAcceptHoverEvents (bool enabled)
 
bool acceptTouchEvents () const
 
void setAcceptTouchEvents (bool enabled)
 
bool filtersChildEvents () const
 
void setFiltersChildEvents (bool enabled)
 
bool handlesChildEvents () const
 
void setHandlesChildEvents (bool enabled)
 
bool isActive () const
 
void setActive (bool active)
 
bool hasFocus () const
 
void setFocus (Qt::FocusReason focusReason=Qt::OtherFocusReason)
 
void clearFocus ()
 
QGraphicsItemfocusProxy () const
 
void setFocusProxy (QGraphicsItem *item)
 
QGraphicsItemfocusItem () const
 
QGraphicsItemfocusScopeItem () const
 
void grabMouse ()
 
void ungrabMouse ()
 
void grabKeyboard ()
 
void ungrabKeyboard ()
 
QPointF pos () const
 
qreal x () const
 
void setX (qreal x)
 
qreal y () const
 
void setY (qreal y)
 
QPointF scenePos () const
 
void setPos (const QPointF &pos)
 
void setPos (qreal x, qreal y)
 
void moveBy (qreal dx, qreal dy)
 
void ensureVisible (const QRectF &rect=QRectF(), int xmargin=50, int ymargin=50)
 
void ensureVisible (qreal x, qreal y, qreal w, qreal h, int xmargin=50, int ymargin=50)
 
QTransform transform () const
 
QTransform sceneTransform () const
 
QTransform deviceTransform (const QTransform &viewportTransform) const
 
QTransform itemTransform (const QGraphicsItem *other, bool *ok=nullptr) const
 
void setTransform (const QTransform &matrix, bool combine=false)
 
void resetTransform ()
 
void setRotation (qreal angle)
 
qreal rotation () const
 
void setScale (qreal scale)
 
qreal scale () const
 
QList< QGraphicsTransform * > transformations () const
 
void setTransformations (const QList< QGraphicsTransform * > &transformations)
 
QPointF transformOriginPoint () const
 
void setTransformOriginPoint (const QPointF &origin)
 
void setTransformOriginPoint (qreal ax, qreal ay)
 
virtual void advance (int phase)
 
qreal zValue () const
 
void setZValue (qreal z)
 
void stackBefore (const QGraphicsItem *sibling)
 
QRectF childrenBoundingRect () const
 
QRectF sceneBoundingRect () const
 
bool isClipped () const
 
QPainterPath clipPath () const
 
virtual bool contains (const QPointF &point) const
 
virtual bool collidesWithItem (const QGraphicsItem *other, Qt::ItemSelectionMode mode=Qt::IntersectsItemShape) const
 
virtual bool collidesWithPath (const QPainterPath &path, Qt::ItemSelectionMode mode=Qt::IntersectsItemShape) const
 
QList< QGraphicsItem * > collidingItems (Qt::ItemSelectionMode mode=Qt::IntersectsItemShape) const
 
bool isObscured (const QRectF &rect=QRectF()) const
 
bool isObscured (qreal x, qreal y, qreal w, qreal h) const
 
virtual bool isObscuredBy (const QGraphicsItem *item) const
 
virtual QPainterPath opaqueArea () const
 
QRegion boundingRegion (const QTransform &itemToDeviceTransform) const
 
qreal boundingRegionGranularity () const
 
void setBoundingRegionGranularity (qreal granularity)
 
void update (const QRectF &rect=QRectF())
 
void update (qreal x, qreal y, qreal width, qreal height)
 
void scroll (qreal dx, qreal dy, const QRectF &rect=QRectF())
 
QPointF mapToItem (const QGraphicsItem *item, const QPointF &point) const
 
QPointF mapToParent (const QPointF &point) const
 
QPointF mapToScene (const QPointF &point) const
 
QPolygonF mapToItem (const QGraphicsItem *item, const QRectF &rect) const
 
QPolygonF mapToParent (const QRectF &rect) const
 
QPolygonF mapToScene (const QRectF &rect) const
 
QRectF mapRectToItem (const QGraphicsItem *item, const QRectF &rect) const
 
QRectF mapRectToParent (const QRectF &rect) const
 
QRectF mapRectToScene (const QRectF &rect) const
 
QPolygonF mapToItem (const QGraphicsItem *item, const QPolygonF &polygon) const
 
QPolygonF mapToParent (const QPolygonF &polygon) const
 
QPolygonF mapToScene (const QPolygonF &polygon) const
 
QPainterPath mapToItem (const QGraphicsItem *item, const QPainterPath &path) const
 
QPainterPath mapToParent (const QPainterPath &path) const
 
QPainterPath mapToScene (const QPainterPath &path) const
 
QPointF mapFromItem (const QGraphicsItem *item, const QPointF &point) const
 
QPointF mapFromParent (const QPointF &point) const
 
QPointF mapFromScene (const QPointF &point) const
 
QPolygonF mapFromItem (const QGraphicsItem *item, const QRectF &rect) const
 
QPolygonF mapFromParent (const QRectF &rect) const
 
QPolygonF mapFromScene (const QRectF &rect) const
 
QRectF mapRectFromItem (const QGraphicsItem *item, const QRectF &rect) const
 
QRectF mapRectFromParent (const QRectF &rect) const
 
QRectF mapRectFromScene (const QRectF &rect) const
 
QPolygonF mapFromItem (const QGraphicsItem *item, const QPolygonF &polygon) const
 
QPolygonF mapFromParent (const QPolygonF &polygon) const
 
QPolygonF mapFromScene (const QPolygonF &polygon) const
 
QPainterPath mapFromItem (const QGraphicsItem *item, const QPainterPath &path) const
 
QPainterPath mapFromParent (const QPainterPath &path) const
 
QPainterPath mapFromScene (const QPainterPath &path) const
 
QPointF mapToItem (const QGraphicsItem *item, qreal x, qreal y) const
 
QPointF mapToParent (qreal x, qreal y) const
 
QPointF mapToScene (qreal x, qreal y) const
 
QPolygonF mapToItem (const QGraphicsItem *item, qreal x, qreal y, qreal w, qreal h) const
 
QPolygonF mapToParent (qreal x, qreal y, qreal w, qreal h) const
 
QPolygonF mapToScene (qreal x, qreal y, qreal w, qreal h) const
 
QRectF mapRectToItem (const QGraphicsItem *item, qreal x, qreal y, qreal w, qreal h) const
 
QRectF mapRectToParent (qreal x, qreal y, qreal w, qreal h) const
 
QRectF mapRectToScene (qreal x, qreal y, qreal w, qreal h) const
 
QPointF mapFromItem (const QGraphicsItem *item, qreal x, qreal y) const
 
QPointF mapFromParent (qreal x, qreal y) const
 
QPointF mapFromScene (qreal x, qreal y) const
 
QPolygonF mapFromItem (const QGraphicsItem *item, qreal x, qreal y, qreal w, qreal h) const
 
QPolygonF mapFromParent (qreal x, qreal y, qreal w, qreal h) const
 
QPolygonF mapFromScene (qreal x, qreal y, qreal w, qreal h) const
 
QRectF mapRectFromItem (const QGraphicsItem *item, qreal x, qreal y, qreal w, qreal h) const
 
QRectF mapRectFromParent (qreal x, qreal y, qreal w, qreal h) const
 
QRectF mapRectFromScene (qreal x, qreal y, qreal w, qreal h) const
 
bool isAncestorOf (const QGraphicsItem *child) const
 
QGraphicsItemcommonAncestorItem (const QGraphicsItem *other) const
 
bool isUnderMouse () const
 
QVariant data (int key) const
 
void setData (int key, const QVariant &value)
 
Qt::InputMethodHints inputMethodHints () const
 
void setInputMethodHints (Qt::InputMethodHints hints)
 
void installSceneEventFilter (QGraphicsItem *filterItem)
 
void removeSceneEventFilter (QGraphicsItem *filterItem)
 
- Public Member Functions inherited from QGraphicsLayoutItem
 QGraphicsLayoutItem (QGraphicsLayoutItem *parent=nullptr, bool isLayout=false)
 
virtual ~QGraphicsLayoutItem ()
 
void setSizePolicy (const QSizePolicy &policy)
 
void setSizePolicy (QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType=QSizePolicy::DefaultType)
 
QSizePolicy sizePolicy () const
 
void setMinimumSize (const QSizeF &size)
 
void setMinimumSize (qreal w, qreal h)
 
QSizeF minimumSize () const
 
void setMinimumWidth (qreal width)
 
qreal minimumWidth () const
 
void setMinimumHeight (qreal height)
 
qreal minimumHeight () const
 
void setPreferredSize (const QSizeF &size)
 
void setPreferredSize (qreal w, qreal h)
 
QSizeF preferredSize () const
 
void setPreferredWidth (qreal width)
 
qreal preferredWidth () const
 
void setPreferredHeight (qreal height)
 
qreal preferredHeight () const
 
void setMaximumSize (const QSizeF &size)
 
void setMaximumSize (qreal w, qreal h)
 
QSizeF maximumSize () const
 
void setMaximumWidth (qreal width)
 
qreal maximumWidth () const
 
void setMaximumHeight (qreal height)
 
qreal maximumHeight () const
 
QRectF geometry () const
 
QRectF contentsRect () const
 
QSizeF effectiveSizeHint (Qt::SizeHint which, const QSizeF &constraint=QSizeF()) const
 
virtual bool isEmpty () const
 
QGraphicsLayoutItemparentLayoutItem () const
 
void setParentLayoutItem (QGraphicsLayoutItem *parent)
 
bool isLayout () const
 
QGraphicsItemgraphicsItem () const
 
bool ownedByLayout () const
 
- Public Member Functions inherited from Ui_Widget
void setupUi (QWidget *Widget)
 
void retranslateUi (QWidget *Widget)
 

Static Public Member Functions

static QString toolTipText ()
 
- Static Public Member Functions inherited from QWidget
static void setTabOrder (QWidget *, QWidget *)
 
static QWidgetmouseGrabber ()
 
static QWidgetkeyboardGrabber ()
 
static QWidgetfind (WId)
 
static QWidgetcreateWindowContainer (QWindow *window, QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags())
 
- Static Public Member Functions inherited from QObject
static QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
 
static QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
static QMetaObject::Connection ::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 slot)
 
static QMetaObject::Connection ::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *context, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static std::enable_if< QtPrivate::FunctionPointer< Func2 >::ArgumentCount==-1 &&!std::is_convertible_v< Func2, const char * >, QMetaObject::Connection >::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 slot)
 
template<typename Func1 , typename Func2 >
static std::enable_if< QtPrivate::FunctionPointer< Func2 >::ArgumentCount==-1 &&!std::is_convertible_v< Func2, const char * >, QMetaObject::Connection >::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *context, Func2 slot, 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 bool disconnect (const QMetaObject::Connection &)
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot)
 
template<typename Func1 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *receiver, void **zero)
 
- Static Public Member Functions inherited from QPaintDevice
static qreal devicePixelRatioFScale ()
 
- Static Public Member Functions inherited from QGraphicsWidget
static void setTabOrder (QGraphicsWidget *first, QGraphicsWidget *second)
 

Public Attributes

bool deleteThis = false
 
QList< QEvent::Typeevents
 
- Public Attributes inherited from Ui_Widget
QVBoxLayoutverticalLayout
 
QSliderverticalSlider
 

Protected Slots

void on_rotate_valueChanged (int value)
 
void on_scale_valueChanged (int value)
 
void on_rotateItem_valueChanged (int value)
 
void on_scaleItem_valueChanged (int value)
 
void on_group_clicked ()
 
void on_dismantle_clicked ()
 
void on_merge_clicked ()
 
void onSceneSelectionChanged ()
 
void on_ungroup_clicked ()
 
void on_buttonGroup_buttonClicked ()
 
- Protected Slots inherited from QWidget
void updateMicroFocus (Qt::InputMethodQuery query=Qt::ImQueryAll)
 
- Protected Slots inherited from QGraphicsObject
void updateMicroFocus ()
 

Protected Member Functions

void paintEvent (QPaintEvent *event) override
 [1] More...
 
bool event (QEvent *ev) override
 
void changeEvent (QEvent *e)
 
- Protected Member Functions inherited from QWidget
virtual void focusInEvent (QFocusEvent *event)
 
virtual void enterEvent (QEnterEvent *event)
 
virtual void leaveEvent (QEvent *event)
 
virtual void moveEvent (QMoveEvent *event)
 
virtual void resizeEvent (QResizeEvent *event)
 
virtual void contextMenuEvent (QContextMenuEvent *event)
 
virtual void showEvent (QShowEvent *event)
 
virtual bool nativeEvent (const QByteArray &eventType, void *message, qintptr *result)
 
int metric (PaintDeviceMetric) const override
 
void initPainter (QPainter *painter) const override
 
QPaintDeviceredirected (QPoint *offset) const override
 
QPaintersharedPainter () const override
 
virtual void inputMethodEvent (QInputMethodEvent *)
 
void create (WId=0, bool initializeWindow=true, bool destroyOldWindow=true)
 
void destroy (bool destroyWindow=true, bool destroySubWindows=true)
 
virtual bool focusNextPrevChild (bool next)
 
bool focusNextChild ()
 
bool focusPreviousChild ()
 
 QWidget (QWidgetPrivate &d, QWidget *parent, Qt::WindowFlags f)
 
- Protected Member Functions inherited from QObject
QObjectsender () const
 
int senderSignalIndex () const
 
int receivers (const char *signal) const
 
bool isSignalConnected (const QMetaMethod &signal) const
 
virtual void timerEvent (QTimerEvent *event)
 
virtual void childEvent (QChildEvent *event)
 
virtual void customEvent (QEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
 QObject (QObjectPrivate &dd, QObject *parent=nullptr)
 
- Protected Member Functions inherited from QPaintDevice
 QPaintDevice () noexcept
 
- Protected Member Functions inherited from QGraphicsWidget
virtual void initStyleOption (QStyleOption *option) const
 
QSizeF sizeHint (Qt::SizeHint which, const QSizeF &constraint=QSizeF()) const override
 
void updateGeometry () override
 
QVariant itemChange (GraphicsItemChange change, const QVariant &value) override
 
virtual QVariant propertyChange (const QString &propertyName, const QVariant &value)
 
bool sceneEvent (QEvent *event) override
 
virtual bool windowFrameEvent (QEvent *e)
 
virtual Qt::WindowFrameSection windowFrameSectionAt (const QPointF &pos) const
 
void focusInEvent (QFocusEvent *event) override
 
virtual bool focusNextPrevChild (bool next)
 
virtual void moveEvent (QGraphicsSceneMoveEvent *event)
 
virtual void polishEvent ()
 
virtual void resizeEvent (QGraphicsSceneResizeEvent *event)
 
virtual void showEvent (QShowEvent *event)
 
virtual void hoverMoveEvent (QGraphicsSceneHoverEvent *event) override
 
virtual void hoverLeaveEvent (QGraphicsSceneHoverEvent *event) override
 
virtual void grabMouseEvent (QEvent *event)
 
virtual void ungrabMouseEvent (QEvent *event)
 
virtual void grabKeyboardEvent (QEvent *event)
 
virtual void ungrabKeyboardEvent (QEvent *event)
 
 QGraphicsWidget (QGraphicsWidgetPrivate &, QGraphicsItem *parent, Qt::WindowFlags wFlags=Qt::WindowFlags())
 
- Protected Member Functions inherited from QGraphicsObject
 QGraphicsObject (QGraphicsItemPrivate &dd, QGraphicsItem *parent)
 
- Protected Member Functions inherited from QGraphicsItem
void updateMicroFocus ()
 
virtual bool sceneEventFilter (QGraphicsItem *watched, QEvent *event)
 
virtual void contextMenuEvent (QGraphicsSceneContextMenuEvent *event)
 
virtual void dragEnterEvent (QGraphicsSceneDragDropEvent *event)
 
virtual void dragLeaveEvent (QGraphicsSceneDragDropEvent *event)
 
virtual void dragMoveEvent (QGraphicsSceneDragDropEvent *event)
 
virtual void dropEvent (QGraphicsSceneDragDropEvent *event)
 
virtual void hoverEnterEvent (QGraphicsSceneHoverEvent *event)
 
virtual void mousePressEvent (QGraphicsSceneMouseEvent *event)
 
virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *event)
 
virtual void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)
 
virtual void mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event)
 
virtual void wheelEvent (QGraphicsSceneWheelEvent *event)
 
virtual void inputMethodEvent (QInputMethodEvent *event)
 
virtual QVariant inputMethodQuery (Qt::InputMethodQuery query) const
 
virtual bool supportsExtension (Extension extension) const
 
virtual void setExtension (Extension extension, const QVariant &variant)
 
virtual QVariant extension (const QVariant &variant) const
 
 QGraphicsItem (QGraphicsItemPrivate &dd, QGraphicsItem *parent)
 
void addToIndex ()
 
void removeFromIndex ()
 
void prepareGeometryChange ()
 
- Protected Member Functions inherited from QGraphicsLayoutItem
void setGraphicsItem (QGraphicsItem *item)
 
void setOwnedByLayout (bool ownedByLayout)
 
 QGraphicsLayoutItem (QGraphicsLayoutItemPrivate &dd)
 

Additional Inherited Members

- Public Types inherited from QWidget
enum  RenderFlag { DrawWindowBackground = 0x1 , DrawChildren = 0x2 , IgnoreMask = 0x4 }
 
- Public Types inherited from QPaintDevice
enum  PaintDeviceMetric {
  PdmWidth = 1 , PdmHeight , PdmWidthMM , PdmHeightMM ,
  PdmNumColors , PdmDepth , PdmDpiX , PdmDpiY ,
  PdmPhysicalDpiX , PdmPhysicalDpiY , PdmDevicePixelRatio , PdmDevicePixelRatioScaled
}
 
- Public Types inherited from QGraphicsWidget
enum  { Type = 11 }
 
- Public Types inherited from QGraphicsItem
enum  GraphicsItemFlag {
  ItemIsMovable = 0x1 , ItemIsSelectable = 0x2 , ItemIsFocusable = 0x4 , ItemClipsToShape = 0x8 ,
  ItemClipsChildrenToShape = 0x10 , ItemIgnoresTransformations = 0x20 , ItemIgnoresParentOpacity = 0x40 , ItemDoesntPropagateOpacityToChildren = 0x80 ,
  ItemStacksBehindParent = 0x100 , ItemUsesExtendedStyleOption = 0x200 , ItemHasNoContents = 0x400 , ItemSendsGeometryChanges = 0x800 ,
  ItemAcceptsInputMethod = 0x1000 , ItemNegativeZStacksBehindParent = 0x2000 , ItemIsPanel = 0x4000 , ItemIsFocusScope = 0x8000 ,
  ItemSendsScenePositionChanges = 0x10000 , ItemStopsClickFocusPropagation = 0x20000 , ItemStopsFocusHandling = 0x40000 , ItemContainsChildrenInShape = 0x80000
}
 
enum  GraphicsItemChange {
  ItemPositionChange , ItemVisibleChange = 2 , ItemEnabledChange , ItemSelectedChange ,
  ItemParentChange , ItemChildAddedChange , ItemChildRemovedChange , ItemTransformChange ,
  ItemPositionHasChanged , ItemTransformHasChanged , ItemSceneChange , ItemVisibleHasChanged ,
  ItemEnabledHasChanged , ItemSelectedHasChanged , ItemParentHasChanged , ItemSceneHasChanged ,
  ItemCursorChange , ItemCursorHasChanged , ItemToolTipChange , ItemToolTipHasChanged ,
  ItemFlagsChange , ItemFlagsHaveChanged , ItemZValueChange , ItemZValueHasChanged ,
  ItemOpacityChange , ItemOpacityHasChanged , ItemScenePositionHasChanged , ItemRotationChange ,
  ItemRotationHasChanged , ItemScaleChange , ItemScaleHasChanged , ItemTransformOriginPointChange ,
  ItemTransformOriginPointHasChanged
}
 
enum  CacheMode { NoCache , ItemCoordinateCache , DeviceCoordinateCache }
 
enum  PanelModality { NonModal , PanelModal , SceneModal }
 
enum  { Type = 1 , UserType = 65536 }
 
- Signals inherited from QWidget
void windowTitleChanged (const QString &title)
 
void windowIconChanged (const QIcon &icon)
 
void windowIconTextChanged (const QString &iconText)
 
void customContextMenuRequested (const QPoint &pos)
 
- Signals inherited from QObject
void destroyed (QObject *=nullptr)
 
void objectNameChanged (const QString &objectName, QPrivateSignal)
 
- Signals inherited from QGraphicsWidget
void geometryChanged ()
 
void layoutChanged ()
 
- Signals inherited from QGraphicsObject
void parentChanged ()
 
void opacityChanged ()
 
void visibleChanged ()
 
void enabledChanged ()
 
void xChanged ()
 
void yChanged ()
 
void zChanged ()
 
void rotationChanged ()
 
void scaleChanged ()
 
void childrenChanged ()
 
void widthChanged ()
 
void heightChanged ()
 
- Protected Types inherited from QGraphicsItem
enum  Extension { UserExtension = 0x80000000 }
 
- Protected Attributes inherited from QObject
QScopedPointer< QObjectDatad_ptr
 
- Protected Attributes inherited from QPaintDevice
ushort painters
 
- Protected Attributes inherited from QGraphicsItem
QScopedPointer< QGraphicsItemPrivated_ptr
 
- Protected Attributes inherited from QGraphicsLayoutItem
QScopedPointer< QGraphicsLayoutItemPrivated_ptr
 
- Properties inherited from QWidget
bool modal
 whether the widget is a modal widget More...
 
Qt::WindowModality windowModality
 which windows are blocked by the modal widget More...
 
bool enabled
 whether the widget is enabled More...
 
QRect geometry
 the geometry of the widget relative to its parent and excluding the window frame More...
 
QRect frameGeometry
 geometry of the widget relative to its parent including any window frame More...
 
QRect normalGeometry
 the geometry of the widget as it will appear when shown as a normal (not maximized or full screen) top-level widget More...
 
int x
 the x coordinate of the widget relative to its parent including any window frame More...
 
int y
 the y coordinate of the widget relative to its parent and including any window frame More...
 
QPoint pos
 the position of the widget within its parent widget More...
 
QSize frameSize
 the size of the widget including any window frame More...
 
QSize size
 the size of the widget excluding any window frame More...
 
int width
 the width of the widget excluding any window frame More...
 
int height
 the height of the widget excluding any window frame More...
 
QRect rect
 the internal geometry of the widget excluding any window frame More...
 
QRect childrenRect
 the bounding rectangle of the widget's children More...
 
QRegion childrenRegion
 the combined region occupied by the widget's children More...
 
QSizePolicy sizePolicy
 the default layout behavior of the widget More...
 
QSize minimumSize
 the widget's minimum size More...
 
QSize maximumSize
 the widget's maximum size in pixels More...
 
int minimumWidth
 the widget's minimum width in pixels More...
 
int minimumHeight
 the widget's minimum height in pixels More...
 
int maximumWidth
 the widget's maximum width in pixels More...
 
int maximumHeight
 the widget's maximum height in pixels More...
 
QSize sizeIncrement
 the size increment of the widget More...
 
QSize baseSize
 the base size of the widget More...
 
QPalette palette
 the widget's palette More...
 
QFont font
 the font currently set for the widget More...
 
QCursor cursor
 the cursor shape for this widget More...
 
bool mouseTracking
 whether mouse tracking is enabled for the widget More...
 
bool tabletTracking
 whether tablet tracking is enabled for the widget More...
 
bool isActiveWindow
 whether this widget's window is the active window More...
 
Qt::FocusPolicy focusPolicy
 the way the widget accepts keyboard focus More...
 
bool focus
 whether this widget (or its focus proxy) has the keyboard input focus More...
 
Qt::ContextMenuPolicy contextMenuPolicy
 how the widget shows a context menu More...
 
bool updatesEnabled
 whether updates are enabled More...
 
bool visible
 whether the widget is visible More...
 
bool minimized
 whether this widget is minimized (iconified) More...
 
bool maximized
 whether this widget is maximized More...
 
bool fullScreen
 whether the widget is shown in full screen mode More...
 
QSize sizeHint
 the recommended size for the widget More...
 
QSize minimumSizeHint
 the recommended minimum size for the widget More...
 
bool acceptDrops
 whether drop events are enabled for this widget More...
 
QString windowTitle
 the window title (caption) More...
 
QIcon windowIcon
 the widget's icon More...
 
QString windowIconText
 the text to be displayed on the icon of a minimized window More...
 
double windowOpacity
 The level of opacity for the window. More...
 
bool windowModified
 whether the document shown in the window has unsaved changes More...
 
QString accessibleName
 the widget's name as seen by assistive technologies More...
 
QString accessibleDescription
 the widget's description as seen by assistive technologies More...
 
Qt::LayoutDirection layoutDirection
 the layout direction for this widget. More...
 
bool autoFillBackground
 whether the widget background is filled automatically More...
 
QString styleSheet
 the widget's style sheet More...
 
QLocale locale
 the widget's locale More...
 
QString windowFilePath
 the file path associated with a widget More...
 
Qt::InputMethodHints inputMethodHints
 What input method specific hints the widget has. More...
 
- Properties inherited from QObject
QString objectName
 the name of this object More...
 
- Properties inherited from QGraphicsWidget
QPalette palette
 the widget's palette More...
 
QFont font
 the widgets' font More...
 
Qt::LayoutDirection layoutDirection
 the layout direction for this widget. More...
 
QSizeF size
 the size of the widget More...
 
QSizeF minimumSize
 the minimum size of the widget More...
 
QSizeF preferredSize
 the preferred size of the widget More...
 
QSizeF maximumSize
 the maximum size of the widget More...
 
QSizePolicy sizePolicy
 the size policy for the widget More...
 
Qt::FocusPolicy focusPolicy
 the way the widget accepts keyboard focus More...
 
Qt::WindowFlags windowFlags
 the widget's window flags More...
 
QString windowTitle
 This property holds the window title (caption). More...
 
QRectF geometry
 the geometry of the widget More...
 
bool autoFillBackground
 whether the widget background is filled automatically More...
 
QGraphicsLayoutlayout
 The layout of the widget. More...
 
- Properties inherited from QGraphicsObject
QGraphicsObjectparent
 the parent of the item More...
 
qreal opacity
 the opacity of the item More...
 
bool enabled
 whether the item is enabled or not More...
 
bool visible
 whether the item is visible or not More...
 
QPointF pos
 the position of the item More...
 
qreal x
 the x position of the item More...
 
qreal y
 the y position of the item More...
 
qreal z
 the z value of the item More...
 
qreal rotation
 the rotation of the item in degrees. More...
 
qreal scale
 the scale of the item. More...
 
QPointF transformOriginPoint
 the transformation origin More...
 

Detailed Description

Definition at line 59 of file widget.h.

Constructor & Destructor Documentation

◆ Widget() [1/19]

Widget::Widget ( Helper helper,
QWidget parent 
)

[0]

Definition at line 58 of file widget.cpp.

Here is the call graph for this function:

◆ Widget() [2/19]

Widget::Widget ( QWidget parent = nullptr)
explicit

[0] //! [1]

[0]

[1]

[2]

[2]

[3]

[3]

[4]

[4] //! [5]

[5]

Definition at line 204 of file widget.cpp.

Here is the call graph for this function:

◆ Widget() [3/19]

Widget::Widget ( const QColor color,
const QColor textColor,
const QString caption,
QGraphicsItem parent = nullptr 
)
inline

Definition at line 56 of file main.cpp.

◆ Widget() [4/19]

Widget::Widget ( QWidget parent = nullptr)

◆ Widget() [5/19]

Widget::Widget ( QWidget parent = nullptr)

◆ Widget() [6/19]

Widget::Widget ( QWidget parent = nullptr)

◆ Widget() [7/19]

Widget::Widget ( QWidget parent = nullptr)

◆ Widget() [8/19]

Widget::Widget ( QWidget parent = nullptr)

◆ Widget() [9/19]

Widget::Widget ( QWidget parent = nullptr)

◆ Widget() [10/19]

Widget::Widget ( )
inline

Definition at line 47 of file template-gtgt.h.

◆ Widget() [11/19]

Widget::Widget ( QWidget parent = nullptr)
inline

Definition at line 69 of file tst_qtooltip.cpp.

◆ Widget() [12/19]

Widget::Widget ( )
inline

Definition at line 4178 of file tst_qwidget.cpp.

Here is the call graph for this function:

◆ Widget() [13/19]

Widget::Widget ( QWidget parent = nullptr)

◆ ~Widget() [1/4]

Widget::~Widget ( )

Definition at line 78 of file widget.cpp.

◆ Widget() [14/19]

Widget::Widget ( QWidget parent = nullptr)

◆ ~Widget() [2/4]

Widget::~Widget ( )

◆ Widget() [15/19]

Widget::Widget ( QWidget parent = nullptr)
explicit

◆ ~Widget() [3/4]

Widget::~Widget ( )

◆ Widget() [16/19]

Widget::Widget ( QWidget parent = nullptr)
explicit

◆ ~Widget() [4/4]

Widget::~Widget ( )

◆ Widget() [17/19]

Widget::Widget ( )
inline

Definition at line 39 of file main.cpp.

Here is the call graph for this function:

◆ Widget() [18/19]

Widget::Widget ( QWidget parent = nullptr)
inline

Definition at line 169 of file main.cpp.

Here is the call graph for this function:

◆ Widget() [19/19]

Widget::Widget ( Qt::WindowFlags  flags)
inline

Definition at line 116 of file windowtransparency.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ actionEvent()

void Widget::actionEvent ( QActionEvent event)
inlineoverridevirtual

This event handler is called with the given event whenever the widget's actions are changed.

See also
addAction(), insertAction(), removeAction(), actions(), QActionEvent

Reimplemented from QWidget.

Definition at line 4179 of file tst_qwidget.cpp.

◆ addMenuBar

void Widget::addMenuBar ( )
slot

Definition at line 75 of file widget.cpp.

Here is the call graph for this function:

◆ animate

void Widget::animate ( )
slot

[0]

[1]

Definition at line 67 of file widget.cpp.

Here is the call graph for this function:

◆ appendFunction()

void Widget::appendFunction ( )

[9]

[9]

[10]

[10]

Definition at line 236 of file main.cpp.

Here is the call graph for this function:

◆ argFunction()

void Widget::argFunction ( )

[11]

[11]

[11-qstringview]

[11-qstringview]

[12] //! [13]

[12]

[13]

[97]

[97]

[98]

[98]

[14]

[14]

Definition at line 251 of file main.cpp.

◆ arrayOperator()

void Widget::arrayOperator ( )

[85]

[85]

Definition at line 949 of file main.cpp.

◆ atFunction()

void Widget::atFunction ( )

[3]

[3]

Definition at line 162 of file main.cpp.

◆ boolToString()

QString Widget::boolToString ( bool  b)

[7]

Definition at line 210 of file main.cpp.

◆ changeEvent() [1/2]

void Widget::changeEvent ( QEvent event)
inlineoverridevirtual

This event handler can be reimplemented to handle state changes.

The state being changed in this event can be retrieved through event.

Change events include: QEvent::ActivationChange, QEvent::EnabledChange, QEvent::FontChange, QEvent::StyleChange, QEvent::PaletteChange, QEvent::ParentChange, QEvent::LayoutDirectionChange, and QEvent::ContentsRectChange.

Reimplemented from QGraphicsWidget.

Definition at line 4180 of file tst_qwidget.cpp.

◆ changeEvent() [2/2]

void Widget::changeEvent ( QEvent event)
protectedvirtual

This event handler can be reimplemented to handle state changes.

The state being changed in this event can be retrieved through event.

Change events include: QEvent::ActivationChange, QEvent::EnabledChange, QEvent::FontChange, QEvent::StyleChange, QEvent::PaletteChange, QEvent::ParentChange, QEvent::LayoutDirectionChange, and QEvent::ContentsRectChange.

Reimplemented from QGraphicsWidget.

◆ characterReference()

void Widget::characterReference ( )

[2]

[2]

Definition at line 149 of file main.cpp.

Here is the call graph for this function:

◆ chopFunction()

void Widget::chopFunction ( )

[15]

[15]

Definition at line 309 of file main.cpp.

Here is the call graph for this function:

◆ closeEvent()

void Widget::closeEvent ( QCloseEvent event)
inlineoverridevirtual

This event handler, for event, can be reimplemented in a subclass to receive widget close events. The default implementation accepts the event.

See also
close(), QCloseEvent

Reimplemented from QGraphicsWidget.

Definition at line 4181 of file tst_qwidget.cpp.

◆ compareFunction()

void Widget::compareFunction ( )

Definition at line 318 of file main.cpp.

Here is the call graph for this function:

◆ compareSensitiveFunction()

void Widget::compareSensitiveFunction ( )

[16]

[16]

[QtPrivate::compareStrings-QSV-QSV]

[QtPrivate::compareStrings-QSV-QSV]

Definition at line 325 of file main.cpp.

Here is the call graph for this function:

◆ constCharArray()

void Widget::constCharArray ( )

[1]

[1]

Definition at line 141 of file main.cpp.

◆ constCharPointer()

void Widget::constCharPointer ( )

[0]

[0]

Definition at line 134 of file main.cpp.

◆ containsFunction()

void Widget::containsFunction ( )

[17]

[17]

Definition at line 340 of file main.cpp.

Here is the call graph for this function:

◆ countFunction()

void Widget::countFunction ( )

[95]

[95]

Definition at line 348 of file main.cpp.

Here is the call graph for this function:

◆ dataFunction()

void Widget::dataFunction ( )

[19]

[19]

Definition at line 356 of file main.cpp.

Here is the call graph for this function:

◆ endsWithFunction()

void Widget::endsWithFunction ( )

[20]

[20]

Definition at line 368 of file main.cpp.

Here is the call graph for this function:

◆ event()

bool Widget::event ( QEvent event)
inlineoverrideprotectedvirtual

\reimp

Handles the event. QGraphicsWidget handles the following events:

\table \header

  • Event
  • Usage \row
  • Polish
  • Delivered to the widget some time after it has been shown. \row
  • GraphicsSceneMove
  • Delivered to the widget after its local position has changed. \row
  • GraphicsSceneResize
  • Delivered to the widget after its size has changed. \row
  • Show
  • Delivered to the widget before it has been shown. \row
  • Hide
  • Delivered to the widget after it has been hidden. \row
  • PaletteChange
  • Delivered to the widget after its palette has changed. \row
  • FontChange
  • Delivered to the widget after its font has changed. \row
  • EnabledChange
  • Delivered to the widget after its enabled state has changed. \row
  • StyleChange
  • Delivered to the widget after its style has changed. \row
  • LayoutDirectionChange
  • Delivered to the widget after its layout direction has changed. \row
  • ContentsRectChange
  • Delivered to the widget after its contents margins/ contents rect has changed. \endtable

Reimplemented from QGraphicsWidget.

Definition at line 53 of file tst_qlabel.cpp.

Here is the call graph for this function:

◆ fillFunction()

void Widget::fillFunction ( )

[21]

[21]

Definition at line 377 of file main.cpp.

Here is the call graph for this function:

◆ firstFunction()

void Widget::firstFunction ( )

[31]

[31]

Definition at line 481 of file main.cpp.

Here is the call graph for this function:

◆ firstIndexOfFunction()

void Widget::firstIndexOfFunction ( )

[93]

[93]

Definition at line 418 of file main.cpp.

Here is the call graph for this function:

◆ focusOutEvent()

void Widget::focusOutEvent ( QFocusEvent event)
inlineoverridevirtual

\reimp

Reimplemented from QGraphicsWidget.

Definition at line 4183 of file tst_qwidget.cpp.

◆ fromRawDataFunction()

void Widget::fromRawDataFunction ( )

[22]

[22] //! [23]

[23]

Definition at line 389 of file main.cpp.

Here is the call graph for this function:

◆ hideEvent()

void Widget::hideEvent ( QHideEvent event)
inlineoverridevirtual

This event handler, for \l{QEvent::Hide}{Hide} events, is delivered after the widget has been hidden, for example, setVisible(false) has been called for the widget or one of its ancestors when the widget was previously shown.

You can reimplement this event handler to detect when your widget is hidden. Calling QEvent::accept() or QEvent::ignore() on event has no effect.

See also
showEvent(), QWidget::hideEvent(), ItemVisibleChange

focusNextPrevChild(true), don't lose focus when the focus widget

Reimplemented from QGraphicsWidget.

Definition at line 4182 of file tst_qwidget.cpp.

◆ index()

void Widget::index ( )

[6]

[6]

Definition at line 196 of file main.cpp.

Here is the call graph for this function:

◆ indexOfFunction()

void Widget::indexOfFunction ( )

[24]

[24]

Definition at line 406 of file main.cpp.

Here is the call graph for this function:

◆ insertFunction()

void Widget::insertFunction ( )

[26]

[26]

Definition at line 431 of file main.cpp.

Here is the call graph for this function:

◆ isEmptyFunction()

void Widget::isEmptyFunction ( )

[27]

[27]

Definition at line 440 of file main.cpp.

◆ isNullFunction()

void Widget::isNullFunction ( )

[28]

[28]

Definition at line 450 of file main.cpp.

◆ keyPressEvent()

void Widget::keyPressEvent ( QKeyEvent event)
inlineoverridevirtual

This event handler, for event event, can be reimplemented in a subclass to receive key press events for the widget.

A widget must call setFocusPolicy() to accept focus initially and have focus in order to receive a key press event.

If you reimplement this handler, it is very important that you call the base class implementation if you do not act upon the key.

The default implementation closes popup widgets if the user presses the key sequence for QKeySequence::Cancel (typically the Escape key). Otherwise the event is ignored, so that the widget's parent can interpret it.

Note that QKeyEvent starts with isAccepted() == true, so you do not need to call QKeyEvent::accept() - just do not call the base class implementation if you act upon the key.

See also
keyReleaseEvent(), setFocusPolicy(), focusInEvent(), focusOutEvent(), event(), QKeyEvent, {Tetrix Example}

Reimplemented from QWidget.

Definition at line 4184 of file tst_qwidget.cpp.

◆ keyReleaseEvent()

void Widget::keyReleaseEvent ( QKeyEvent event)
inlineoverridevirtual

This event handler, for event event, can be reimplemented in a subclass to receive key release events for the widget.

A widget must \l{setFocusPolicy()}{accept focus} initially and \l{hasFocus()}{have focus} in order to receive a key release event.

If you reimplement this handler, it is very important that you call the base class implementation if you do not act upon the key.

The default implementation ignores the event, so that the widget's parent can interpret it.

Note that QKeyEvent starts with isAccepted() == true, so you do not need to call QKeyEvent::accept() - just do not call the base class implementation if you act upon the key.

See also
keyPressEvent(), QEvent::ignore(), setFocusPolicy(), focusInEvent(), focusOutEvent(), event(), QKeyEvent

Reimplemented from QWidget.

Definition at line 4185 of file tst_qwidget.cpp.

◆ lastFunction()

void Widget::lastFunction ( )

[48]

[48]

Definition at line 626 of file main.cpp.

Here is the call graph for this function:

◆ lastIndexOfFunction()

void Widget::lastIndexOfFunction ( )

[29]

[29]

[94]

[94]

Definition at line 459 of file main.cpp.

Here is the call graph for this function:

◆ leftJustifiedFunction()

void Widget::leftJustifiedFunction ( )

[32]

[32]

[33]

[33]

Definition at line 489 of file main.cpp.

Here is the call graph for this function:

◆ modify()

void Widget::modify ( )

[5]

[5]

Definition at line 186 of file main.cpp.

Here is the call graph for this function:

◆ mouseDoubleClickEvent()

void Widget::mouseDoubleClickEvent ( QMouseEvent event)
inlineoverridevirtual

This event handler, for event event, can be reimplemented in a subclass to receive mouse double click events for the widget.

The default implementation calls mousePressEvent().

Note
The widget will also receive mouse press and mouse release events in addition to the double click event. And if another widget that overlaps this widget disappears in response to press or release events, then this widget will only receive the double click event. It is up to the developer to ensure that the application interprets these events correctly.
See also
mousePressEvent(), mouseReleaseEvent(), mouseMoveEvent(), event(), QMouseEvent

Reimplemented from QWidget.

Definition at line 4186 of file tst_qwidget.cpp.

◆ mouseMoveEvent()

void Widget::mouseMoveEvent ( QMouseEvent event)
inlineoverridevirtual

This event handler, for event event, can be reimplemented in a subclass to receive mouse move events for the widget.

If mouse tracking is switched off, mouse move events only occur if a mouse button is pressed while the mouse is being moved. If mouse tracking is switched on, mouse move events occur even if no mouse button is pressed.

QMouseEvent::pos() reports the position of the mouse cursor, relative to this widget. For press and release events, the position is usually the same as the position of the last mouse move event, but it might be different if the user's hand shakes. This is a feature of the underlying window system, not Qt.

If you want to show a tooltip immediately, while the mouse is moving (e.g., to get the mouse coordinates with QMouseEvent::pos() and show them as a tooltip), you must first enable mouse tracking as described above. Then, to ensure that the tooltip is updated immediately, you must call QToolTip::showText() instead of setToolTip() in your implementation of mouseMoveEvent().

See also
setMouseTracking(), mousePressEvent(), mouseReleaseEvent(), mouseDoubleClickEvent(), event(), QMouseEvent, {Scribble Example}

Reimplemented from QWidget.

Definition at line 4189 of file tst_qwidget.cpp.

◆ mousePressEvent() [1/2]

void Widget::mousePressEvent ( QMouseEvent event)
inlinevirtual

This event handler, for event event, can be reimplemented in a subclass to receive mouse press events for the widget.

If you create new widgets in the mousePressEvent() the mouseReleaseEvent() may not end up where you expect, depending on the underlying window system (or X11 window manager), the widgets' location and maybe more.

The default implementation implements the closing of popup widgets when you click outside the window. For other widget types it does nothing.

See also
mouseReleaseEvent(), mouseDoubleClickEvent(), mouseMoveEvent(), event(), QMouseEvent, {Scribble Example}

Reimplemented from QWidget.

Definition at line 149 of file windowtransparency.cpp.

Here is the call graph for this function:

◆ mousePressEvent() [2/2]

void Widget::mousePressEvent ( QMouseEvent event)
inlineoverridevirtual

[0]

Reimplemented from QWidget.

Definition at line 4187 of file tst_qwidget.cpp.

◆ mouseReleaseEvent()

void Widget::mouseReleaseEvent ( QMouseEvent event)
inlineoverridevirtual

This event handler, for event event, can be reimplemented in a subclass to receive mouse release events for the widget.

See also
mousePressEvent(), mouseDoubleClickEvent(), mouseMoveEvent(), event(), QMouseEvent, {Scribble Example}

Reimplemented from QWidget.

Definition at line 4188 of file tst_qwidget.cpp.

◆ nullVsEmpty()

void Widget::nullVsEmpty ( )

[7]

[8]

[8]

Definition at line 222 of file main.cpp.

◆ numberFunction()

void Widget::numberFunction ( )

[35]

[35]

Definition at line 511 of file main.cpp.

Here is the call graph for this function:

◆ on_buttonGroup_buttonClicked

void Widget::on_buttonGroup_buttonClicked ( )
protectedslot

Definition at line 241 of file widget.cpp.

◆ on_dismantle_clicked

void Widget::on_dismantle_clicked ( )
protectedslot

Definition at line 150 of file widget.cpp.

Here is the call graph for this function:

◆ on_group_clicked

void Widget::on_group_clicked ( )
protectedslot

Definition at line 121 of file widget.cpp.

Here is the call graph for this function:

◆ on_merge_clicked

void Widget::on_merge_clicked ( )
protectedslot

Definition at line 164 of file widget.cpp.

Here is the call graph for this function:

◆ on_rotate_valueChanged

void Widget::on_rotate_valueChanged ( int  value)
protectedslot

Definition at line 85 of file widget.cpp.

Here is the call graph for this function:

◆ on_rotateItem_valueChanged

void Widget::on_rotateItem_valueChanged ( int  value)
protectedslot

Definition at line 105 of file widget.cpp.

Here is the call graph for this function:

◆ on_scale_valueChanged

void Widget::on_scale_valueChanged ( int  value)
protectedslot

Definition at line 95 of file widget.cpp.

Here is the call graph for this function:

◆ on_scaleItem_valueChanged

void Widget::on_scaleItem_valueChanged ( int  value)
protectedslot

Definition at line 113 of file widget.cpp.

Here is the call graph for this function:

◆ on_ungroup_clicked

void Widget::on_ungroup_clicked ( )
protectedslot

Definition at line 210 of file widget.cpp.

Here is the call graph for this function:

◆ onSceneSelectionChanged

void Widget::onSceneSelectionChanged ( )
protectedslot

Definition at line 179 of file widget.cpp.

Here is the call graph for this function:

◆ paint()

void Widget::paint ( QPainter painter,
const QStyleOptionGraphicsItem option,
QWidget widget = nullptr 
)
inlineoverridevirtual

This function, which is usually called by QGraphicsView, paints the contents of an item in local coordinates.

Reimplement this function in a QGraphicsItem subclass to provide the item's painting implementation, using painter. The option parameter provides style options for the item, such as its state, exposed area and its level-of-detail hints. The widget argument is optional. If provided, it points to the widget that is being painted on; otherwise, it is 0. For cached painting, widget is always 0.

The painter's pen is 0-width by default, and its pen is initialized to the QPalette::Text brush from the paint device's palette. The brush is initialized to QPalette::Window.

Make sure to constrain all painting inside the boundaries of boundingRect() to avoid rendering artifacts (as QGraphicsView does not clip the painter for you). In particular, when QPainter renders the outline of a shape using an assigned QPen, half of the outline will be drawn outside, and half inside, the shape you're rendering (e.g., with a pen width of 2 units, you must draw outlines 1 unit inside boundingRect()). QGraphicsItem does not support use of cosmetic pens with a non-zero width.

All painting is done in local coordinates.

Note
It is mandatory that an item will always redraw itself in the exact same way, unless update() was called; otherwise visual artifacts may occur. In other words, two subsequent calls to paint() must always produce the same output, unless update() was called between them.
Enabling caching for an item does not guarantee that paint() will be invoked only once by the Graphics View framework, even without any explicit call to update(). See the documentation of setCacheMode() for more details.
See also
setCacheMode(), QPen::width(), {Item Coordinates}, ItemUsesExtendedStyleOption

Implements QGraphicsItem.

Definition at line 65 of file main.cpp.

Here is the call graph for this function:

◆ paintEvent() [1/2]

void Widget::paintEvent ( QPaintEvent event)
inlinevirtual

This event handler can be reimplemented in a subclass to receive paint events passed in event.

A paint event is a request to repaint all or part of a widget. It can happen for one of the following reasons:

\list

  • repaint() or update() was invoked,
  • the widget was obscured and has now been uncovered, or
  • many other reasons. \endlist

Many widgets can simply repaint their entire surface when asked to, but some slow widgets need to optimize by painting only the requested region: QPaintEvent::region(). This speed optimization does not change the result, as painting is clipped to that region during event processing. QListView and QTableView do this, for example.

Qt also tries to speed up painting by merging multiple paint events into one. When update() is called several times or the window system sends several paint events, Qt merges these events into one event with a larger region (see QRegion::united()). The repaint() function does not permit this optimization, so we suggest using update() whenever possible.

When the paint event occurs, the update region has normally been erased, so you are painting on the widget's background.

The background can be set using setBackgroundRole() and setPalette().

Since Qt 4.0, QWidget automatically double-buffers its painting, so there is no need to write double-buffering code in paintEvent() to avoid flicker.

Note
Generally, you should refrain from calling update() or repaint() {inside} a paintEvent(). For example, calling update() or repaint() on children inside a paintEvent() results in undefined behavior; the child may or may not get a paint event.
Warning
If you are using a custom paint engine without Qt's backingstore, Qt::WA_PaintOnScreen must be set. Otherwise, QWidget::paintEngine() will never be called; the backingstore will be used instead.
See also
event(), repaint(), update(), QPainter, QPixmap, QPaintEvent, {Analog Clock Example}

Reimplemented from QWidget.

Definition at line 122 of file windowtransparency.cpp.

Here is the call graph for this function:

◆ paintEvent() [2/2]

void Widget::paintEvent ( QPaintEvent event)
overrideprotectedvirtual

[1]

[2]

Reimplemented from QWidget.

Definition at line 75 of file widget.cpp.

Here is the call graph for this function:

◆ plusEqualOperator()

void Widget::plusEqualOperator ( )

[84]

[84]

Definition at line 939 of file main.cpp.

◆ prependFunction()

void Widget::prependFunction ( )

[36]

[36]

Definition at line 520 of file main.cpp.

Here is the call graph for this function:

◆ removeFunction()

void Widget::removeFunction ( )

[37]

[37]

[38]

[38]

[96]

[96]

Definition at line 530 of file main.cpp.

Here is the call graph for this function:

◆ removeMenuBar

void Widget::removeMenuBar ( )
slot

Definition at line 82 of file widget.cpp.

◆ replaceFunction()

void Widget::replaceFunction ( )

[40]

[40]

[41]

[41]

[86]

[86]

[87]

[87]

[88]

[88]

Definition at line 551 of file main.cpp.

Here is the call graph for this function:

◆ reserveFunction()

void Widget::reserveFunction ( )

[44]

[44]

Definition at line 585 of file main.cpp.

◆ resizeFunction()

void Widget::resizeFunction ( )

[45]

[45]

[46]

[46]

[47]

[47]

Definition at line 602 of file main.cpp.

Here is the call graph for this function:

◆ rightJustifiedFunction()

void Widget::rightJustifiedFunction ( )

[49]

[49]

[50]

[50]

Definition at line 634 of file main.cpp.

Here is the call graph for this function:

◆ sectionFunction()

void Widget::sectionFunction ( )

[51] //! [52]

[51]

[52]

[53]

[53]

[54]

[54]

[89]

[89]

Definition at line 647 of file main.cpp.

Here is the call graph for this function:

◆ setFontPointSize

void Widget::setFontPointSize ( int  value)
slot

Definition at line 101 of file widget.cpp.

◆ setIndentWidth

void Widget::setIndentWidth ( int  value)
slot

Definition at line 107 of file widget.cpp.

◆ setNumFunction()

void Widget::setNumFunction ( )

[56]

[56]

Definition at line 682 of file main.cpp.

Here is the call graph for this function:

◆ showDelayedToolTip()

void Widget::showDelayedToolTip ( int  msecs)
inline

Definition at line 71 of file tst_qtooltip.cpp.

◆ simplifiedFunction()

void Widget::simplifiedFunction ( )

[57]

[57]

Definition at line 690 of file main.cpp.

Here is the call graph for this function:

◆ sizeFunction()

void Widget::sizeFunction ( )

[58]

[58]

Definition at line 699 of file main.cpp.

Here is the call graph for this function:

◆ slicedFunction()

void Widget::slicedFunction ( )

[34]

[34]

Definition at line 502 of file main.cpp.

Here is the call graph for this function:

◆ splitCaseSensitiveFunction()

void Widget::splitCaseSensitiveFunction ( )

[62]

[62]

[62-empty]

[62-empty]

[62-slashes]

[62-slashes]

Definition at line 733 of file main.cpp.

Here is the call graph for this function:

◆ splitFunction()

void Widget::splitFunction ( )

[90]

[90]

[91]

[91]

[92]

[92]

Definition at line 709 of file main.cpp.

Here is the call graph for this function:

◆ sprintfFunction()

void Widget::sprintfFunction ( )

[64]

[64]

Definition at line 758 of file main.cpp.

◆ startsWithFunction()

void Widget::startsWithFunction ( )

[65]

[65]

Definition at line 767 of file main.cpp.

Here is the call graph for this function:

◆ stringLiteral()

void Widget::stringLiteral ( )

[4]

[4]

Definition at line 174 of file main.cpp.

◆ switchToFullScreen

void Widget::switchToFullScreen ( )
slot

Definition at line 63 of file widget.cpp.

Here is the call graph for this function:

◆ switchToNormalScreen

void Widget::switchToNormalScreen ( )
slot

Definition at line 69 of file widget.cpp.

Here is the call graph for this function:

◆ toDoubleFunction()

void Widget::toDoubleFunction ( )

[66]

[66]

[67]

[67]

[68]

[68]

[69]

[69]

Definition at line 776 of file main.cpp.

Here is the call graph for this function:

◆ toFloatFunction()

void Widget::toFloatFunction ( )

[71]

[71]

Definition at line 803 of file main.cpp.

Here is the call graph for this function:

◆ toIntFunction()

void Widget::toIntFunction ( )

[72]

[72]

Definition at line 818 of file main.cpp.

Here is the call graph for this function:

◆ toLongFunction()

void Widget::toLongFunction ( )

[73]

[73]

Definition at line 828 of file main.cpp.

Here is the call graph for this function:

◆ toLongLongFunction()

void Widget::toLongLongFunction ( )

[74]

[74]

Definition at line 839 of file main.cpp.

Here is the call graph for this function:

◆ toLowerFunction()

void Widget::toLowerFunction ( )

[75]

[75]

Definition at line 850 of file main.cpp.

Here is the call graph for this function:

◆ toolTipText()

static QString Widget::toolTipText ( )
inlinestatic

Definition at line 76 of file tst_qtooltip.cpp.

◆ toShortFunction()

void Widget::toShortFunction ( )

[76]

[76]

Definition at line 858 of file main.cpp.

Here is the call graph for this function:

◆ toUIntFunction()

void Widget::toUIntFunction ( )

[77]

[77]

Definition at line 869 of file main.cpp.

Here is the call graph for this function:

◆ toULongFunction()

void Widget::toULongFunction ( )

[78]

[78]

Definition at line 880 of file main.cpp.

Here is the call graph for this function:

◆ toULongLongFunction()

void Widget::toULongLongFunction ( )

[79]

[79]

Definition at line 891 of file main.cpp.

Here is the call graph for this function:

◆ toUpperFunction()

void Widget::toUpperFunction ( )

[81]

[81]

Definition at line 913 of file main.cpp.

Here is the call graph for this function:

◆ toUShortFunction()

void Widget::toUShortFunction ( )

[80]

[80]

Definition at line 902 of file main.cpp.

Here is the call graph for this function:

◆ trimmedFunction()

void Widget::trimmedFunction ( )

[82]

[82]

Definition at line 921 of file main.cpp.

Here is the call graph for this function:

◆ truncateFunction()

void Widget::truncateFunction ( )

[83]

[83]

Definition at line 930 of file main.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ deleteThis

bool Widget::deleteThis = false

Definition at line 4191 of file tst_qwidget.cpp.

◆ events

QList<QEvent::Type> Widget::events

Definition at line 50 of file tst_qlabel.cpp.


The documentation for this class was generated from the following files: