Files
BionxControl/bcmainwindow.ui

444 lines
14 KiB
Plaintext
Raw Normal View History

2025-12-15 20:57:09 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>BCMainWindow</class>
<widget class="QMainWindow" name="BCMainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>600</height>
</rect>
</property>
2025-12-29 23:29:56 +01:00
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2025-12-15 20:57:09 +01:00
<property name="windowTitle">
2025-12-29 23:29:56 +01:00
<string/>
2025-12-15 20:57:09 +01:00
</property>
2026-01-05 23:39:45 +01:00
<property name="styleSheet">
<string notr="true"/>
</property>
2025-12-16 00:14:03 +01:00
<widget class="QWidget" name="_centralwidget">
2025-12-29 20:10:05 +01:00
<layout class="QVBoxLayout" name="verticalLayout">
2025-12-16 00:14:03 +01:00
<item>
2025-12-29 20:10:05 +01:00
<widget class="QLabel" name="_headerLabel">
2025-12-31 13:38:46 +01:00
<property name="minimumSize">
<size>
<width>0</width>
<height>45</height>
</size>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
<bold>true</bold>
</font>
</property>
<property name="lineWidth">
<number>-2</number>
</property>
2025-12-29 20:10:05 +01:00
<property name="text">
2025-12-31 13:38:46 +01:00
<string> Bionx Control</string>
2025-12-26 12:04:02 +01:00
</property>
</widget>
</item>
<item>
2025-12-30 00:15:54 +01:00
<layout class="QHBoxLayout" name="_horizontalLayout">
2025-12-29 20:10:05 +01:00
<item>
<widget class="QWidget" name="_buttonWidget" native="true">
<property name="styleSheet">
2025-12-30 00:15:54 +01:00
<string notr="true"/>
2025-12-29 20:10:05 +01:00
</property>
2025-12-30 00:15:54 +01:00
<layout class="QVBoxLayout" name="_verticalLayout">
2025-12-29 20:10:05 +01:00
<item alignment="Qt::AlignmentFlag::AlignHCenter">
<widget class="QToolButton" name="_motorButton">
<property name="minimumSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
<property name="text">
<string>...</string>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
2026-01-06 13:58:02 +01:00
<property name="checkable">
<bool>true</bool>
</property>
2025-12-30 00:15:54 +01:00
<property name="autoRaise">
<bool>true</bool>
</property>
2026-01-06 13:58:02 +01:00
<attribute name="buttonGroup">
<string notr="true">_buttonGroup</string>
</attribute>
2025-12-29 20:10:05 +01:00
</widget>
</item>
<item alignment="Qt::AlignmentFlag::AlignHCenter">
<widget class="QToolButton" name="_batteryButton">
<property name="minimumSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
<property name="text">
<string>...</string>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
2026-01-06 13:58:02 +01:00
<property name="checkable">
<bool>true</bool>
</property>
2025-12-30 00:15:54 +01:00
<property name="autoRaise">
<bool>true</bool>
</property>
2026-01-06 13:58:02 +01:00
<attribute name="buttonGroup">
<string notr="true">_buttonGroup</string>
</attribute>
2025-12-29 20:10:05 +01:00
</widget>
</item>
<item alignment="Qt::AlignmentFlag::AlignHCenter">
<widget class="QToolButton" name="_consoleButton">
<property name="minimumSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
<property name="text">
<string>...</string>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
2026-01-06 13:58:02 +01:00
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
2025-12-30 00:15:54 +01:00
<property name="autoRaise">
<bool>true</bool>
</property>
2026-01-06 13:58:02 +01:00
<attribute name="buttonGroup">
<string notr="true">_buttonGroup</string>
</attribute>
2025-12-29 20:10:05 +01:00
</widget>
2026-01-06 10:53:15 +01:00
</item>
2026-01-06 13:05:19 +01:00
<item>
2026-01-06 10:53:15 +01:00
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>239</height>
</size>
</property>
</spacer>
2025-12-29 20:10:05 +01:00
</item>
<item alignment="Qt::AlignmentFlag::AlignHCenter">
2026-01-06 10:53:15 +01:00
<widget class="QToolButton" name="_syncButton">
2025-12-29 20:10:05 +01:00
<property name="minimumSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
<property name="text">
2026-01-06 13:05:19 +01:00
<string/>
</property>
2025-12-29 20:10:05 +01:00
<property name="iconSize">
<size>
2026-01-07 22:20:39 +01:00
<width>64</width>
<height>64</height>
2025-12-29 20:10:05 +01:00
</size>
</property>
2025-12-30 00:15:54 +01:00
<property name="autoRaise">
<bool>true</bool>
</property>
2025-12-29 20:10:05 +01:00
</widget>
</item>
2026-01-06 10:53:15 +01:00
<item alignment="Qt::AlignmentFlag::AlignHCenter">
<widget class="QToolButton" name="_connectButton">
<property name="minimumSize">
2025-12-29 20:10:05 +01:00
<size>
2026-01-06 10:53:15 +01:00
<width>64</width>
<height>64</height>
2025-12-29 20:10:05 +01:00
</size>
</property>
<property name="text">
2026-01-06 13:05:19 +01:00
<string/>
</property>
2026-01-06 10:53:15 +01:00
<property name="iconSize">
<size>
2026-01-07 22:20:39 +01:00
<width>64</width>
<height>64</height>
2026-01-06 10:53:15 +01:00
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
2025-12-29 20:10:05 +01:00
</property>
</widget>
</item>
2026-01-06 10:53:15 +01:00
<item alignment="Qt::AlignmentFlag::AlignHCenter">
<widget class="QToolButton" name="_exitButton">
<property name="minimumSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
2025-12-29 20:10:05 +01:00
<property name="text">
2026-01-06 10:53:15 +01:00
<string>Quit</string>
</property>
2026-01-06 13:05:19 +01:00
<property name="icon">
<iconset resource="bionxcontrol.qrc">
2026-01-06 20:22:12 +01:00
<normaloff>:/exit_red.png</normaloff>:/exit_red.png</iconset>
2026-01-06 13:05:19 +01:00
</property>
2026-01-06 10:53:15 +01:00
<property name="iconSize">
<size>
2026-01-07 22:20:39 +01:00
<width>64</width>
<height>64</height>
2026-01-06 10:53:15 +01:00
</size>
2025-12-29 20:10:05 +01:00
</property>
2026-01-06 10:53:15 +01:00
<property name="autoRaise">
2025-12-29 20:10:05 +01:00
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QStackedWidget" name="_stackedWidget">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
2025-12-29 23:47:31 +01:00
<string notr="true"/>
2025-12-29 20:10:05 +01:00
</property>
<property name="lineWidth">
<number>0</number>
</property>
<property name="currentIndex">
2026-01-10 22:18:54 +01:00
<number>1</number>
2025-12-29 20:10:05 +01:00
</property>
2025-12-29 23:47:31 +01:00
<widget class="BCDeviceView" name="_consolePanel">
2025-12-30 00:15:54 +01:00
<property name="frameShape">
<enum>QFrame::Shape::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Shadow::Plain</enum>
</property>
<property name="lineWidth">
<number>0</number>
</property>
2026-01-10 22:18:54 +01:00
<property name="editTriggers">
<set>QAbstractItemView::EditTrigger::AnyKeyPressed|QAbstractItemView::EditTrigger::DoubleClicked|QAbstractItemView::EditTrigger::EditKeyPressed|QAbstractItemView::EditTrigger::SelectedClicked</set>
</property>
2025-12-29 23:47:31 +01:00
<property name="showGrid">
<bool>false</bool>
</property>
<property name="gridStyle">
<enum>Qt::PenStyle::NoPen</enum>
</property>
2025-12-31 13:38:46 +01:00
<property name="BCHeaderLabel" stdset="0">
<string>Console Settings</string>
</property>
<attribute name="horizontalHeaderVisible">
<bool>false</bool>
</attribute>
2025-12-29 23:47:31 +01:00
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
</attribute>
2025-12-30 12:36:41 +01:00
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
2025-12-29 23:47:31 +01:00
</widget>
<widget class="BCDeviceView" name="_motorPanel">
2025-12-30 00:15:54 +01:00
<property name="frameShape">
<enum>QFrame::Shape::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Shadow::Plain</enum>
</property>
<property name="lineWidth">
<number>0</number>
</property>
2026-01-10 22:18:54 +01:00
<property name="editTriggers">
<set>QAbstractItemView::EditTrigger::AnyKeyPressed|QAbstractItemView::EditTrigger::DoubleClicked|QAbstractItemView::EditTrigger::EditKeyPressed|QAbstractItemView::EditTrigger::SelectedClicked</set>
</property>
2025-12-29 23:47:31 +01:00
<property name="showGrid">
<bool>false</bool>
</property>
<property name="gridStyle">
<enum>Qt::PenStyle::NoPen</enum>
</property>
2025-12-31 13:38:46 +01:00
<property name="BCHeaderLabel" stdset="0">
<string>Motor Settings</string>
</property>
<attribute name="horizontalHeaderVisible">
<bool>false</bool>
</attribute>
2025-12-29 23:47:31 +01:00
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
</attribute>
2025-12-30 12:36:41 +01:00
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
2025-12-29 23:47:31 +01:00
</widget>
<widget class="BCDeviceView" name="_batteryPanel">
2025-12-30 00:15:54 +01:00
<property name="frameShape">
<enum>QFrame::Shape::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Shadow::Plain</enum>
</property>
<property name="lineWidth">
<number>0</number>
</property>
2026-01-10 22:18:54 +01:00
<property name="editTriggers">
<set>QAbstractItemView::EditTrigger::AnyKeyPressed|QAbstractItemView::EditTrigger::DoubleClicked|QAbstractItemView::EditTrigger::EditKeyPressed|QAbstractItemView::EditTrigger::SelectedClicked</set>
</property>
2025-12-29 23:47:31 +01:00
<property name="showGrid">
<bool>false</bool>
</property>
<property name="gridStyle">
<enum>Qt::PenStyle::NoPen</enum>
</property>
2025-12-31 13:38:46 +01:00
<property name="BCHeaderLabel" stdset="0">
<string>Battery Settings</string>
</property>
<attribute name="horizontalHeaderVisible">
<bool>false</bool>
</attribute>
2025-12-29 23:47:31 +01:00
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
</attribute>
2025-12-30 12:36:41 +01:00
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
2025-12-29 23:47:31 +01:00
</widget>
2025-12-29 20:10:05 +01:00
</widget>
</item>
</layout>
2025-12-16 00:14:03 +01:00
</item>
</layout>
</widget>
2026-01-09 10:47:29 +01:00
<widget class="QStatusBar" name="_statusBar"/>
2025-12-26 12:04:02 +01:00
<action name="_motorAction">
2026-01-06 22:39:41 +01:00
<property name="checkable">
<bool>true</bool>
</property>
2025-12-21 23:20:22 +01:00
<property name="icon">
<iconset>
<normaloff>:bionx_motor.png</normaloff>:bionx_motor.png</iconset>
</property>
<property name="text">
<string>motor</string>
</property>
<property name="toolTip">
2026-01-06 13:05:19 +01:00
<string>Motoreinstellungen anzeigen und bearbeiten</string>
2025-12-21 23:20:22 +01:00
</property>
</action>
2025-12-26 12:04:02 +01:00
<action name="_batteryAction">
2026-01-06 22:39:41 +01:00
<property name="checkable">
<bool>true</bool>
</property>
2025-12-21 23:20:22 +01:00
<property name="icon">
<iconset>
<normaloff>:bionx_akku.png</normaloff>:bionx_akku.png</iconset>
</property>
<property name="text">
<string>battery</string>
</property>
<property name="toolTip">
2026-01-06 13:05:19 +01:00
<string>Batterieeinstellungen anzeigen und bearbeiten</string>
2025-12-21 23:20:22 +01:00
</property>
</action>
2025-12-26 12:04:02 +01:00
<action name="_consoleAction">
2026-01-06 22:39:41 +01:00
<property name="checkable">
<bool>true</bool>
</property>
2025-12-21 23:20:22 +01:00
<property name="icon">
<iconset>
<normaloff>:bionx_console.png</normaloff>:bionx_console.png</iconset>
</property>
<property name="text">
<string>console</string>
</property>
<property name="toolTip">
2026-01-06 13:05:19 +01:00
<string>Konseleneinstellungen anzeigen und bearbeiten</string>
2025-12-21 23:20:22 +01:00
</property>
</action>
2025-12-26 12:04:02 +01:00
<action name="_connectAction">
2026-01-09 10:47:29 +01:00
<property name="checkable">
<bool>true</bool>
</property>
2025-12-22 00:14:42 +01:00
<property name="icon">
2026-01-06 22:39:41 +01:00
<iconset resource="bionxcontrol.qrc">
<normaloff>:/connect.png</normaloff>:/connect.png</iconset>
2025-12-22 00:14:42 +01:00
</property>
<property name="text">
<string>connect</string>
</property>
<property name="toolTip">
2026-01-06 13:05:19 +01:00
<string>TinyCAN native Treiber laden</string>
2025-12-22 00:14:42 +01:00
</property>
<property name="menuRole">
<enum>QAction::MenuRole::TextHeuristicRole</enum>
</property>
</action>
2026-01-06 22:39:41 +01:00
<action name="_syncAction">
<property name="icon">
<iconset resource="bionxcontrol.qrc">
2026-01-06 23:06:29 +01:00
<normaloff>:/sync.png</normaloff>:/sync.png</iconset>
2026-01-06 22:39:41 +01:00
</property>
<property name="text">
<string>sync</string>
</property>
<property name="toolTip">
2026-01-09 10:47:29 +01:00
<string>Einstellungen vom eBike synchroniseren</string>
2026-01-06 22:39:41 +01:00
</property>
<property name="menuRole">
<enum>QAction::MenuRole::NoRole</enum>
</property>
</action>
2025-12-15 20:57:09 +01:00
</widget>
2025-12-26 12:04:02 +01:00
<customwidgets>
<customwidget>
2025-12-29 23:29:56 +01:00
<class>BCDeviceView</class>
<extends>QTableView</extends>
<header location="global">bcdeviceview.h</header>
2025-12-26 12:04:02 +01:00
</customwidget>
</customwidgets>
2025-12-21 23:20:22 +01:00
<resources>
<include location="bionxcontrol.qrc"/>
</resources>
2025-12-15 20:57:09 +01:00
<connections/>
2026-01-06 13:58:02 +01:00
<buttongroups>
<buttongroup name="_buttonGroup"/>
</buttongroups>
2025-12-15 20:57:09 +01:00
</ui>