Salome HOME
To introduce default launch mode of SALOMEDS server
[modules/gui.git] / src / SVTK / SVTK_ViewModel.h
index de432ffaaedb6769ae75025488e471900ee90782..912e31f3da37fbac05dfb81390aeb6688e68ab63 100644 (file)
@@ -7,6 +7,8 @@
 #include "SALOME_Prs.h"
 #include "SALOME_InteractiveObject.hxx"
 
+#include <qcolor.h>
+
 class SVTK_EXPORT SVTK_Viewer : public SUIT_ViewModel, public SALOME_View 
 {
   Q_OBJECT;
@@ -23,6 +25,12 @@ public:
   virtual void             contextMenuPopup( QPopupMenu* );
   virtual QString          getType() const { return Type(); }
 
+  QColor backgroundColor() const;
+  void   setBackgroundColor( const QColor& );
+
+  int    trihedronSize() const;
+  void   setTrihedronSize( const int );
+
 public:
   void enableSelection(bool isEnabled);
   bool isSelectionEnabled() const { return mySelectionEnabled; }
@@ -57,12 +65,15 @@ protected slots:
   void onMouseMove(SUIT_ViewWindow*, QMouseEvent*);
   void onMouseRelease(SUIT_ViewWindow*, QMouseEvent*);
 
-  void onChangeBgColor();
+  void onDumpView();
   void onShowToolbar();
+  void onChangeBgColor();
 
 private:
-  bool mySelectionEnabled;
-  bool myMultiSelectionEnabled;
+  QColor myBgColor;
+  int    myTrihedronSize;
+  bool   mySelectionEnabled;
+  bool   myMultiSelectionEnabled;
 };
 
 #endif