+ private slots:
+ /// Activate part
+ /// \param thePart a part to activate
+ void onActivePartChanged(ObjectPtr thePart);
+
+ /// Show context menu
+ /// \param theEvent a context menu event
+ void onContextMenuRequested(QContextMenuEvent* theEvent);
+
+ /// Show context menu on upper label
+ /// \param thePnt a position of context menu
+ void onLabelContextMenuRequested(const QPoint& thePnt);
+
+ //! Called on Edit command request
+ void onEditItem();
+
+ /// Process selection changed event
+ void onSelectionChanged();
+
+ private:
+ void closeDocNameEditing(bool toSave);