Skip to content

Commit 51bb743

Browse files
committed
Addons: correct the UI
1 parent 299dbcc commit 51bb743

4 files changed

Lines changed: 4 additions & 42 deletions

File tree

addons/src/addons-actions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ void Addons::Actions::doInsertSpaces()
394394
}
395395

396396
LongJobHelper helper{GCodeWorkShop::instance()};
397-
helper.begin(ctx.text().length(), tr("Insert space", "Slow operation title in MDIChild"));
397+
helper.begin(ctx.text().length(), tr("Inserting space"));
398398

399399
int changed = Utils::insertSpaces(ctx.text(), [&helper](int pos) -> bool{
400400
return helper.check(pos) == LongJobHelper::CANCEL;
@@ -416,7 +416,7 @@ void Addons::Actions::doRemoveSpaces()
416416
}
417417

418418
LongJobHelper helper{GCodeWorkShop::instance()};
419-
helper.begin(ctx.text().length(), tr("Remove space", "Slow operation title in MDIChild"));
419+
helper.begin(ctx.text().length(), tr("Removing space"));
420420

421421
int changed = Utils::removeSpaces(ctx.text(), [&helper](int pos) -> bool{
422422
return helper.check(pos) == LongJobHelper::CANCEL;

addons/src/dot/dotdialog.ui

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,7 @@
2727
</widget>
2828
</item>
2929
<item>
30-
<widget class="QLineEdit" name="mInput">
31-
<property name="inputMask">
32-
<string>&gt;Aaaaaaaaaaaaaaaaaaaaa; </string>
33-
</property>
34-
</widget>
30+
<widget class="QLineEdit" name="mInput"/>
3531
</item>
3632
</layout>
3733
</item>

addons/src/i2mprog/i2mprogdialog.ui

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,9 @@
3131
</item>
3232
<item>
3333
<widget class="QLineEdit" name="mInput">
34-
<property name="inputMask">
35-
<string>Aaaaaaaaaaaaaaa;_</string>
36-
</property>
3734
<property name="text">
3835
<string>XYZ</string>
3936
</property>
40-
<property name="cursorPosition">
41-
<number>0</number>
42-
</property>
4337
</widget>
4438
</item>
4539
<item>

addons/src/swapaxes/swapaxesdialog.ui

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
<item row="0" column="0">
201201
<widget class="QLabel" name="label">
202202
<property name="text">
203-
<string>Swap: </string>
203+
<string>Swap:</string>
204204
</property>
205205
</widget>
206206
</item>
@@ -386,33 +386,6 @@
386386
</item>
387387
</layout>
388388
</item>
389-
<item>
390-
<layout class="QHBoxLayout" name="horizontalLayout_2">
391-
<item>
392-
<spacer name="horizontalSpacer_4">
393-
<property name="orientation">
394-
<enum>Qt::Horizontal</enum>
395-
</property>
396-
<property name="sizeHint" stdset="0">
397-
<size>
398-
<width>40</width>
399-
<height>20</height>
400-
</size>
401-
</property>
402-
</spacer>
403-
</item>
404-
<item>
405-
<widget class="QCheckBox" name="saveAtCloseCheckBox">
406-
<property name="text">
407-
<string>Remember the values at closing</string>
408-
</property>
409-
<property name="checked">
410-
<bool>true</bool>
411-
</property>
412-
</widget>
413-
</item>
414-
</layout>
415-
</item>
416389
<item>
417390
<layout class="QHBoxLayout" name="horizontalLayout">
418391
<item>
@@ -464,7 +437,6 @@
464437
<tabstop>modifyCheckBox</tabstop>
465438
<tabstop>operatorComboBox</tabstop>
466439
<tabstop>modiferDoubleSpinBox</tabstop>
467-
<tabstop>saveAtCloseCheckBox</tabstop>
468440
<tabstop>buttonBox</tabstop>
469441
</tabstops>
470442
<resources>

0 commit comments

Comments
 (0)