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.

Return type:QPrinter
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.
  • plot3d (Plot3DWidget) – Plot3DWidget the action is associated with

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

This module provides Plot3DAction controlling the viewpoint.

It provides QAction to rotate or pan a Plot3DWidget.

class silx.gui.plot3d.actions.viewpoint.FrontViewpointAction(parent, plot3d=None)[source]

QAction to set Plot3DWidget viewpoint to look from the front

Parameters:
  • parent – See QAction
  • plot3d (Plot3DWidget) – Plot3DWidget the action is associated with
class silx.gui.plot3d.actions.viewpoint.BackViewpointAction(parent, plot3d=None)[source]

QAction to set Plot3DWidget viewpoint to look from the back

Parameters:
  • parent – See QAction
  • plot3d (Plot3DWidget) – Plot3DWidget the action is associated with
class silx.gui.plot3d.actions.viewpoint.LeftViewpointAction(parent, plot3d=None)[source]

QAction to set Plot3DWidget viewpoint to look from the left

Parameters:
  • parent – See QAction
  • plot3d (Plot3DWidget) – Plot3DWidget the action is associated with
class silx.gui.plot3d.actions.viewpoint.RightViewpointAction(parent, plot3d=None)[source]

QAction to set Plot3DWidget viewpoint to look from the right

Parameters:
  • parent – See QAction
  • plot3d (Plot3DWidget) – Plot3DWidget the action is associated with
class silx.gui.plot3d.actions.viewpoint.TopViewpointAction(parent, plot3d=None)[source]

QAction to set Plot3DWidget viewpoint to look from the top

Parameters:
  • parent – See QAction
  • plot3d (Plot3DWidget) – Plot3DWidget the action is associated with
class silx.gui.plot3d.actions.viewpoint.BottomViewpointAction(parent, plot3d=None)[source]

QAction to set Plot3DWidget viewpoint to look from the bottom

Parameters:
  • parent – See QAction
  • plot3d (Plot3DWidget) – Plot3DWidget the action is associated with
class silx.gui.plot3d.actions.viewpoint.SideViewpointAction(parent, plot3d=None)[source]

QAction to set Plot3DWidget viewpoint to look from the side

Parameters:
  • parent – See QAction
  • plot3d (Plot3DWidget) – Plot3DWidget the action is associated with
class silx.gui.plot3d.actions.viewpoint.RotateViewpoint(parent, plot3d=None)[source]

QAction to rotate the scene of a Plot3DWidget

Parameters:
  • parent – See QAction
  • plot3d (Plot3DWidget) – Plot3DWidget the action is associated with
class silx.gui.plot3d.actions.viewpoint.Plot3DAction(parent, plot3d=None)[source]

QAction associated to a Plot3DWidget

Parameters:
  • parent – See QAction
  • plot3d (Plot3DWidget) – Plot3DWidget the action is associated with