123456789101112131415161718 |
- from .PStackedWidget import *
- from .PLineEdit import *
- from .PCamChecked import *
- from .ImageViewer import ImageViewer
- __all__ = ['PStackedWidget', 'PLineEdit', 'PCamChecked', 'ImageViewer']
- def create_widget_cam_shecked(obj, layout, name_object: str, mode: str = 'video') -> PCamChecked:
- widget = PCamChecked(obj, mode=mode)
- widget.setObjectName(name_object)
- layout.addWidget(widget)
- return widget
-
- def create_widget_stacked(obj, layout, name_object: str, mode: str = 'video') -> PStackedWidget:
- widget = PStackedWidget(obj, mode=mode)
- widget.setObjectName(name_object)
- layout.addWidget(widget)
- return widget
|