PropertyLib::PDateTimeEdit Class Reference
Property editor for QDateTime values. More...
#include <pdatetimeedit.h>
Inheritance diagram for PropertyLib::PDateTimeEdit:


Public Member Functions | |
PDateTimeEdit (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. | |
Private Slots | |
void | updateProperty (const QDateTime &val) |
Private Attributes | |
QDateTimeEdit * | m_edit |
Detailed Description
Property editor for QDateTime values.
Definition at line 32 of file pdatetimeedit.h.
Constructor & Destructor Documentation
|
Definition at line 28 of file pdatetimeedit.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 43 of file pdatetimeedit.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 51 of file pdatetimeedit.cpp. References m_edit, PropertyLib::PropertyWidget::propertyChanged(), and updateProperty(). |
|
Definition at line 60 of file pdatetimeedit.cpp. References PropertyLib::PropertyWidget::propertyChanged(). Referenced by PDateTimeEdit(), and setValue(). |
|
Implements PropertyLib::PropertyWidget. Definition at line 38 of file pdatetimeedit.cpp. References m_edit. |
Member Data Documentation
|
Definition at line 46 of file pdatetimeedit.h. Referenced by PDateTimeEdit(), setValue(), and value(). |
The documentation for this class was generated from the following files:
- lib/widgets/propeditor/pdatetimeedit.h
- lib/widgets/propeditor/pdatetimeedit.cpp