mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-12-31 11:11:17 +01:00
feat: initial commit DeviceConfigWidget
This commit is contained in:
32
bec_widgets/widgets/control/device_manager/device_manager.py
Normal file
32
bec_widgets/widgets/control/device_manager/device_manager.py
Normal file
@@ -0,0 +1,32 @@
|
||||
"""
|
||||
This module provides an implementation for the device config view.
|
||||
The widget is the entry point for users to edit device configurations.
|
||||
"""
|
||||
|
||||
from qtpy import QtWidgets
|
||||
|
||||
from bec_widgets.utils.bec_widget import BECWidget
|
||||
|
||||
|
||||
class DeviceConfigView(BECWidget, QtWidgets.QTreeWidget):
|
||||
"""
|
||||
DeviceConfigView is a widget that allows users to view device configurations.
|
||||
It inherits from BECWidget and QtWidgets.QTreeWidget.
|
||||
"""
|
||||
|
||||
RPC = False
|
||||
PLUGIN = False
|
||||
|
||||
def __init__(self, parent=None):
|
||||
super().__init__(parent)
|
||||
self.column_header
|
||||
self.setup_ui()
|
||||
|
||||
def setup_ui(self):
|
||||
"""
|
||||
Set up the user interface for the device configuration view.
|
||||
This method initializes the layout and widgets needed for displaying
|
||||
and editing device configurations.
|
||||
"""
|
||||
# Initialize layout and widgets here
|
||||
pass
|
||||
Reference in New Issue
Block a user