actions
This module provides QAction that can be attached to a plot3DWidget.
This module provides Plot3DAction related to input/output.
It provides QAction to copy, save (snapshot and video), print a Plot3DWidget.
-
class silx.gui.plot3d.actions.io.CopyAction(parent, plot3d=None)[source]
QAction to provide copy of a Plot3DWidget
Parameters: |
- parent – See QAction
- plot3d (Plot3DWidget) – Plot3DWidget the action is associated with
|
-
class silx.gui.plot3d.actions.io.SaveAction(parent, plot3d=None)[source]
QAction to provide save snapshot of a Plot3DWidget
Parameters: |
- parent – See QAction
- plot3d (Plot3DWidget) – Plot3DWidget the action is associated with
|
-
class silx.gui.plot3d.actions.io.PrintAction(parent, plot3d=None)[source]
QAction to provide printing of a Plot3DWidget
Parameters: |
- parent – See QAction
- plot3d (Plot3DWidget) – Plot3DWidget the action is associated with
|
-
getPrinter()[source]
Return the QPrinter instance used for printing.
-
class silx.gui.plot3d.actions.io.VideoAction(parent, plot3d=None)[source]
This action triggers the recording of a video of the scene.
The scene is rotated 360 degrees around a vertical axis.
Parameters: | parent – Action parent see QAction. |
This module provides Plot3DAction related to interaction modes.
It provides QAction to rotate or pan a Plot3DWidget.
-
class silx.gui.plot3d.actions.mode.InteractiveModeAction(parent, interaction, plot3d=None)[source]
Base class for QAction changing interactive mode of a Plot3DWidget
Parameters: |
- parent – See QAction
- interaction (str) – The interactive mode this action controls
- plot3d (Plot3DWidget) – Plot3DWidget the action is associated with
|
-
setPlot3DWidget(widget)[source]
Set the Plot3DWidget this action is associated with
Parameters: | widget (Plot3DWidget) – The Plot3DWidget to use |
-
class silx.gui.plot3d.actions.mode.RotateArcballAction(parent, plot3d=None)[source]
QAction to set arcball rotation interaction on a Plot3DWidget
Parameters: |
- parent – See QAction
- plot3d (Plot3DWidget) – Plot3DWidget the action is associated with
|
-
class silx.gui.plot3d.actions.mode.PanAction(parent, plot3d=None)[source]
QAction to set pan interaction on a Plot3DWidget
Parameters: |
- parent – See QAction
- plot3d (Plot3DWidget) – Plot3DWidget the action is associated with
|
-
class silx.gui.plot3d.actions.mode.Plot3DAction(parent, plot3d=None)
QAction associated to a Plot3DWidget
Parameters: |
- parent – See QAction
- plot3d (Plot3DWidget) – Plot3DWidget the action is associated with
|