4#ifndef QSTACKEDLAYOUT_H
5#define QSTACKEDLAYOUT_H
7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtWidgets/qlayout.h>
19 Q_PROPERTY(
int currentIndex READ currentIndex WRITE setCurrentIndex NOTIFY currentChanged)
39 int currentIndex()
const;
42 int count()
const override;
44 StackingMode stackingMode()
const;
45 void setStackingMode(StackingMode stackingMode);
49 QSize sizeHint()
const override;
50 QSize minimumSize()
const override;
53 void setGeometry(
const QRect &
rect)
override;
54 bool hasHeightForWidth()
const override;
55 int heightForWidth(
int width)
const override;
62 void setCurrentIndex(
int index);
The QLayoutItem class provides an abstract item that a QLayout manipulates.
virtual QWidget * widget() const
If this item manages a QWidget, returns that widget.
The QLayout class is the base class of geometry managers.
\inmodule QtCore\reentrant
The QStackedLayout class provides a stack of widgets where only one widget is visible at a time.
void widgetRemoved(int index)
This signal is emitted whenever a widget is removed from the layout.
void currentChanged(int index)
This signal is emitted whenever the current widget in the layout changes.
Combined button and popup list for selecting options.
GLfloat GLfloat GLfloat w
[0]
GLenum GLenum GLsizei count