libplasma
Plasma::ComboBox Class Reference
#include <combobox.h>
Inheritance diagram for Plasma::ComboBox:

Detailed Description
Definition at line 35 of file combobox.h.
Public Slots | |
void | clear () |
Signals | |
void | activated (const QString &text) |
Public Member Functions | |
void | addItem (const QString &text) |
ComboBox (QGraphicsWidget *parent=0) | |
KComboBox * | nativeWidget () const |
void | setStyleSheet (const QString &stylesheet) |
QString | styleSheet () |
QString | text () const |
~ComboBox () | |
Protected Member Functions | |
void | resizeEvent (QGraphicsSceneResizeEvent *event) |
Properties | |
KComboBox | nativeWidget |
QGraphicsWidget | parentWidget |
QString | stylesheet |
QString | text |
Constructor & Destructor Documentation
Plasma::ComboBox::ComboBox | ( | QGraphicsWidget * | parent = 0 |
) | [explicit] |
Definition at line 45 of file combobox.cpp.
Plasma::ComboBox::~ComboBox | ( | ) |
Definition at line 55 of file combobox.cpp.
Member Function Documentation
void Plasma::ComboBox::activated | ( | const QString & | text | ) | [signal] |
void Plasma::ComboBox::addItem | ( | const QString & | text | ) |
Adds an item to the combobox with the given text.
The item is appended to the list of existing items.
Definition at line 80 of file combobox.cpp.
void Plasma::ComboBox::clear | ( | ) | [slot] |
Definition at line 85 of file combobox.cpp.
KComboBox* Plasma::ComboBox::nativeWidget | ( | ) | const |
void Plasma::ComboBox::resizeEvent | ( | QGraphicsSceneResizeEvent * | event | ) | [protected] |
Definition at line 90 of file combobox.cpp.
void Plasma::ComboBox::setStyleSheet | ( | const QString & | stylesheet | ) |
Sets the stylesheet used to control the visual display of this ComboBox.
- stylesheet a CSS string
Definition at line 65 of file combobox.cpp.
QString Plasma::ComboBox::styleSheet | ( | ) |
QString Plasma::ComboBox::text | ( | ) | const |
- Returns:
- the display text
Property Documentation
KComboBox * Plasma::ComboBox::nativeWidget [read] |
Definition at line 42 of file combobox.h.
QGraphicsWidget Plasma::ComboBox::parentWidget [read] |
Definition at line 39 of file combobox.h.
QString Plasma::ComboBox::stylesheet [read, write] |
Definition at line 41 of file combobox.h.
QString Plasma::ComboBox::text [read] |
Definition at line 40 of file combobox.h.
The documentation for this class was generated from the following files: