PropertyLib::PUrlEdit Class Reference
#include <purledit.h>
Inheritance diagram for PropertyLib::PUrlEdit:

Public Types | |
enum | Mode { File = KFile::File, Directory = KFile::Directory } |
Public Member Functions | |
PUrlEdit (Mode mode, MultiProperty *property, TQWidget *parent=0, const char *name=0) | |
virtual TQVariant | value () const |
virtual void | setValue (const TQVariant &value, bool emitChange) |
![]() | |
PropertyWidget (MultiProperty *property, TQWidget *parent=0, const char *name=0) | |
virtual TQString | propertyName () const |
virtual void | setProperty (MultiProperty *property) |
virtual void | setValueList (const TQMap< TQString, TQVariant > &valueList) |
virtual void | drawViewer (TQPainter *p, const TQColorGroup &cg, const TQRect &r, const TQVariant &value) |
virtual void | undo () |
Additional Inherited Members | |
![]() | |
void | propertyChanged (MultiProperty *property, const TQVariant &value) |
![]() | |
MultiProperty * | m_property |
Detailed Description
Property editor with an url editor to choose the location of file or directory.
Definition at line 39 of file purledit.h.
Member Function Documentation
◆ 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 62 of file purledit.cpp.
◆ value()
|
virtual |
- Returns
- the value currently entered in the editor widget.
Implements PropertyLib::PropertyWidget.
Definition at line 53 of file purledit.cpp.
The documentation for this class was generated from the following files: