Umstellung der UI Einbindung

(ohne vorherige Kompilierung)
This commit is contained in:
2023-11-08 16:31:18 +01:00
parent bc12ba220c
commit b81fd82bab
3 changed files with 96 additions and 99 deletions

152
pyqt5.ui
View File

@@ -7,8 +7,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>570</width>
<height>356</height>
<width>500</width>
<height>305</height>
</rect>
</property>
<property name="sizePolicy">
@@ -27,89 +27,83 @@
<string>HT-Gui</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>491</width>
<height>261</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="sizeConstraint">
<enum>QLayout::SetMinAndMaxSize</enum>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>4</number>
</property>
<property name="sizeConstraint">
<enum>QLayout::SetMinAndMaxSize</enum>
</property>
<item>
<widget class="QLabel" name="lbl_eins">
<property name="text">
<string>Das Label</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pBtn_laden">
<property name="text">
<string>Laden</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pBtn_schliessen">
<property name="text">
<string>Schließen</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="sizeConstraint">
<enum>QLayout::SetMinAndMaxSize</enum>
</property>
<item>
<widget class="QTableView" name="tbl_geraete"/>
</item>
<item>
<widget class="QPushButton" name="pBtn_ok">
<property name="text">
<string>Okay</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pBtn_abbrechen">
<property name="text">
<string>Abbrechen</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="sizeConstraint">
<enum>QLayout::SetMinAndMaxSize</enum>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>4</number>
</property>
<property name="sizeConstraint">
<enum>QLayout::SetMinAndMaxSize</enum>
</property>
<item>
<widget class="QLabel" name="lbl_eins">
<property name="text">
<string>Das Label</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pBtn_laden">
<property name="text">
<string>Laden</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pBtn_schliessen">
<property name="text">
<string>Schließen</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="sizeConstraint">
<enum>QLayout::SetMinAndMaxSize</enum>
</property>
<item>
<widget class="QTableView" name="tbl_geraete"/>
</item>
<item>
<widget class="QPushButton" name="pBtn_ok">
<property name="text">
<string>Okay</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pBtn_abbrechen">
<property name="text">
<string>Abbrechen</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>570</width>
<width>500</width>
<height>22</height>
</rect>
</property>