X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FXGUI%2FXGUI_Workshop.h;h=764e19f2d626079bbe01ce7dffca429f9ddd32ba;hb=c58d52e4c1562a78b91e222190b2fd6e5bba0ef0;hp=c2ca4a75c7ec2b240a6c1dfb28bd8cb4109f9a78;hpb=49bc86ba27fe72fcd8cb8d003340db37497c8b00;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Workshop.h b/src/XGUI/XGUI_Workshop.h index c2ca4a75c..764e19f2d 100644 --- a/src/XGUI/XGUI_Workshop.h +++ b/src/XGUI/XGUI_Workshop.h @@ -31,6 +31,7 @@ class XGUI_ModuleConnector; class ModuleBase_Operation; class ModuleBase_IModule; +class ModuleBase_IViewer; class Config_FeatureMessage; class Config_PointerMessage; @@ -113,7 +114,7 @@ Q_OBJECT } //! Provides an object which provides interface to Salome Viewer - XGUI_SalomeViewer* salomeViewer() const; + ModuleBase_IViewer* salomeViewer() const; //! Returns true if the application works as SALOME module bool isSalomeMode() const @@ -157,6 +158,8 @@ Q_OBJECT //! Show the given features in 3d Viewer void showOnlyObjects(const QList& theList); + void setDisplayMode(const QList& theList, int theMode); + ModuleBase_IModule* module() const { return myModule; @@ -198,6 +201,7 @@ signals: void onExit(); void onUndo(); void onRedo(); + void onRebuild(); void onPreferences(); void showPropertyPanel(); @@ -210,6 +214,8 @@ signals: void activateLastPart(); + void closeDocument(); + protected: bool event(QEvent * theEvent); //Event-loop processing methods: