tab widget

started working on implementation
This commit is contained in:
2026-02-14 14:32:06 +01:00
parent 7d3ddd7337
commit b98330ba76
7 changed files with 153 additions and 1 deletions
+1
View File
@@ -23,6 +23,7 @@ Test_Sim::Test_Sim(Web_socket_wrapper *web_socket, QWidget *parent)
PUSH_UI_ITEM(spinBox);
PUSH_UI_ITEM(doubleSpinBox);
PUSH_UI_ITEM(hexSpinBox);
PUSH_UI_ITEM(tabWidget);
}
Test_Sim::~Test_Sim()
+23 -1
View File
@@ -123,6 +123,28 @@
<item row="3" column="1">
<widget class="HexSpinBox" name="hexSpinBox"/>
</item>
<item row="0" column="1">
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>2</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>Tab 1</string>
</attribute>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>Tab 2</string>
</attribute>
</widget>
<widget class="QWidget" name="tab_3">
<attribute name="title">
<string>Tab 3</string>
</attribute>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
@@ -131,7 +153,7 @@
<x>0</x>
<y>0</y>
<width>800</width>
<height>23</height>
<height>24</height>
</rect>
</property>
</widget>