PropertyLib::PStringListEdit Class Reference
Property editor with string list editor. More...
#include <pstringlistedit.h>
Inheritance diagram for PropertyLib::PStringListEdit:


Public Member Functions | |
PStringListEdit (MultiProperty *property, QWidget *parent=0, const char *name=0) | |
virtual QVariant | value () const |
virtual void | setValue (const QVariant &value, bool emitChange=true) |
Sets the value shown in the editor widget. | |
virtual void | drawViewer (QPainter *p, const QColorGroup &cg, const QRect &r, const QVariant &value) |
Function to draw a property viewer when the editor isn't shown. | |
Private Slots | |
void | showEditor () |
Private Attributes | |
QLineEdit * | edit |
QPushButton * | pbSelect |
QHBoxLayout * | l |
QStringList | m_list |
Detailed Description
Property editor with string list editor.
Definition at line 34 of file pstringlistedit.h.
Constructor & Destructor Documentation
|
Definition at line 34 of file pstringlistedit.cpp. References edit, l, pbSelect, and showEditor(). |
Member Function Documentation
|
Function to draw a property viewer when the editor isn't shown.
Reimplemented from PropertyLib::PropertyWidget. Definition at line 95 of file pstringlistedit.cpp. |
|
Sets the value shown in the editor widget. Set emitChange to false if you don't want to emit propertyChanged signal. Implements PropertyLib::PropertyWidget. Definition at line 55 of file pstringlistedit.cpp. References edit, m_list, and PropertyLib::PropertyWidget::propertyChanged(). |
|
Definition at line 63 of file pstringlistedit.cpp. References edit, KEditListBox::insertStringList(), KEditListBox::items, KEditListBox, m_list, and PropertyLib::PropertyWidget::propertyChanged(). Referenced by PStringListEdit(). |
|
Implements PropertyLib::PropertyWidget. Definition at line 50 of file pstringlistedit.cpp. References m_list. |
Member Data Documentation
|
Definition at line 52 of file pstringlistedit.h. Referenced by PStringListEdit(), setValue(), and showEditor(). |
|
Definition at line 54 of file pstringlistedit.h. Referenced by PStringListEdit(). |
|
Definition at line 56 of file pstringlistedit.h. Referenced by setValue(), showEditor(), and value(). |
|
Definition at line 53 of file pstringlistedit.h. Referenced by PStringListEdit(). |
The documentation for this class was generated from the following files:
- lib/widgets/propeditor/pstringlistedit.h
- lib/widgets/propeditor/pstringlistedit.cpp