#include <propertyeditor.h>
Inherits TDEListView.
Public Slots | |
void | populateProperties (PropertyList *list) |
void | clearProperties () |
void | clearMachineCache () |
Signals | |
void | changed () |
Public Member Functions | |
PropertyEditor (TQWidget *parent=0, const char *name=0) | |
Machine * | machine (MultiProperty *property) |
Protected Slots | |
void | propertyValueChanged (Property *property) |
void | propertyChanged (MultiProperty *property, const TQVariant &value) |
void | slotClicked (TQListViewItem *item) |
void | updateEditorSize () |
void | undo () |
Protected Member Functions | |
void | editItem (TQListViewItem *, int) |
void | hideEditor () |
void | showEditor (PropertyItem *item) |
void | placeEditor (PropertyItem *item) |
PropertyWidget * | prepareEditor (PropertyItem *item) |
void | addGroup (const TQString &name) |
void | addProperty (PropertyGroupItem *group, const TQString &name) |
void | addProperty (const TQString &name) |
void | addChildProperties (PropertyItem *parent) |
Friends | |
class | PropertyItem |
Detailed Description
Property editor.
Displays a list of properties in a table form. Also performs grouping and creation of property widgets from the machine factory.
Definition at line 58 of file propertyeditor.h.
Constructor & Destructor Documentation
◆ PropertyEditor()
PropertyLib::PropertyEditor::PropertyEditor | ( | TQWidget * | parent = 0 , |
const char * | name = 0 |
||
) |
Constructs the property editor.
Definition at line 167 of file propertyeditor.cpp.
Member Function Documentation
◆ changed
|
signal |
Emitted when something is changed in property editor.
◆ clearMachineCache
|
slot |
Deletes cached machines.
Definition at line 456 of file propertyeditor.cpp.
◆ clearProperties
|
slot |
Clears property list, disconnects accessor from the editor and deletes it.
Definition at line 283 of file propertyeditor.cpp.
◆ machine()
Machine * PropertyLib::PropertyEditor::machine | ( | MultiProperty * | property | ) |
- Returns
- Machine for given property. Uses cache to store created machines. Cache will be cleared only with clearMachineCache.
Definition at line 440 of file propertyeditor.cpp.
◆ populateProperties
|
slot |
Shows properties from a list.
Definition at line 212 of file propertyeditor.cpp.
◆ propertyChanged
|
protectedslot |
Updates property in the list when new value is selected in the editor.
Definition at line 314 of file propertyeditor.cpp.
◆ propertyValueChanged
|
protectedslot |
Updates property widget in the editor.
Definition at line 297 of file propertyeditor.cpp.
◆ slotClicked
|
protectedslot |
Shows property editor.
Definition at line 420 of file propertyeditor.cpp.
◆ undo
|
protectedslot |
Undoes the last change in property editor.
Definition at line 465 of file propertyeditor.cpp.
The documentation for this class was generated from the following files: