vpype_viewer.QtViewer#
- class QtViewer(document: Optional[Document] = None, view_mode: ViewMode = ViewMode.PREVIEW, show_pen_up: bool = False, show_points: bool = False, parent=None)#
Full featured, stand-alone viewer suitable for displaying a
vpype.Document
to a user.Classes
Methods
Attributes
Methods#
- QtViewer.set_default_pen_opacity(value: float | PySide2.QtWidgets.QAction) None #
- Parameters
value (float | PySide2.QtWidgets.QAction) --
- Return type
None
- QtViewer.set_default_pen_width_mm(value: float | PySide2.QtWidgets.QAction) None #
- Parameters
value (float | PySide2.QtWidgets.QAction) --
- Return type
None
- QtViewer.set_document(document: vpype.model.Document | None) None #
- Parameters
document (vpype.model.Document | None) --
- Return type
None
- QtViewer.set_show_pen_up(show_pen_up: bool) None #
- Parameters
show_pen_up (bool) --
- Return type
None
- QtViewer.set_show_points(show_points: bool) None #
- Parameters
show_points (bool) --
- Return type
None
Attributes#
- QtViewer.staticMetaObject = <PySide2.QtCore.QMetaObject object>#