diff options
| author | Christian Kolset <christian.kolset@gmail.com> | 2026-08-01 22:55:49 -0600 |
|---|---|---|
| committer | Christian Kolset <christian.kolset@gmail.com> | 2026-08-01 23:02:14 -0600 |
| commit | e1b951db7714a9496ebf7f861a6741598d4c7e67 (patch) | |
| tree | 2c10266de94b9649e5fab65aac1fd33a87de2528 /ui/control_panel.py | |
| parent | 91b0b613f0b58498315ef91f6a541dd1089b88de (diff) | |
Major control panel improvements.
- Added dedicated firmware file for arduino
- Added View button to consolidate windows
- Control Panel changes:
- Changed name fron "Controls" to "Control Panel"
- Blue side bar when Panel is hidden.
- Supports "popping" out contorl panel
- Settings > Advanced tab added with developer settings
Diffstat (limited to 'ui/control_panel.py')
| -rw-r--r-- | ui/control_panel.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/ui/control_panel.py b/ui/control_panel.py index 6e78e89..61e1807 100644 --- a/ui/control_panel.py +++ b/ui/control_panel.py @@ -532,19 +532,6 @@ class ControlPanel(QWidget): layout.setContentsMargins(0, 0, 0, 0) layout.setSpacing(0) - # Header with Add button - hdr_widget = QWidget(); hdr_widget.setObjectName("controlPanelHeader") - hdr_widget.setFixedHeight(30) - hdr_lay = QHBoxLayout(hdr_widget) - hdr_lay.setContentsMargins(8, 0, 6, 0) - hdr_lbl = QLabel("CONTROLS"); hdr_lbl.setObjectName("panelHeader") - hdr_lay.addWidget(hdr_lbl, 1) - add_btn = QPushButton("+"); add_btn.setObjectName("devicesSmallBtn") - add_btn.setFixedSize(24, 22); add_btn.setToolTip("Add control widget") - add_btn.clicked.connect(self._on_add) - hdr_lay.addWidget(add_btn) - layout.addWidget(hdr_widget) - scroll = QScrollArea() scroll.setWidgetResizable(True) scroll.setHorizontalScrollBarPolicy(Qt.ScrollBarPolicy.ScrollBarAlwaysOff) |
