Actions

Plot3DActions

This module provides QAction that can be attached to a plot3DWidget.

class silx.gui.plot3d.Plot3DActions.Plot3DAction(parent, plot3d=None)[source]

QAction associated to a Plot3DWidget

Parameters:
  • parent – See QAction
  • 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
getPlot3DWidget()[source]

Return the Plot3DWidget associated to this action.

If no widget is associated, it returns None.

Return type:qt.QWidget
class silx.gui.plot3d.Plot3DActions.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.Plot3DActions.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.Plot3DActions.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:qt.QPrinter
class silx.gui.plot3d.Plot3DActions.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.

Table Of Contents

Previous topic

Toolbars

Next topic

Package structure

This Page