7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtWidgets/qframe.h>
9#include <QtGui/qicon.h>
20 Q_PROPERTY(
int currentIndex READ currentIndex WRITE setCurrentIndex NOTIFY currentChanged)
32 void removeItem(
int index);
35 bool isItemEnabled(
int index) const;
48 int currentIndex()
const;
55 void setCurrentIndex(
int index);
63 virtual void itemInserted(
int index);
64 virtual void itemRemoved(
int index);
66 void changeEvent(
QEvent *)
override;
81{
return insertItem(-1,
item, iconSet,
text); }
The QFrame class is the base class of widgets that can have a frame.
The QIcon class provides scalable icons in different modes and states.
The QShowEvent class provides an event that is sent when a widget is shown.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
GLenum GLenum GLsizei count
GLenum GLenum GLsizei const GLuint GLboolean enabled
#define QT_REQUIRE_CONFIG(feature)