Skip to content

Commit 83b7ec4

Browse files
committed
Added discription "(1-based)"
1 parent 777726d commit 83b7ec4

1 file changed

Lines changed: 57 additions & 31 deletions

File tree

omodsim/dialogs/dialogdisplaydefinition.ui

Lines changed: 57 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<x>0</x>
88
<y>0</y>
99
<width>350</width>
10-
<height>271</height>
10+
<height>285</height>
1111
</rect>
1212
</property>
1313
<property name="windowTitle">
@@ -156,36 +156,14 @@
156156
</property>
157157
</widget>
158158
</item>
159-
<item row="2" column="1">
160-
<widget class="NumericLineEdit" name="lineEditPointAddress">
161-
<property name="sizePolicy">
162-
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
163-
<horstretch>0</horstretch>
164-
<verstretch>0</verstretch>
165-
</sizepolicy>
166-
</property>
167-
<property name="minimumSize">
168-
<size>
169-
<width>0</width>
170-
<height>25</height>
171-
</size>
172-
</property>
173-
<property name="maximumSize">
174-
<size>
175-
<width>60</width>
176-
<height>16777215</height>
177-
</size>
178-
</property>
179-
</widget>
180-
</item>
181-
<item row="3" column="0">
159+
<item row="4" column="0">
182160
<widget class="QLabel" name="labelLength">
183161
<property name="text">
184162
<string>Length:</string>
185163
</property>
186164
</widget>
187165
</item>
188-
<item row="3" column="1">
166+
<item row="4" column="1">
189167
<widget class="NumericLineEdit" name="lineEditLength">
190168
<property name="sizePolicy">
191169
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
@@ -207,6 +185,55 @@
207185
</property>
208186
</widget>
209187
</item>
188+
<item row="2" column="1">
189+
<layout class="QHBoxLayout" name="horizontalLayout">
190+
<property name="spacing">
191+
<number>8</number>
192+
</property>
193+
<item>
194+
<widget class="NumericLineEdit" name="lineEditPointAddress">
195+
<property name="sizePolicy">
196+
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
197+
<horstretch>0</horstretch>
198+
<verstretch>0</verstretch>
199+
</sizepolicy>
200+
</property>
201+
<property name="minimumSize">
202+
<size>
203+
<width>0</width>
204+
<height>25</height>
205+
</size>
206+
</property>
207+
<property name="maximumSize">
208+
<size>
209+
<width>60</width>
210+
<height>16777215</height>
211+
</size>
212+
</property>
213+
</widget>
214+
</item>
215+
<item>
216+
<widget class="QLabel" name="labelAddressBase">
217+
<property name="text">
218+
<string>(1-based)</string>
219+
</property>
220+
</widget>
221+
</item>
222+
<item>
223+
<spacer name="horizontalSpacer">
224+
<property name="orientation">
225+
<enum>Qt::Horizontal</enum>
226+
</property>
227+
<property name="sizeHint" stdset="0">
228+
<size>
229+
<width>40</width>
230+
<height>20</height>
231+
</size>
232+
</property>
233+
</spacer>
234+
</item>
235+
</layout>
236+
</item>
210237
</layout>
211238
</widget>
212239
</item>
@@ -226,21 +253,20 @@
226253
</layout>
227254
</widget>
228255
<customwidgets>
229-
<customwidget>
230-
<class>NumericLineEdit</class>
231-
<extends>QLineEdit</extends>
232-
<header>numericlineedit.h</header>
233-
</customwidget>
234256
<customwidget>
235257
<class>PointTypeComboBox</class>
236258
<extends>QComboBox</extends>
237259
<header>pointtypecombobox.h</header>
238260
</customwidget>
261+
<customwidget>
262+
<class>NumericLineEdit</class>
263+
<extends>QLineEdit</extends>
264+
<header>numericlineedit.h</header>
265+
</customwidget>
239266
</customwidgets>
240267
<tabstops>
241268
<tabstop>lineEditSlaveAddress</tabstop>
242269
<tabstop>comboBoxPointType</tabstop>
243-
<tabstop>lineEditPointAddress</tabstop>
244270
<tabstop>lineEditLength</tabstop>
245271
</tabstops>
246272
<resources/>

0 commit comments

Comments
 (0)