}
//! Returns list of currently selected objects
- QObjectPtrList selectedObjects() const
- {
- return mySelectedData;
- }
+ //! \param theIndexes - output list of corresponded indexes (can be NULL)
+ QObjectPtrList selectedObjects(QModelIndexList* theIndexes = 0) const;
/// Set selected list of objects
/// \param theObjects list of objects to select
//! Emited on context menu request
void contextMenuRequested(QContextMenuEvent* theEvent);
+ //! Segnal is emitted when user cliks by mouse in header label of object browser
+ void headerMouseDblClicked(const QModelIndex&);
+
protected:
/// Redefinition of virtual method
virtual bool eventFilter(QObject* obj, QEvent* theEvent);
QLineEdit* myActiveDocLbl;
XGUI_DataTree* myTreeView;
-
- QObjectPtrList mySelectedData;
};
#endif