Salome HOME
The selection problem with an object deactivate:
[modules/shaper.git] / src / XGUI / XGUI_ObjectsBrowser.cpp
index df5625c890f267640dcf15f39a30c5225320f7ba..75f6c32a9d86d2f0c27e7bc1fd6793ef5bde89ea 100644 (file)
 #include <QAction>
 #include <QStyledItemDelegate>
 
+/**
+* \ingroup GUI
+* Tree item delegate for definition of data in column items editor
+*/
 class XGUI_TreeViewItemDelegate: public QStyledItemDelegate
 {
 public:
+  /// Constructor
+  /// \param theParent a parent of the delegate
   XGUI_TreeViewItemDelegate(XGUI_DataTree* theParent):QStyledItemDelegate(theParent), myTreedView(theParent) {}
 
+  /// Set data for item editor (name of the item)
+  /// \param editor a widget of editor
+  /// \param index the tree item index
   virtual void setEditorData ( QWidget* editor, const QModelIndex& index ) const
   {
     QLineEdit* aEditor = dynamic_cast<QLineEdit*>(editor);