33 #include <QGraphicsScene>
34 #include <QGraphicsWidget>
35 #include <QGraphicsLinearLayout>
36 #include <QGraphicsView>
39 #include <QPushButton>
41 #include <QHBoxLayout>
43 #include <QApplication>
46 #include <QElapsedTimer>
182 void on_depthSpinBox_valueChanged(
int value)
200 l->setContentsMargins(2,2,2,2);
204 child->setBrush(col);
206 child->setWindow(
this);
213 void on_button_clicked(
bool )
233 void on_instantPropagationCheckbox_toggled(
bool checked)
small capitals from c petite p scientific i
[1]
void addWidget(QWidget *, int stretch=0, Qt::Alignment alignment=Qt::Alignment())
void addStretch(int stretch=0)
void addLayout(QLayout *layout, int stretch=0)
The QBrush class defines the fill pattern of shapes drawn by QPainter.
The QCheckBox widget provides a checkbox with a text label.
The QColor class provides colors based on RGB, HSV or CMYK values.
void setHsl(int h, int s, int l, int a=255)
static void processEvents(QEventLoop::ProcessEventsFlags flags=QEventLoop::AllEvents)
friend class QPushButton
[1]
The QElapsedTimer class provides a fast way to calculate elapsed times.
The QEvent class is the base class of all event classes. Event objects contain event parameters.
friend class QGraphicsWidget
QGraphicsWidget * window() const
static void setInstantInvalidatePropagation(bool enable)
static bool instantInvalidatePropagation()
void setMaximumSize(const QSizeF &size)
void setMinimumSize(const QSizeF &size)
The QGraphicsLinearLayout class provides a horizontal or vertical layout for managing widgets in Grap...
QGraphicsObject * parent
the parent of the item
The QGraphicsScene class provides a surface for managing a large number of 2D graphical items.
void addItem(QGraphicsItem *item)
The QGraphicsView class provides a widget for displaying the contents of a QGraphicsScene.
The QHBoxLayout class lines up widgets horizontally.
The QLabel widget provides a text or image display.
void setText(const QString &)
void setObjectName(const QString &name)
The QPainter class performs low-level painting on widgets and other paint devices.
void drawLine(const QLineF &line)
void setBrush(const QBrush &brush)
void drawRoundedRect(const QRectF &rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode=Qt::AbsoluteSize)
The QRectF class defines a finite rectangle in the plane using floating point precision.
The QSizeF class defines the size of a two-dimensional object using floating point precision.
constexpr qreal width() const noexcept
The QSpinBox class provides a spin box widget.
void setSingleStep(int val)
int value
the value of the spin box
void setRange(int min, int max)
The QStyleOptionGraphicsItem class is used to describe the parameters needed to draw a QGraphicsItem.
static void msleep(unsigned long)
The QVBoxLayout class lines up widgets vertically.
[Window class definition]
QSpinBox * m_sleepSpinBox
QSpinBox * m_depthSpinBox
QLabel * m_benchmarkIterationsLabel
QSpinBox * m_benchmarkIterationsSpinBox
QCheckBox * m_instantCheckBox
EGLOutputLayerEXT EGLint EGLAttrib value
GLint GLenum GLsizei GLsizei GLsizei depth
GLfloat GLfloat GLfloat w
[0]
obj metaObject() -> className()
int currentBenchmarkIteration
QMap< QGraphicsWidget *, int > setGeometryTracker