diff options
Diffstat (limited to 'silx/gui/plot3d/Plot3DWindow.py')
-rw-r--r-- | silx/gui/plot3d/Plot3DWindow.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/silx/gui/plot3d/Plot3DWindow.py b/silx/gui/plot3d/Plot3DWindow.py index 1bc2738..d8c393e 100644 --- a/silx/gui/plot3d/Plot3DWindow.py +++ b/silx/gui/plot3d/Plot3DWindow.py @@ -35,6 +35,7 @@ __date__ = "26/01/2017" from silx.gui import qt from .Plot3DWidget import Plot3DWidget +from .actions.viewpoint import RotateViewport from .tools import OutputToolBar, InteractiveModeToolBar from .tools import ViewpointToolButton @@ -58,6 +59,7 @@ class Plot3DWindow(qt.QMainWindow): toolbar = qt.QToolBar(self) toolbar.addWidget(ViewpointToolButton(plot3D=self._plot3D)) + toolbar.addAction(RotateViewport(parent=toolbar, plot3d=self._plot3D)) self.addToolBar(toolbar) toolbar = OutputToolBar(parent=self) |