X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_ObjectsBrowser.h;h=b1a70d487ec1cab3f2d1c6bdc6baf1e8bc89df45;hb=220bd2b37119be1c65abf88a88792445cb9d99f8;hp=b80a51c12ab388b54adfde507b0fe479417e606f;hpb=42985955d89fa845790a7e38609f5b6838285147;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_ObjectsBrowser.h b/src/XGUI/XGUI_ObjectsBrowser.h index b80a51c12..b1a70d487 100644 --- a/src/XGUI/XGUI_ObjectsBrowser.h +++ b/src/XGUI/XGUI_ObjectsBrowser.h @@ -11,7 +11,7 @@ #include #include -#include +#include class ModuleBase_IDocumentDataModel; class XGUI_DataModel; @@ -20,7 +20,7 @@ class XGUI_DataModel; * \ingroup GUI * Implementation of root label in Object Browser */ -class XGUI_ActiveDocLbl: public QLineEdit +class XGUI_ActiveDocLbl: public QLabel { Q_OBJECT public: @@ -172,7 +172,7 @@ Q_OBJECT } /// Returns active doc label object - QLineEdit* activeDocLabel() const { return myActiveDocLbl; } + QLabel* activeDocLabel() const { return myActiveDocLbl; } /// Rebuild data tree void rebuildDataTree(); @@ -207,6 +207,7 @@ signals: void onSelectionChanged(const QItemSelection& theSelected, const QItemSelection& theDeselected); private: + QModelIndexList expandedItems(const QModelIndex& theParent = QModelIndex()) const; //! Internal model XGUI_DataModel* myDocModel;