Skip to content

Commit 5528a60

Browse files
committed
Added zero-start option
1 parent f827d3e commit 5528a60

File tree

1 file changed

+38
-25
lines changed

1 file changed

+38
-25
lines changed

mainwindow.ui

Lines changed: 38 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<x>0</x>
88
<y>0</y>
99
<width>795</width>
10-
<height>466</height>
10+
<height>467</height>
1111
</rect>
1212
</property>
1313
<property name="sizePolicy">
@@ -29,7 +29,7 @@
2929
<x>440</x>
3030
<y>10</y>
3131
<width>341</width>
32-
<height>381</height>
32+
<height>391</height>
3333
</rect>
3434
</property>
3535
<property name="toolTip">
@@ -57,7 +57,7 @@
5757
<x>10</x>
5858
<y>70</y>
5959
<width>311</width>
60-
<height>248</height>
60+
<height>277</height>
6161
</rect>
6262
</property>
6363
<layout class="QGridLayout" name="gridLayout">
@@ -167,7 +167,7 @@
167167
</property>
168168
</widget>
169169
</item>
170-
<item row="5" column="0">
170+
<item row="6" column="0">
171171
<widget class="QCheckBox" name="mirrorabsoluteCheckBox">
172172
<property name="toolTip">
173173
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Mirror operations on the back side along the Y axis instead of the board center, which is the default&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
@@ -177,7 +177,26 @@
177177
</property>
178178
</widget>
179179
</item>
180-
<item row="6" column="0">
180+
<item row="8" column="1">
181+
<widget class="QSpinBox" name="dpiSpinBox">
182+
<property name="toolTip">
183+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Resolution used internally&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
184+
</property>
185+
<property name="minimum">
186+
<number>1</number>
187+
</property>
188+
<property name="maximum">
189+
<number>10000</number>
190+
</property>
191+
<property name="singleStep">
192+
<number>100</number>
193+
</property>
194+
<property name="value">
195+
<number>1000</number>
196+
</property>
197+
</widget>
198+
</item>
199+
<item row="7" column="0">
181200
<widget class="QCheckBox" name="svgCheckBox">
182201
<property name="toolTip">
183202
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Output SVG file (&lt;font color=&quot;Red&quot;&gt;EXPERIMENTAL&lt;/font&gt;)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
@@ -187,7 +206,7 @@
187206
</property>
188207
</widget>
189208
</item>
190-
<item row="7" column="0">
209+
<item row="8" column="0">
191210
<widget class="QLabel" name="dpiLabel">
192211
<property name="toolTip">
193212
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Resolution used internally&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
@@ -197,32 +216,26 @@
197216
</property>
198217
</widget>
199218
</item>
200-
<item row="7" column="1">
201-
<widget class="QSpinBox" name="dpiSpinBox">
219+
<item row="2" column="0">
220+
<widget class="QCheckBox" name="g64CheckBox">
202221
<property name="toolTip">
203-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Resolution used internally&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
204-
</property>
205-
<property name="minimum">
206-
<number>1</number>
207-
</property>
208-
<property name="maximum">
209-
<number>10000</number>
210-
</property>
211-
<property name="singleStep">
212-
<number>100</number>
222+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enable the custom g64 value&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
213223
</property>
214-
<property name="value">
215-
<number>1000</number>
224+
<property name="text">
225+
<string>custom g64</string>
216226
</property>
217227
</widget>
218228
</item>
219-
<item row="2" column="0">
220-
<widget class="QCheckBox" name="g64CheckBox">
229+
<item row="5" column="0">
230+
<widget class="QCheckBox" name="zerostartCheckBox">
221231
<property name="toolTip">
222-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enable the custom g64 value&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
232+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;set the starting point of the project at (0,0). With this option, the projet will be between (0,0) and (max_x_value, max_y_value) (positive values)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
223233
</property>
224234
<property name="text">
225-
<string>custom g64</string>
235+
<string>zero-start</string>
236+
</property>
237+
<property name="checked">
238+
<bool>true</bool>
226239
</property>
227240
</widget>
228241
</item>
@@ -1438,7 +1451,7 @@
14381451
<property name="geometry">
14391452
<rect>
14401453
<x>340</x>
1441-
<y>400</y>
1454+
<y>410</y>
14421455
<width>131</width>
14431456
<height>23</height>
14441457
</rect>

0 commit comments

Comments
 (0)