Skip to content

Commit f4a9438

Browse files
committed
Update layout and number of registers
1 parent 1062d0f commit f4a9438

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

src/mainwindow.ui

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>1006</width>
10-
<height>611</height>
9+
<width>700</width>
10+
<height>584</height>
1111
</rect>
1212
</property>
1313
<property name="windowTitle">
@@ -24,16 +24,19 @@
2424
</property>
2525
<layout class="QVBoxLayout" name="verticalLayout">
2626
<item>
27-
<layout class="QHBoxLayout" name="horizontalLayout_2">
27+
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,1">
2828
<item>
29-
<widget class="QRadioButton" name="radioButton">
29+
<widget class="QRadioButton" name="optErrorOnce">
30+
<property name="layoutDirection">
31+
<enum>Qt::LeftToRight</enum>
32+
</property>
3033
<property name="text">
3134
<string>Once</string>
3235
</property>
3336
</widget>
3437
</item>
3538
<item>
36-
<widget class="QRadioButton" name="radioButton_2">
39+
<widget class="QRadioButton" name="optErrorPersistent">
3740
<property name="text">
3841
<string>Persistent</string>
3942
</property>

testslave/testslavedata.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class TestSlaveData : public QObject
99
{
1010
Q_OBJECT
1111
public:
12-
explicit TestSlaveData(quint32 registerCount = 100);
12+
explicit TestSlaveData(quint32 registerCount = 50);
1313
~TestSlaveData();
1414

1515
uint size();

0 commit comments

Comments
 (0)