PComboBox Class Reference
#include <pcombobox.h>
Inheritance diagram for PComboBox:

Signals | |
void | propertyChanged (QString name, QVariant newValue) |
Public Member Functions | |
PComboBox (const PropertyEditor *editor, const QString name, const QVariant value, QMap< QString, QString > *v_corresp, QWidget *parent=0, const char *name=0) | |
This constructor is used for read-only selection combo. | |
PComboBox (const PropertyEditor *editor, const QString name, const QVariant value, QMap< QString, QString > *v_corresp, bool rw, QWidget *parent=0, const char *name=0) | |
This constructor is used for read-write selection combo. | |
virtual QVariant | value () const |
virtual void | setValue (const QVariant value, bool emitChange=true) |
Protected Member Functions | |
virtual void | fillBox () |
Private Slots | |
void | updateProperty (int val) |
Private Member Functions | |
void | init (const PropertyEditor *editor, const QString &pname, const QVariant &value) |
Private Attributes | |
QMap< QString, QString > * | corresp |
map<description, value> | |
QMap< QString, QString > | r_corresp |
map<value, description> |
Constructor & Destructor Documentation
|
This constructor is used for read-only selection combo. It provides a value from v_corresp list Definition at line 23 of file pcombobox.cpp. References init(), and PComboBox(). Referenced by PComboBox(). |
|
This constructor is used for read-write selection combo. It provides a value from v_corresp list Definition at line 29 of file pcombobox.cpp. References init(), and PComboBox(). |
Member Function Documentation
|
Definition at line 44 of file pcombobox.cpp. References corresp, and r_corresp. Referenced by init(). |
|
Definition at line 35 of file pcombobox.cpp. References fillBox(), init(), propertyChanged(), setValue(), and updateProperty(). Referenced by init(), and PComboBox(). |
|
Referenced by init(), setValue(), and updateProperty(). |
|
Implements PropertyWidget. Definition at line 60 of file pcombobox.cpp. References PropertyWidget::pname(), propertyChanged(), r_corresp, and setValue(). Referenced by init(), and setValue(). |
|
Definition at line 74 of file pcombobox.cpp. References PropertyWidget::pname(), propertyChanged(), updateProperty(), and value(). Referenced by init(), and updateProperty(). |
|
Implements PropertyWidget. Definition at line 53 of file pcombobox.cpp. References corresp. Referenced by updateProperty(). |
Member Data Documentation
|
map<description, value>
Definition at line 43 of file pcombobox.h. |
|
map<value, description>
Definition at line 45 of file pcombobox.h. Referenced by fillBox(), and setValue(). |
The documentation for this class was generated from the following files:
- lib/widgets/propeditor/pcombobox.h
- lib/widgets/propeditor/pcombobox.cpp