-// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
int zoomingStyle() const;
void setZoomingStyle( const int );
+ void enablePreselection(bool isEnabled);
+ bool isPreselectionEnabled() const;
+
void enableSelection(bool isEnabled);
- bool isSelectionEnabled() const { return mySelectionEnabled; }
+ bool isSelectionEnabled() const;
+
+ void setSelectionOptions( bool, bool );
void enableMultiselection(bool isEnable);
bool isMultiSelectionEnabled() const { return myMultiSelectionEnabled; }
/* Selection management */
bool highlight( const Handle(AIS_InteractiveObject)&, bool, bool=true );
- bool unHighlightAll( bool=true );
+ bool unHighlightAll( bool=true, bool=true );
bool isInViewer( const Handle(AIS_InteractiveObject)&, bool=false );
bool isVisible( const Handle(AIS_InteractiveObject)& );
virtual void onMouseRelease(SUIT_ViewWindow*, QMouseEvent*);
virtual void onKeyPress(SUIT_ViewWindow*, QKeyEvent*);
virtual void onViewClosed();
+ virtual void onViewMapped();
void onDumpView();
void onChangeBackground();
int myInteractionStyle;
int myZoomingStyle;
+ bool myPreselectionEnabled;
bool mySelectionEnabled;
bool myMultiSelectionEnabled;
bool myIsRelative;
int myTopLayerId;
//QColor myBgColor;
- QPoint myStartPnt, myEndPnt;
+ QPoint myStartPnt, myEndPnt, myCurPnt;
bool myShowStaticTrihedron;