}
}
+//**************************************************************************************
+void OCCViewer_ViewFrame::setZoomingStyle( const int i )
+{
+ foreach (OCCViewer_ViewWindow* aView, myViews) {
+ aView->setZoomingStyle(i);
+ }
+}
//**************************************************************************************
void OCCViewer_ViewFrame::connectViewSignals(OCCViewer_ViewWindow* theView)
virtual int interactionStyle() const { return getView(MAIN_VIEW)->interactionStyle(); }
virtual void setInteractionStyle( const int i );
+ virtual int zoomingStyle() const { return getView(MAIN_VIEW)->zoomingStyle(); }
+ virtual void setZoomingStyle( const int );
+
virtual void setViewManager( SUIT_ViewManager* );
virtual bool eventFilter(QObject* watched, QEvent* e) { return SUIT_ViewWindow::eventFilter(watched, e); }
virtual int interactionStyle() const;
virtual void setInteractionStyle( const int );
- int zoomingStyle() const;
- void setZoomingStyle( const int );
+ virtual int zoomingStyle() const;
+ virtual void setZoomingStyle( const int );
void setTransformEnabled( const OperationType, const bool );
bool transformEnabled( const OperationType ) const;