mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-05-12 01:25:46 +02:00
33 lines
896 B
Python
33 lines
896 B
Python
"""
|
|
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
|