70 int count()
const override;
90 return m_items.
size();
133 if (m_items.
size() == 0)
139 while (
i < m_items.
size()) {
142 o->setGeometry(geom);
159 s =
s.expandedTo(
o->sizeHint());
172 s =
s.expandedTo(
o->minimumSize());
small capitals from c petite p scientific i
[1]
void setGeometry(const QRect &rect) override
[5]
QLayoutItem * itemAt(int) const override
[2]
void addItem(QLayoutItem *item) override
[3]
QSize sizeHint() const override
[6]
int count() const override
[0]
QLayoutItem * takeAt(int) override
QSize minimumSize() const override
CardLayout(int spacing, QWidget *parent)
The QLayout class is the base class of geometry managers.
int spacing
the spacing between widgets inside the layout
virtual void setSpacing(int)
virtual void setGeometry(const QRect &) override
The QLayoutItem class provides an abstract item that a QLayout manipulates.
qsizetype size() const noexcept
const_reference at(qsizetype i) const noexcept
T value(qsizetype i) const
qsizetype count() const noexcept
void append(parameter_type t)
The QRect class defines a rectangle in the plane using integer precision.
The QSize class defines the size of a two-dimensional object using integer point precision.
GLfloat GLfloat GLfloat w
[0]
GLfloat GLfloat GLfloat GLfloat h