Gui::PropertyEditor::PropertyEditor Class Reference

#include <PropertyEditor.h>

List of all members.

Public Member Functions

void buildUp (const std::map< std::string, std::vector< App::Property * > > &props)
 Builds up the list view with the properties.
bool isAutomaticDocumentUpdate (bool) const
 PropertyEditor (QWidget *parent=0)
void setAutomaticDocumentUpdate (bool)
 ~PropertyEditor ()

Protected Member Functions

virtual void closeEditor (QWidget *editor, QAbstractItemDelegate::EndEditHint hint)
virtual void commitData (QWidget *editor)
virtual void currentChanged (const QModelIndex &current, const QModelIndex &previous)
virtual void drawBranches (QPainter *painter, const QRect &rect, const QModelIndex &index) const
virtual void editorDestroyed (QObject *editor)
virtual QStyleOptionViewItem viewOptions () const

Detailed Description

Definition at line 43 of file PropertyEditor.h.


Constructor & Destructor Documentation

PropertyEditor::PropertyEditor ( QWidget *  parent = 0  ) 

Definition at line 40 of file PropertyEditor.cpp.

PropertyEditor::~PropertyEditor (  ) 

Definition at line 54 of file PropertyEditor.cpp.


Member Function Documentation

void PropertyEditor::buildUp ( const std::map< std::string, std::vector< App::Property * > > &  props  ) 
void PropertyEditor::closeEditor ( QWidget *  editor,
QAbstractItemDelegate::EndEditHint  hint 
) [protected, virtual]
void PropertyEditor::commitData ( QWidget *  editor  )  [protected, virtual]

Definition at line 85 of file PropertyEditor.cpp.

References Gui::PropertyEditor::PropertyModel::buildUp().

void PropertyEditor::currentChanged ( const QModelIndex &  current,
const QModelIndex &  previous 
) [protected, virtual]

Definition at line 101 of file PropertyEditor.cpp.

void PropertyEditor::drawBranches ( QPainter *  painter,
const QRect &  rect,
const QModelIndex &  index 
) const [protected, virtual]

Definition at line 110 of file PropertyEditor.cpp.

References viewOptions().

void PropertyEditor::editorDestroyed ( QObject *  editor  )  [protected, virtual]

Definition at line 96 of file PropertyEditor.cpp.

bool PropertyEditor::isAutomaticDocumentUpdate ( bool   )  const

Definition at line 63 of file PropertyEditor.cpp.

void PropertyEditor::setAutomaticDocumentUpdate ( bool  v  ) 

Definition at line 58 of file PropertyEditor.cpp.

Referenced by Gui::PropertyView::PropertyView().

QStyleOptionViewItem PropertyEditor::viewOptions (  )  const [protected, virtual]

Definition at line 68 of file PropertyEditor.cpp.

Referenced by drawBranches().


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:12 2011 for FreeCAD by  doxygen 1.6.1