tools
¶
This module provides tool widgets that can be attached to a plot3DWidget.
Toolbars¶
InteractiveModeToolbar
¶
-
class
silx.gui.plot3d.tools.
InteractiveModeToolBar
(parent=None, title='Plot3D Interaction')[source]¶ Bases:
PyQt4.QtGui.QToolBar
Toolbar providing icons to change the interaction mode
Parameters: - parent – See
QWidget
- title (str) – Title of the toolbar.
-
setPlot3DWidget
(widget)[source]¶ Set the Plot3DWidget this toolbar is associated with
Parameters: widget (Plot3DWidget) – The widget to copy/save/print
-
getPlot3DWidget
()[source]¶ Return the Plot3DWidget associated to this toolbar.
If no widget is associated, it returns None.
Return type: qt.QWidget
- parent – See
OutputToolBar
¶
-
class
silx.gui.plot3d.tools.
OutputToolBar
(parent=None, title='Plot3D Output')[source]¶ Bases:
PyQt4.QtGui.QToolBar
Toolbar providing icons to copy, save and print the OpenGL scene
Parameters: - parent – See
QWidget
- title (str) – Title of the toolbar.
-
setPlot3DWidget
(widget)[source]¶ Set the Plot3DWidget this toolbar is associated with
Parameters: widget (Plot3DWidget) – The widget to copy/save/print
-
getPlot3DWidget
()[source]¶ Return the Plot3DWidget associated to this toolbar.
If no widget is associated, it returns None.
Return type: qt.QWidget
-
getCopyAction
()[source]¶ Returns the QAction performing copy to clipboard of the Plot3DWidget
Return type: qt.QAction
-
getSaveAction
()[source]¶ Returns the QAction performing save to file of the Plot3DWidget
Return type: qt.QAction
- parent – See
ViewpointToolbar
¶
-
class
silx.gui.plot3d.tools.
ViewpointToolBar
(parent=None, plot3D=None, title='Viewpoint control')[source]¶ Bases:
PyQt4.QtGui.QToolBar
A toolbar providing icons to reset the viewpoint.
Parameters: - parent – See
QToolBar
- plot3D (Plot3DWidget) – The widget to control
- title (str) – Title of the toolbar
- parent – See