#define SVTK_VIEWMODEL_H
#include "SVTK.h"
-#include "VTKViewer_ViewModel.h"
+#include "SUIT_ViewModel.h"
#include "SALOME_Prs.h"
#include "SALOME_InteractiveObject.hxx"
+#include <qcolor.h>
+
class SVTK_EXPORT SVTK_Viewer : public SUIT_ViewModel, public SALOME_View
{
Q_OBJECT;
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; }
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