X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_DataModel.h;h=e89546161dda5a6b3a564dcc0fe37741a607a222;hb=0950719fabb1015dc7e77761eb0889bad9d38f80;hp=53e9109801667ffbe392733c4636fb5dbbcd619d;hpb=08f1aef6629e6a63cc4671d271ded4de6e826948;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_DataModel.h b/src/XGUI/XGUI_DataModel.h index 53e910980..e89546161 100644 --- a/src/XGUI/XGUI_DataModel.h +++ b/src/XGUI/XGUI_DataModel.h @@ -142,6 +142,11 @@ public: /// Do not processing anymore events of model loop //bool blockEventsProcessing(const bool theState); + /// Returns true if the data model item has Hidden visual state + /// \param theIndex a tree model item + /// \return boolean value + bool hasHiddenState(const QModelIndex& theIndex); + signals: /// Signal about tree had been rebuilt void treeRebuilt(); @@ -182,6 +187,9 @@ private: /// \param fromRoot - root document flag QStringList listOfShowNotEmptyFolders(bool fromRoot = true) const; + int getNumberOfFolderItems(const ModelAPI_Folder* theFolder) const; + ObjectPtr getObjectInFolder(const ModelAPI_Folder* theFolder, int theId) const; + VisibilityState getVisibilityState(const QModelIndex& theIndex) const; void addShownFolder(DocumentPtr theDoc, QString theFolder)