• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • KDevelop Property Editing Library
 

KDevelop Property Editing Library

  • PropertyLib
  • PropertyEditor
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Friends | List of all members
PropertyLib::PropertyEditor Class Reference

#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.

See also
PropertyWidget
Machine
PropertyMachineFactory

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

void PropertyLib::PropertyEditor::changed ( )
signal

Emitted when something is changed in property editor.

◆ clearMachineCache

void PropertyLib::PropertyEditor::clearMachineCache ( )
slot

Deletes cached machines.

Definition at line 456 of file propertyeditor.cpp.

◆ clearProperties

void PropertyLib::PropertyEditor::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

void PropertyLib::PropertyEditor::populateProperties ( PropertyList *  list)
slot

Shows properties from a list.

Definition at line 212 of file propertyeditor.cpp.

◆ propertyChanged

void PropertyLib::PropertyEditor::propertyChanged ( MultiProperty *  property,
const TQVariant &  value 
)
protectedslot

Updates property in the list when new value is selected in the editor.

Definition at line 314 of file propertyeditor.cpp.

◆ propertyValueChanged

void PropertyLib::PropertyEditor::propertyValueChanged ( Property *  property)
protectedslot

Updates property widget in the editor.

Definition at line 297 of file propertyeditor.cpp.

◆ slotClicked

void PropertyLib::PropertyEditor::slotClicked ( TQListViewItem *  item)
protectedslot

Shows property editor.

Definition at line 420 of file propertyeditor.cpp.

◆ undo

void PropertyLib::PropertyEditor::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:
  • propertyeditor.h
  • propertyeditor.cpp

KDevelop Property Editing Library

Skip menu "KDevelop Property Editing Library"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

KDevelop Property Editing Library

Skip menu "KDevelop Property Editing Library"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for KDevelop Property Editing Library by doxygen 1.8.13
This website is maintained by Timothy Pearson.