PropertyLib::PYesNoButton Class Reference
Property editor with yes-no button to edit boolean values. More...
#include <pyesnobutton.h>
Inheritance diagram for PropertyLib::PYesNoButton:


Public Member Functions | |
PYesNoButton (MultiProperty *property, QWidget *parent=0, const char *name=0) | |
virtual QVariant | value () const |
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. | |
virtual void | setValue (const QVariant &value, bool emitChange) |
Sets the value shown in the editor widget. | |
Protected Slots | |
void | updateProperty (bool toggled) |
Private Attributes | |
QPushButton * | m_edit |
Detailed Description
Property editor with yes-no button to edit boolean values.
Definition at line 32 of file pyesnobutton.h.
Constructor & Destructor Documentation
|
Definition at line 30 of file pyesnobutton.cpp. References m_edit, and updateProperty(). |
Member Function Documentation
|
Function to draw a property viewer when the editor isn't shown.
Reimplemented from PropertyLib::PropertyWidget. Definition at line 47 of file pyesnobutton.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 52 of file pyesnobutton.cpp. References m_edit, PropertyLib::PropertyWidget::propertyChanged(), and updateProperty(). |
|
Definition at line 62 of file pyesnobutton.cpp. References m_edit, PropertyLib::PropertyWidget::propertyChanged(), and value(). Referenced by PYesNoButton(), and setValue(). |
|
Implements PropertyLib::PropertyWidget. Definition at line 42 of file pyesnobutton.cpp. References m_edit. Referenced by updateProperty(). |
Member Data Documentation
|
Definition at line 46 of file pyesnobutton.h. Referenced by PYesNoButton(), setValue(), updateProperty(), and value(). |
The documentation for this class was generated from the following files:
- lib/widgets/propeditor/pyesnobutton.h
- lib/widgets/propeditor/pyesnobutton.cpp