Plasma
Go to the documentation of this file.
20 #ifndef PLASMA_COMBOBOX_H
21 #define PLASMA_COMBOBOX_H
23 #include <QtGui/QGraphicsProxyWidget>
32 class ComboBoxPrivate;
44 Q_PROPERTY(
QString text READ text NOTIFY textChanged)
45 Q_PROPERTY(
QString styleSheet READ styleSheet WRITE setStyleSheet)
46 Q_PROPERTY(KComboBox *nativeWidget READ nativeWidget WRITE setNativeWidget)
47 Q_PROPERTY(
int count READ count)
48 Q_PROPERTY(
int currentIndex READ currentIndex WRITE setCurrentIndex NOTIFY currentIndexChanged)
64 void setStyleSheet(const
QString &stylesheet);
77 void setNativeWidget(KComboBox *nativeWidget);
82 KComboBox *nativeWidget() const;
88 Q_INVOKABLE
void addItem(const
QString &text);
100 int currentIndex() const;
106 void setCurrentIndex(
int index);
116 void activated(const
QString &text);
123 void textChanged(const
QString &text);
129 void currentIndexChanged(
int index);
140 void changeEvent(
QEvent *event);
145 ComboBoxPrivate * const d;
147 friend class ComboBoxPrivate;
148 Q_PRIVATE_SLOT(d,
void syncBorders())
149 Q_PRIVATE_SLOT(d,
void setPalette())
154 #endif // multiple inclusion guard
Provides a Plasma-themed combo box.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:11 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.