Salome HOME
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
[modules/shaper.git] / src / XGUI / XGUI_Workshop.h
index ff4a8708a336473849d6f8f4e0f2cdeb36e6103d..d4fd4a3689e68937bed3d2dd26206f59745892c5 100644 (file)
@@ -156,13 +156,6 @@ Q_OBJECT
   /// \return a desktop instance
   QMainWindow* desktop() const;
 
-  //! Returns icon name according to feature
-  static QIcon featureIcon(const FeaturePtr& theFeature);
-
-  //! Activates or deactivates a part
-  //! If PartPtr is Null pointer then PartSet will be activated
-  void activatePart(std::shared_ptr<ModelAPI_ResultPart> theFeature);
-
   //! Delete features
   void deleteObjects();
 
@@ -293,12 +286,6 @@ signals:
   /// Reaction on command call
   void onFeatureTriggered();
 
-  /// Change active document
-  /// \param theObj a part object. If it is NULL then active document is a main document
-  void changeCurrentDocument(ObjectPtr theObj);
-
-  //void activateLastPart();
-
   /// Close document
   void closeDocument();
 
@@ -333,9 +320,6 @@ signals:
   /// Process feature redisplay message
   void onFeatureRedisplayMsg(const std::shared_ptr<ModelAPI_ObjectUpdatedMessage>& );
 
-  /// Process feature delete message
-  void onObjectDeletedMsg(const std::shared_ptr<ModelAPI_ObjectDeletedMessage>& );
-
   /// Display all results
   void displayAllResults();
 
@@ -435,12 +419,14 @@ private:
   XGUI_ModuleConnector* myModuleConnector;
 
   QString myCurrentDir;
-  static QMap<QString, QString> myIcons;
 
   bool myUpdatePrefs;
 
   // Flag to check that part document is in process of activating
   bool myPartActivating;
+
+  /// The flag is true when we loading a document
+  bool myIsLoadingData;
 };
 
 #endif