silx.gui.plot.actions.io
¶
silx.gui.plot.actions.io
provides a set of QAction relative of inputs
and outputs for a PlotWidget
.
The following QAction are available:
-
class
silx.gui.plot.actions.io.
SaveAction
(plot, parent=None)[source]¶ QAction for saving Plot content.
It opens a Save as... dialog.
Parameters: - plot –
PlotWidget
instance on which to operate. - parent – See
QAction
.
- plot –
-
class
silx.gui.plot.actions.io.
PrintAction
(plot, parent=None)[source]¶ QAction for printing the plot.
It opens a Print dialog.
Current implementation print a bitmap of the plot area and not vector graphics, so printing quality is not great.
Parameters: - plot –
PlotWidget
instance on which to operate. - parent – See
QAction
.
-
printer
¶ The QPrinter instance used by the actions.
This is shared accross all instances of PrintAct
- plot –
-
class
silx.gui.plot.actions.io.
CopyAction
(plot, parent=None)[source]¶ QAction to copy
PlotWidget
content to clipboard.Parameters: - plot –
PlotWidget
instance on which to operate - parent – See
QAction
- plot –