QtBase  v6.3.1
Public Member Functions | Protected Member Functions | List of all members
HelloWindow Class Reference

#include <hellowindow.h>

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

Public Member Functions

 HelloWindow (const QSharedPointer< Renderer > &renderer, QScreen *screen=nullptr)
 
QColor color () const
 
void updateColor ()
 
 HelloWindow (QRhi::Implementation graphicsApi)
 
void customInit () override
 
void customRender () override
 
- Public Member Functions inherited from QObject
Q_INVOKABLE QObject (QObject *parent=nullptr)
 
virtual ~QObject ()
 
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 QSurface
virtual ~QSurface ()
 
SurfaceClass surfaceClass () const
 
virtual QPlatformSurfacesurfaceHandle () const =0
 
bool supportsOpenGL () const
 
- Public Member Functions inherited from Window
 Window (QWidget *parent=nullptr)
 [Window constructor start] More...
 
void loadImage (const QImage &image)
 
 Window (QWidget *parent=nullptr)
 
 Window ()
 [0] More...
 
 Window (MainWindow *mw)
 
 Window ()
 
 Window (QWindow *parent=nullptr)
 
 Window (QScreen *screen)
 
 Window (QWidget *parent=nullptr)
 
 Window (QWidget *parent=nullptr)
 
 Window ()
 
void setVisible (bool visible) override
 [0] More...
 
 Window (QWidget *parent=nullptr)
 
 Window (QGraphicsWidget *parent=nullptr)
 
 Window (QGraphicsItem *parent=nullptr)
 
 Window ()
 
void setSourceModel (QAbstractItemModel *model)
 [6] More...
 
 Window ()
 
 Window (QWidget *parent=nullptr)
 
 Window ()
 
void setSourceModel (QAbstractItemModel *model)
 
 Window (QWidget *parent=nullptr)
 
 Window (QWidget *parent=nullptr)
 
 Window ()
 
 Window ()
 
 Window ()
 
 Window ()
 
 Window ()
 
 Window ()
 
 Window (QWidget *parent=nullptr)
 
 Window (QWidget *parent=nullptr)
 
 Window (QWidget *parent=nullptr)
 
 Window (QWidget *parent=nullptr)
 
 Window (QWidget *parent=nullptr)
 
void render (QPainter *p) override
 [2] More...
 
void mousePressEvent (QMouseEvent *e) override
 
void mouseMoveEvent (QMouseEvent *e) override
 
void mouseReleaseEvent (QMouseEvent *e) override
 
void focusInEvent (QFocusEvent *) override
 
void focusOutEvent (QFocusEvent *) override
 
void keyPressEvent (QKeyEvent *e) override
 
void keyReleaseEvent (QKeyEvent *) override
 
 Window ()
 
void normalMethod ()
 
Q_INVOKABLE void invokableMethod ()
 
 Window ()
 
int normalProperty ()
 
int newProperty ()
 
 Window ()
 
 Window (QWindow *parentWindow=nullptr)
 
void reset ()
 
bool event (QEvent *event) override
 
int received (QEvent::Type type)
 
 Window ()
 
void resizeEvent (QResizeEvent *) override
 
void exposeEvent (QExposeEvent *event) override
 
 ~Window ()
 
void keyPressEvent (QKeyEvent *event) override
 
void keyReleaseEvent (QKeyEvent *event) override
 
void reset ()
 
void reset ()
 
void initializeGL () override
 
void resizeGL (int w, int h) override
 
void paintGL () override
 
 Window (const Qt::WindowFlags flags=Qt::Window|Qt::WindowTitleHint|Qt::WindowMinMaxButtonsHint|Qt::WindowCloseButtonHint)
 
void reset ()
 
bool event (QEvent *event) override
 
int received (QEvent::Type type)
 
int eventIndex (QEvent::Type type)
 
QRegion exposeRegion () const
 
QPlatformSurfaceEvent::SurfaceEventType surfaceEventType () const
 
 Window ()
 
void exposeEvent (QExposeEvent *) override
 
 Window ()
 
 Window (QWindow *parent=nullptr)
 
 Window (QScreen *screen)
 
 Window ()
 
 Window ()
 
 Window (int index)
 
void paintGL ()
 
 Window (QRhi::Implementation graphicsApi)
 
void releaseSwapChain ()
 
 Window (const QString &title, const QColor &bgColor, int axis, bool noVSync)
 
 ~Window ()
 
 Window (const QString &title, GraphicsApi api)
 
 ~Window ()
 
void exposeEvent (QExposeEvent *) override
 
bool event (QEvent *) override
 
 Window ()
 
 ~Window ()
 
 Window (QWindow *parent=nullptr)
 
 Window (QWidget *parent=nullptr)
 
void updateControls ()
 
 Window (QWindow *parent=nullptr)
 
 Window (QWindow *parent=nullptr)
 
 Window ()
 
 OpenGLWindow (QWindow *parent=nullptr)
 [1] More...
 
 OpenGLWindow ()
 
- 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)
 
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 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 QDialog
 QDialog (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 
 ~QDialog ()
 
int result () const
 
void setVisible (bool visible) override
 
QSize sizeHint () const override
 
QSize minimumSizeHint () const override
 
void setSizeGripEnabled (bool)
 
bool isSizeGripEnabled () const
 
void setModal (bool modal)
 
void setResult (int r)
 
- 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 OpenGLWindow
 OpenGLWindow (QWindow *parent=nullptr)
 [1] More...
 
 ~OpenGLWindow ()
 [1] More...
 
void setAnimating (bool animating)
 [4] More...
 
 OpenGLWindow ()
 
- Public Member Functions inherited from QOpenGLWindow
 QOpenGLWindow (UpdateBehavior updateBehavior=NoPartialUpdate, QWindow *parent=nullptr)
 
 QOpenGLWindow (QOpenGLContext *shareContext, UpdateBehavior updateBehavior=NoPartialUpdate, QWindow *parent=nullptr)
 
 ~QOpenGLWindow ()
 
UpdateBehavior updateBehavior () const
 
bool isValid () const
 
void makeCurrent ()
 
void doneCurrent ()
 
QOpenGLContextcontext () const
 
QOpenGLContextshareContext () const
 
GLuint defaultFramebufferObject () const
 
QImage grabFramebuffer ()
 
- Public Member Functions inherited from QPaintDeviceWindow
void update (const QRect &rect)
 
void update (const QRegion &region)
 
- Public Member Functions inherited from QRasterWindow
 QRasterWindow (QWindow *parent=nullptr)
 
 ~QRasterWindow ()
 
- Public Member Functions inherited from QMainWindow
 QMainWindow (QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags())
 
 ~QMainWindow ()
 
QSize iconSize () const
 
void setIconSize (const QSize &iconSize)
 
Qt::ToolButtonStyle toolButtonStyle () const
 
void setToolButtonStyle (Qt::ToolButtonStyle toolButtonStyle)
 
void setDockOptions (DockOptions options)
 
DockOptions dockOptions () const
 
bool isSeparator (const QPoint &pos) const
 
QWidgetcentralWidget () const
 
void setCentralWidget (QWidget *widget)
 
QWidgettakeCentralWidget ()
 
QByteArray saveState (int version=0) const
 
bool restoreState (const QByteArray &state, int version=0)
 

Protected Member Functions

bool event (QEvent *ev) override
 
void exposeEvent (QExposeEvent *event) override
 
void mousePressEvent (QMouseEvent *) override
 
void render ()
 
- Protected Member Functions inherited from QWindow
virtual void moveEvent (QMoveEvent *)
 
virtual void showEvent (QShowEvent *)
 
virtual void hideEvent (QHideEvent *)
 
virtual void mouseDoubleClickEvent (QMouseEvent *)
 
virtual void touchEvent (QTouchEvent *)
 
virtual bool nativeEvent (const QByteArray &eventType, void *message, qintptr *result)
 
 QWindow (QWindowPrivate &dd, QWindow *parent)
 
- 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 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 QSurface
 QSurface (SurfaceClass type)
 
- Protected Member Functions inherited from Window
void keyPressEvent (QKeyEvent *event) override
 
void mousePressEvent (QMouseEvent *) override
 
void mouseMoveEvent (QMouseEvent *) override
 
void mouseReleaseEvent (QMouseEvent *) override
 
void keyPressEvent (QKeyEvent *) override
 
void exposeEvent (QExposeEvent *) override
 
void resizeEvent (QResizeEvent *) override
 
void timerEvent (QTimerEvent *) override
 
void closeEvent (QCloseEvent *event) override
 [1] More...
 
void paintEvent (QPaintEvent *) override
 
void mousePressEvent (QMouseEvent *)
 
void mouseMoveEvent (QMouseEvent *)
 
void mouseReleaseEvent (QMouseEvent *)
 
void wheelEvent (QWheelEvent *event)
 
void keyPressEvent (QKeyEvent *)
 
void exposeEvent (QExposeEvent *)
 
void resizeEvent (QResizeEvent *)
 
void timerEvent (QTimerEvent *)
 
void exposeEvent (QExposeEvent *event)
 
void mousePressEvent (QMouseEvent *event)
 
void init ()
 
void releaseResources ()
 
void resizeSwapChain ()
 
void releaseSwapChain ()
 
void render ()
 
void exposeEvent (QExposeEvent *) override
 
bool event (QEvent *) override
 
void init ()
 
void releaseResources ()
 
void resizeSwapChain ()
 
void releaseSwapChain ()
 
void render ()
 
void customInit ()
 
void customRelease ()
 
void customRender ()
 
void exposeEvent (QExposeEvent *) override
 
bool event (QEvent *) override
 
void resizeOrMove (const QPointF &p)
 
bool event (QEvent *event) override
 
void paintEvent (QPaintEvent *event) override
 
void mouseMoveEvent (QMouseEvent *ev)
 
void mousePressEvent (QMouseEvent *ev)
 
void mouseReleaseEvent (QMouseEvent *e)
 
void exposeEvent (QExposeEvent *)
 
void exposeEvent (QExposeEvent *)
 
- Protected Member Functions inherited from QWidget
virtual void mouseDoubleClickEvent (QMouseEvent *event)
 
virtual void enterEvent (QEnterEvent *event)
 
virtual void leaveEvent (QEvent *event)
 
virtual void moveEvent (QMoveEvent *event)
 
virtual void actionEvent (QActionEvent *event)
 
virtual void hideEvent (QHideEvent *event)
 
virtual bool nativeEvent (const QByteArray &eventType, void *message, qintptr *result)
 
virtual void changeEvent (QEvent *)
 
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 QPaintDevice
 QPaintDevice () noexcept
 
- Protected Member Functions inherited from QDialog
 QDialog (QDialogPrivate &, QWidget *parent, Qt::WindowFlags f=Qt::WindowFlags())
 
void closeEvent (QCloseEvent *) override
 
void showEvent (QShowEvent *) override
 
void contextMenuEvent (QContextMenuEvent *) override
 
bool eventFilter (QObject *, QEvent *) override
 
void adjustPosition (QWidget *)
 
- 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
 
virtual void changeEvent (QEvent *event)
 
void focusInEvent (QFocusEvent *event) override
 
virtual bool focusNextPrevChild (bool next)
 
void focusOutEvent (QFocusEvent *event) override
 
virtual void hideEvent (QHideEvent *event)
 
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)
 
- Protected Member Functions inherited from QOpenGLFunctions
 QOpenGLFunctions ()
 
 QOpenGLFunctions (QOpenGLContext *context)
 
 ~QOpenGLFunctions ()
 
QOpenGLFunctions::OpenGLFeatures openGLFeatures () const
 
bool hasOpenGLFeature (QOpenGLFunctions::OpenGLFeature feature) const
 
void initializeOpenGLFunctions ()
 
void glBindTexture (GLenum target, GLuint texture)
 
void glBlendFunc (GLenum sfactor, GLenum dfactor)
 
void glClear (GLbitfield mask)
 
void glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
 
void glClearStencil (GLint s)
 
void glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
 
void glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
 
void glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
 
void glCullFace (GLenum mode)
 
void glDeleteTextures (GLsizei n, const GLuint *textures)
 
void glDepthFunc (GLenum func)
 
void glDepthMask (GLboolean flag)
 
void glDisable (GLenum cap)
 
void glDrawArrays (GLenum mode, GLint first, GLsizei count)
 
void glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
 
void glEnable (GLenum cap)
 
void glFinish ()
 
void glFlush ()
 
void glFrontFace (GLenum mode)
 
void glGenTextures (GLsizei n, GLuint *textures)
 
void glGetBooleanv (GLenum pname, GLboolean *params)
 
GLenum glGetError ()
 
void glGetFloatv (GLenum pname, GLfloat *params)
 
void glGetIntegerv (GLenum pname, GLint *params)
 
const GLubyte * glGetString (GLenum name)
 
void glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params)
 
void glGetTexParameteriv (GLenum target, GLenum pname, GLint *params)
 
void glHint (GLenum target, GLenum mode)
 
GLboolean glIsEnabled (GLenum cap)
 
GLboolean glIsTexture (GLuint texture)
 
void glLineWidth (GLfloat width)
 
void glPixelStorei (GLenum pname, GLint param)
 
void glPolygonOffset (GLfloat factor, GLfloat units)
 
void glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
 
void glScissor (GLint x, GLint y, GLsizei width, GLsizei height)
 
void glStencilFunc (GLenum func, GLint ref, GLuint mask)
 
void glStencilMask (GLuint mask)
 
void glStencilOp (GLenum fail, GLenum zfail, GLenum zpass)
 
void glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
 
void glTexParameterf (GLenum target, GLenum pname, GLfloat param)
 
void glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params)
 
void glTexParameteri (GLenum target, GLenum pname, GLint param)
 
void glTexParameteriv (GLenum target, GLenum pname, const GLint *params)
 
void glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
 
void glViewport (GLint x, GLint y, GLsizei width, GLsizei height)
 
void glActiveTexture (GLenum texture)
 
void glAttachShader (GLuint program, GLuint shader)
 
void glBindAttribLocation (GLuint program, GLuint index, const char *name)
 
void glBindBuffer (GLenum target, GLuint buffer)
 
void glBindFramebuffer (GLenum target, GLuint framebuffer)
 
void glBindRenderbuffer (GLenum target, GLuint renderbuffer)
 
void glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
 
void glBlendEquation (GLenum mode)
 
void glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha)
 
void glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha)
 
void glBufferData (GLenum target, qopengl_GLsizeiptr size, const void *data, GLenum usage)
 
void glBufferSubData (GLenum target, qopengl_GLintptr offset, qopengl_GLsizeiptr size, const void *data)
 
GLenum glCheckFramebufferStatus (GLenum target)
 
void glClearDepthf (GLclampf depth)
 
void glCompileShader (GLuint shader)
 
void glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data)
 
void glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data)
 
GLuint glCreateProgram ()
 
GLuint glCreateShader (GLenum type)
 
void glDeleteBuffers (GLsizei n, const GLuint *buffers)
 
void glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers)
 
void glDeleteProgram (GLuint program)
 
void glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers)
 
void glDeleteShader (GLuint shader)
 
void glDepthRangef (GLclampf zNear, GLclampf zFar)
 
void glDetachShader (GLuint program, GLuint shader)
 
void glDisableVertexAttribArray (GLuint index)
 
void glEnableVertexAttribArray (GLuint index)
 
void glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
 
void glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
 
void glGenBuffers (GLsizei n, GLuint *buffers)
 
void glGenerateMipmap (GLenum target)
 
void glGenFramebuffers (GLsizei n, GLuint *framebuffers)
 
void glGenRenderbuffers (GLsizei n, GLuint *renderbuffers)
 
void glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name)
 
void glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name)
 
void glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei *count, GLuint *shaders)
 
GLint glGetAttribLocation (GLuint program, const char *name)
 
void glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params)
 
void glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params)
 
void glGetProgramiv (GLuint program, GLenum pname, GLint *params)
 
void glGetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei *length, char *infolog)
 
void glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params)
 
void glGetShaderiv (GLuint shader, GLenum pname, GLint *params)
 
void glGetShaderInfoLog (GLuint shader, GLsizei bufsize, GLsizei *length, char *infolog)
 
void glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision)
 
void glGetShaderSource (GLuint shader, GLsizei bufsize, GLsizei *length, char *source)
 
void glGetUniformfv (GLuint program, GLint location, GLfloat *params)
 
void glGetUniformiv (GLuint program, GLint location, GLint *params)
 
GLint glGetUniformLocation (GLuint program, const char *name)
 
void glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params)
 
void glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params)
 
void glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer)
 
GLboolean glIsBuffer (GLuint buffer)
 
GLboolean glIsFramebuffer (GLuint framebuffer)
 
GLboolean glIsProgram (GLuint program)
 
GLboolean glIsRenderbuffer (GLuint renderbuffer)
 
GLboolean glIsShader (GLuint shader)
 
void glLinkProgram (GLuint program)
 
void glReleaseShaderCompiler ()
 
void glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height)
 
void glSampleCoverage (GLclampf value, GLboolean invert)
 
void glShaderBinary (GLint n, const GLuint *shaders, GLenum binaryformat, const void *binary, GLint length)
 
void glShaderSource (GLuint shader, GLsizei count, const char **string, const GLint *length)
 
void glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask)
 
void glStencilMaskSeparate (GLenum face, GLuint mask)
 
void glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass)
 
void glUniform1f (GLint location, GLfloat x)
 
void glUniform1fv (GLint location, GLsizei count, const GLfloat *v)
 
void glUniform1i (GLint location, GLint x)
 
void glUniform1iv (GLint location, GLsizei count, const GLint *v)
 
void glUniform2f (GLint location, GLfloat x, GLfloat y)
 
void glUniform2fv (GLint location, GLsizei count, const GLfloat *v)
 
void glUniform2i (GLint location, GLint x, GLint y)
 
void glUniform2iv (GLint location, GLsizei count, const GLint *v)
 
void glUniform3f (GLint location, GLfloat x, GLfloat y, GLfloat z)
 
void glUniform3fv (GLint location, GLsizei count, const GLfloat *v)
 
void glUniform3i (GLint location, GLint x, GLint y, GLint z)
 
void glUniform3iv (GLint location, GLsizei count, const GLint *v)
 
void glUniform4f (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
 
void glUniform4fv (GLint location, GLsizei count, const GLfloat *v)
 
void glUniform4i (GLint location, GLint x, GLint y, GLint z, GLint w)
 
void glUniform4iv (GLint location, GLsizei count, const GLint *v)
 
void glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
 
void glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
 
void glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
 
void glUseProgram (GLuint program)
 
void glValidateProgram (GLuint program)
 
void glVertexAttrib1f (GLuint indx, GLfloat x)
 
void glVertexAttrib1fv (GLuint indx, const GLfloat *values)
 
void glVertexAttrib2f (GLuint indx, GLfloat x, GLfloat y)
 
void glVertexAttrib2fv (GLuint indx, const GLfloat *values)
 
void glVertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat z)
 
void glVertexAttrib3fv (GLuint indx, const GLfloat *values)
 
void glVertexAttrib4f (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
 
void glVertexAttrib4fv (GLuint indx, const GLfloat *values)
 
void glVertexAttribPointer (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *ptr)
 
- Protected Member Functions inherited from QOpenGLWindow
virtual void paintUnderGL ()
 
virtual void paintOverGL ()
 
int metric (PaintDeviceMetric metric) const override
 
QPaintDeviceredirected (QPoint *) const override
 
 QOpenGLWindow (UpdateBehavior updateBehavior=NoPartialUpdate, QWindow *parent=nullptr)
 
 QOpenGLWindow (QOpenGLContext *shareContext, UpdateBehavior updateBehavior=NoPartialUpdate, QWindow *parent=nullptr)
 
 ~QOpenGLWindow ()
 
UpdateBehavior updateBehavior () const
 
bool isValid () const
 
void makeCurrent ()
 
void doneCurrent ()
 
QOpenGLContextcontext () const
 
QOpenGLContextshareContext () const
 
GLuint defaultFramebufferObject () const
 
QImage grabFramebuffer ()
 
- Protected Member Functions inherited from QPaintDeviceWindow
 QPaintDeviceWindow (QPaintDeviceWindowPrivate &dd, QWindow *parent)
 
void update (const QRect &rect)
 
void update (const QRegion &region)
 
- Protected Member Functions inherited from QRasterWindow
int metric (PaintDeviceMetric metric) const override
 
QPaintDeviceredirected (QPoint *) const override
 
- Protected Member Functions inherited from QMainWindow
void contextMenuEvent (QContextMenuEvent *event) override
 

Additional Inherited Members

- Public Types inherited from QSurface
enum  SurfaceClass { Window , Offscreen }
 
enum  SurfaceType {
  RasterSurface , OpenGLSurface , RasterGLSurface , OpenVGSurface ,
  VulkanSurface , MetalSurface , Direct3DSurface
}
 
- 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 QDialog
enum  DialogCode { Rejected , Accepted }
 
- 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 }
 
- Public Types inherited from QOpenGLWindow
enum  UpdateBehavior { NoPartialUpdate , PartialUpdateBlit , PartialUpdateBlend }
 
- Public Types inherited from QMainWindow
enum  DockOption {
  AnimatedDocks = 0x01 , AllowNestedDocks = 0x02 , AllowTabbedDocks = 0x04 , ForceTabbedDocks = 0x08 ,
  VerticalTabs = 0x10 , GroupedDragging = 0x20
}
 
- Public Slots inherited from QWindow
 Q_REVISION (2, 1) void requestActivate()
 
void setVisible (bool visible)
 
void show ()
 
void hide ()
 
void showMinimized ()
 
void showMaximized ()
 
void showFullScreen ()
 
void showNormal ()
 
bool close ()
 
void raise ()
 
void lower ()
 
bool startSystemResize (Qt::Edges edges)
 Start a system-specific resize operation. More...
 
bool startSystemMove ()
 Start a system-specific move operation. More...
 
void setTitle (const QString &)
 
void setX (int arg)
 
void setY (int arg)
 
void setWidth (int arg)
 
void setHeight (int arg)
 
void setGeometry (int posx, int posy, int w, int h)
 
void setGeometry (const QRect &rect)
 Sets the geometry of the window, excluding its window frame, to rect. More...
 
void setMinimumWidth (int w)
 
void setMinimumHeight (int h)
 
void setMaximumWidth (int w)
 
void setMaximumHeight (int h)
 
 Q_REVISION (2, 1) void alert(int msec)
 
 Q_REVISION (2, 3) void requestUpdate()
 
- Public Slots inherited from QObject
void deleteLater ()
 
- Public Slots inherited from Window
void addBlock (const Block &block)
 [Adding blocks to the display] More...
 
void setMessage (const Message &message)
 [sending a message] More...
 
void updateLog (const QString &path, int start, int number, int total)
 
void activated (const QModelIndex &)
 
void operationChanged ()
 [7] More...
 
void shapeSelected (int index)
 [8] More...
 
void echoChanged (int)
 [8] More...
 
void validatorChanged (int)
 [9] More...
 
void alignmentChanged (int)
 [10] More...
 
void inputMaskChanged (int)
 [11] More...
 
void accessChanged (int)
 [12] More...
 
void changePrecision (int decimals)
 [18] More...
 
void setFormatString (const QString &formatString)
 [11] More...
 
void normalMethod ()
 
 Q_REVISION (2, 1) void new Method()
 
void triggered (QAction *)
 
void clean ()
 
void showPoppWindow ()
 
void doAgain ()
 
void frameSwapped ()
 
void echoChanged (int)
 
void validatorChanged (int)
 
void alignmentChanged (int)
 
void inputMaskChanged (int)
 
void accessChanged (int)
 
- 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 ()
 
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 QDialog
virtual void open ()
 
virtual int exec ()
 
virtual void done (int)
 
virtual void accept ()
 
virtual void reject ()
 
- Public Slots inherited from QGraphicsWidget
bool close ()
 
- Public Slots inherited from OpenGLWindow
void renderLater ()
 [2] More...
 
void renderNow ()
 [3] More...
 
- Public Slots inherited from QPaintDeviceWindow
void update ()
 
- Signals inherited from QWindow
void screenChanged (QScreen *screen)
 
void modalityChanged (Qt::WindowModality modality)
 
void windowStateChanged (Qt::WindowState windowState)
 
 Q_REVISION (2, 2) void windowTitleChanged(const QString &title)
 
void xChanged (int arg)
 
void yChanged (int arg)
 
void widthChanged (int arg)
 
void heightChanged (int arg)
 
void minimumWidthChanged (int arg)
 
void minimumHeightChanged (int arg)
 
void maximumWidthChanged (int arg)
 
void maximumHeightChanged (int arg)
 
void visibleChanged (bool arg)
 
Q_REVISION(2, 1) void visibilityChanged(QWindow Q_REVISION (2, 1) void activeChanged()
 
void contentOrientationChanged (Qt::ScreenOrientation orientation)
 
void focusObjectChanged (QObject *object)
 
 Q_REVISION (2, 1) void opacityChanged(qreal opacity)
 
 Q_REVISION (2, 13) void transientParentChanged(QWindow *transientParent)
 
- Signals inherited from QObject
void destroyed (QObject *=nullptr)
 
void objectNameChanged (const QString &objectName, QPrivateSignal)
 
- Signals inherited from Window
void messageSent (const Message &message)
 
void localeChanged (QLocale)
 
void initRequested ()
 
void renderRequested (bool newlyExposed)
 
void surfaceGoingAway ()
 
void syncSurfaceSizeRequested ()
 
- 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 QDialog
void finished (int result)
 
void accepted ()
 
void rejected ()
 
- 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 ()
 
- Signals inherited from QOpenGLWindow
void frameSwapped ()
 
- Signals inherited from QMainWindow
void iconSizeChanged (const QSize &iconSize)
 
void toolButtonStyleChanged (Qt::ToolButtonStyle toolButtonStyle)
 
- 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 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 QPaintDevice
static qreal devicePixelRatioFScale ()
 
- Static Public Member Functions inherited from QGraphicsWidget
static void setTabOrder (QGraphicsWidget *first, QGraphicsWidget *second)
 
- Public Attributes inherited from Window
char * zName
 
char * zBase
 
ExprListpPartition
 
ExprListpOrderBy
 
u8 eFrmType
 
u8 eStart
 
u8 eEnd
 
u8 bImplicitFrame
 
u8 eExclude
 
ExprpStart
 
ExprpEnd
 
Window ** ppThis
 
WindowpNextWin
 
ExprpFilter
 
FuncDefpFunc
 
int iEphCsr
 
int regAccum
 
int regResult
 
int csrApp
 
int regApp
 
int regPart
 
ExprpOwner
 
int nBufferCol
 
int iArgCol
 
int regOne
 
int regStartRowid
 
int regEndRowid
 
u8 bExprArgs
 
QHash< QEvent::Type, int > m_received
 
QList< QKeyEvent * > keyEvents
 
int initCount
 
int resizeCount
 
int paintCount
 
QImage img
 
QList< QPointm_framePositionsOnMove
 
Qt::WindowStates lastReceivedWindowState
 
int numberOfExposes
 
int numberOfObscures
 
QGraphicsScene scene
 
QGraphicsViewm_view
 
QPushButtonm_button
 
QLabelm_sleepLabel
 
QSpinBoxm_sleepSpinBox
 
QLabelm_depthLabel
 
QSpinBoxm_depthSpinBox
 
QLabelm_benchmarkIterationsLabel
 
QSpinBoxm_benchmarkIterationsSpinBox
 
QCheckBoxm_instantCheckBox
 
QLabelm_resultLabel
 
QGraphicsWidgetm_leaf
 
SlowWidgetm_window
 
Statistics m_stats
 
QLabellocaleName
 
QTabWidgettabWidget
 
CalendarWidgetcalendar
 
CurrencyWidgetcurrency
 
LanguagesWidgetlanguages
 
DateFormatsWidgetdateFormats
 
NumberFormatsWidgetnumberFormats
 
MiscWidgetmiscellaneous
 
InfoWidgetinfo
 
QCheckBoxckMovable
 
QTableViewtableView
 
QStandardItemModel m
 
QComboBoxcbSelectionMode
 
QLabelm_taskInstructions
 
- Protected Types inherited from QGraphicsItem
enum  Extension { UserExtension = 0x80000000 }
 
- Protected Types inherited from QOpenGLFunctions
enum  OpenGLFeature {
  Multitexture = 0x0001 , Shaders = 0x0002 , Buffers = 0x0004 , Framebuffers = 0x0008 ,
  BlendColor = 0x0010 , BlendEquation = 0x0020 , BlendEquationSeparate = 0x0040 , BlendFuncSeparate = 0x0080 ,
  BlendSubtract = 0x0100 , CompressedTextures = 0x0200 , Multisample = 0x0400 , StencilSeparate = 0x0800 ,
  NPOTTextures = 0x1000 , NPOTTextureRepeat = 0x2000 , FixedFunctionPipeline = 0x4000 , TextureRGFormats = 0x8000 ,
  MultipleRenderTargets = 0x10000 , BlendEquationAdvanced = 0x20000
}
 
- Protected Types inherited from QOpenGLWindow
enum  UpdateBehavior { NoPartialUpdate , PartialUpdateBlit , PartialUpdateBlend }
 
- Protected Slots inherited from QWidget
void updateMicroFocus (Qt::InputMethodQuery query=Qt::ImQueryAll)
 
- Protected Slots inherited from QGraphicsObject
void updateMicroFocus ()
 
- Protected Slots inherited from QPaintDeviceWindow
void update ()
 
- Static Protected Member Functions inherited from QOpenGLFunctions
static bool isInitialized (const QOpenGLFunctionsPrivate *d)
 
- Protected Attributes inherited from QObject
QScopedPointer< QObjectDatad_ptr
 
- Protected Attributes inherited from QSurface
SurfaceClass m_type
 
QSurfacePrivate * m_reserved
 
- Protected Attributes inherited from Window
std::unique_ptr< QRhim_rhi
 
std::unique_ptr< QRhiSwapChainm_sc = nullptr
 
std::unique_ptr< QRhiRenderBufferm_ds = nullptr
 
std::unique_ptr< QRhiRenderPassDescriptorm_rp = nullptr
 
bool m_hasSwapChain = false
 
QMatrix4x4 m_proj
 
QColor m_bgColor
 
int m_rotationAxis
 
bool m_noVSync
 
QList< QRhiResource * > m_releasePool
 
QRhiSwapChainm_sc = nullptr
 
QRhiRenderBufferm_ds = nullptr
 
QRhiRenderPassDescriptorm_rp = nullptr
 
float m_rotation = 0
 
float m_opacity = 1
 
int m_opacityDir = -1
 
QRhim_r = nullptr
 
QElapsedTimer m_timer
 
int m_frameCount
 
QOffscreenSurfacem_fallbackSurface = nullptr
 
QColor m_clearColor
 
- Protected Attributes inherited from QPaintDevice
ushort painters
 
- Protected Attributes inherited from QGraphicsItem
QScopedPointer< QGraphicsItemPrivated_ptr
 
- Protected Attributes inherited from QGraphicsLayoutItem
QScopedPointer< QGraphicsLayoutItemPrivated_ptr
 
- Protected Attributes inherited from QOpenGLFunctions
QOpenGLFunctionsPrivated_ptr
 
- Properties inherited from QWindow
QString title
 the window's title in the windowing system More...
 
Qt::WindowModality modality
 the modality of the window More...
 
Qt::WindowFlags flags
 the window flags of the window More...
 
int x
 the x position of the window's geometry More...
 
int y
 the y position of the window's geometry More...
 
int width
 the width of the window's geometry More...
 
int height
 the height of the window's geometry More...
 
int minimumWidth
 the minimum width of the window's geometry More...
 
int minimumHeight
 the minimum height of the window's geometry More...
 
int maximumWidth
 the maximum width of the window's geometry More...
 
int maximumHeight
 the maximum height of the window's geometry More...
 
bool visible
 whether the window is visible or not More...
 
bool active
 the active status of the window More...
 
Visibility visibility
 the screen-occupation state of the window More...
 
Qt::ScreenOrientation contentOrientation
 the orientation of the window's contents More...
 
qreal opacity
 The opacity of the window in the windowing system. More...
 
- Properties inherited from QObject
QString objectName
 the name of this object More...
 
- Properties inherited from Window
int normalProperty
 
int newProperty
 
- 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 QDialog
bool sizeGripEnabled
 whether the size grip is enabled More...
 
bool modal
 whether show() should pop up the dialog as modal or modeless 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...
 
- Properties inherited from QPaintDeviceWindow
int width
 the width of the window's geometry More...
 
int height
 the height of the window's geometry More...
 
- Properties inherited from QMainWindow
QSize iconSize
 size of toolbar icons in this mainwindow. More...
 
Qt::ToolButtonStyle toolButtonStyle
 style of toolbar buttons in this mainwindow. More...
 
DockOptions dockOptions
 the docking behavior of QMainWindow More...
 

Detailed Description

Definition at line 101 of file hellowindow.h.

Constructor & Destructor Documentation

◆ HelloWindow() [1/2]

HelloWindow::HelloWindow ( const QSharedPointer< Renderer > &  renderer,
QScreen screen = nullptr 
)
explicit

Definition at line 77 of file hellowindow.cpp.

Here is the call graph for this function:

◆ HelloWindow() [2/2]

HelloWindow::HelloWindow ( QRhi::Implementation  graphicsApi)

Definition at line 62 of file hellowindow.cpp.

Member Function Documentation

◆ color()

QColor HelloWindow::color ( ) const

Definition at line 124 of file hellowindow.cpp.

Here is the caller graph for this function:

◆ customInit()

void HelloWindow::customInit ( )
overridevirtual

Reimplemented from Window.

Definition at line 76 of file hellowindow.cpp.

◆ customRender()

void HelloWindow::customRender ( )
overridevirtual

Reimplemented from Window.

Definition at line 127 of file hellowindow.cpp.

◆ event()

bool HelloWindow::event ( QEvent ev)
overrideprotectedvirtual

Override this to handle any event (ev) sent to the window. Return true if the event was recognized and processed.

Remember to call the base class version if you wish for mouse events, key events, resize events, etc to be dispatched as usual.

Reimplemented from QWindow.

Definition at line 102 of file hellowindow.cpp.

Here is the call graph for this function:

◆ exposeEvent()

void HelloWindow::exposeEvent ( QExposeEvent ev)
overrideprotectedvirtual

The expose event (ev) is sent by the window system when a window moves between the un-exposed and exposed states.

An exposed window is potentially visible to the user. If the window is moved off screen, is made totally obscured by another window, is minimized, or similar, this function might be called and the value of isExposed() might change to false. You may use this event to limit expensive operations such as animations to only run when the window is exposed.

This event should not be used to paint. To handle painting implement paintEvent() instead.

A resize event will always be sent before the expose event the first time a window is shown.

See also
paintEvent(), isExposed()

Reimplemented from QWindow.

Definition at line 96 of file hellowindow.cpp.

Here is the call graph for this function:

◆ mousePressEvent()

void HelloWindow::mousePressEvent ( QMouseEvent ev)
overrideprotectedvirtual

Override this to handle mouse press events (ev).

See also
mouseReleaseEvent()

Reimplemented from QWindow.

Definition at line 119 of file hellowindow.cpp.

Here is the call graph for this function:

◆ render()

void HelloWindow::render ( )
protectedvirtual

Reimplemented from OpenGLWindow.

Definition at line 109 of file hellowindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateColor()

void HelloWindow::updateColor ( )

Definition at line 129 of file hellowindow.cpp.

Here is the caller graph for this function:

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