//! Returns icon name according to feature Id
static QString featureIcon(const std::string& theId);
+ //! Activates or deactivates a part
+ //! If PartPtr is Null pointer then PartSet will be activated
+ void activatePart(FeaturePtr theFeature);
+
+ void deleteFeatures(QFeatureList theList);
signals:
void salomeViewerSelection();
+ void errorOccurred(const QString&);
public slots:
void updateCommandStatus();
void onFeatureTriggered();
void changeCurrentDocument(FeaturePtr thePart);
-signals:
- void errorOccurred(const QString&);
+ void activateLastPart();
protected:
//Event-loop processing methods:
// Creates Dock widgets: Object browser and Property panel
void createDockWidgets();
- //! Activates or deactivates currently selected part
- void activatePart(bool toActivate);
-
- QString myCurrentDir;
XGUI_MainWindow* myMainWindow;
XGUI_Module* myPartSetModule;
XGUI_ObjectsBrowser* myObjectBrowser;
XGUI_ViewerProxy* myViewerProxy;
XGUI_ContextMenuMgr* myContextMenuMgr;
+ QString myCurrentDir;
static QMap<QString, QString> myIcons;
};