#include <ppixmapedit.h>
Public Member Functions | |
| PPixmapEdit (MultiProperty *property, TQWidget *parent=0, const char *name=0) | |
| virtual TQVariant | value () const |
| virtual void | drawViewer (TQPainter *p, const TQColorGroup &cg, const TQRect &r, const TQVariant &value) |
| virtual void | setValue (const TQVariant &value, bool emitChange) |
| virtual void | resizeEvent (TQResizeEvent *ev) |
| virtual bool | eventFilter (TQObject *o, TQEvent *ev) |
Public Member Functions inherited from PropertyLib::PropertyWidget | |
| PropertyWidget (MultiProperty *property, TQWidget *parent=0, const char *name=0) | |
| virtual TQString | propertyName () const |
| virtual void | setProperty (MultiProperty *property) |
| virtual void | setValueList (const TQStringVariantMap &valueList) |
| virtual void | undo () |
Protected Slots | |
| void | updateProperty () |
Additional Inherited Members | |
Signals inherited from PropertyLib::PropertyWidget | |
| void | propertyChanged (MultiProperty *property, const TQVariant &value) |
Protected Attributes inherited from PropertyLib::PropertyWidget | |
| MultiProperty * | m_property |
Detailed Description
Property editor which shows a pixmap and allows to load it from file.
Definition at line 33 of file ppixmapedit.h.
Constructor & Destructor Documentation
◆ PPixmapEdit()
| PropertyLib::PPixmapEdit::PPixmapEdit | ( | MultiProperty * | property, |
| TQWidget * | parent = 0, |
||
| const char * | name = 0 |
||
| ) |
Definition at line 44 of file ppixmapedit.cpp.
Member Function Documentation
◆ drawViewer()
|
virtual |
Function to draw a property viewer when the editor isn't shown.
Reimplemented from PropertyLib::PropertyWidget.
Definition at line 72 of file ppixmapedit.cpp.
◆ eventFilter()
|
virtual |
Definition at line 113 of file ppixmapedit.cpp.
◆ resizeEvent()
|
virtual |
Definition at line 106 of file ppixmapedit.cpp.
◆ setValue()
|
virtual |
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 80 of file ppixmapedit.cpp.
◆ updateProperty
|
protectedslot |
Definition at line 87 of file ppixmapedit.cpp.
◆ value()
|
virtual |
- Returns
- the value currently entered in the editor widget.
Implements PropertyLib::PropertyWidget.
Definition at line 67 of file ppixmapedit.cpp.
The documentation for this class was generated from the following files:
Trinity API Reference
Public Member Functions inherited from