Skip to content

Commit 226ed94

Browse files
committed
Remove mirror-absolute, it is deprecated
1 parent 891d12f commit 226ed94

File tree

3 files changed

+1
-48
lines changed

3 files changed

+1
-48
lines changed

mainwindow.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ MainWindow::MainWindow(QWidget *parent) :
5757
inputUnits.addButton(ui->inputImperialRadioButton, 1);
5858
outputUnits.addButton(ui->outputMetricRadioButton, 0);
5959
outputUnits.addButton(ui->outputImperialRadioButton, 1);
60-
mirrorType.addButton(ui->mirrorAbsoluteOnRadioButton, 0);
61-
mirrorType.addButton(ui->mirrorAbsoluteOffRadioButton, 1);
6260

6361
pcb2gcodeProcess.setProcessChannelMode(QProcess::MergedChannels);
6462
pcb2gcodeImageProcess.setProcessChannelMode(QProcess::MergedChannels);
@@ -84,7 +82,6 @@ MainWindow::MainWindow(QWidget *parent) :
8482
args[ COMMONARGS ].insert("tolerance", ui->toleranceDoubleSpinBox);
8583
args[ COMMONARGS ].insert("optimise", ui->optimiseCheckBox);
8684
args[ COMMONARGS ].insert("zero-start", ui->zerostartCheckBox);
87-
args[ COMMONARGS ].insert("mirror-absolute", &mirrorType);
8885
args[ COMMONARGS ].insert("dpi", ui->dpiSpinBox);
8986
args[ COMMONARGS ].insert("tile-x", ui->tilexSpinBox);
9087
args[ COMMONARGS ].insert("tile-y", ui->tileySpinBox);

mainwindow.ui

Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
</property>
4343
<property name="minimumSize">
4444
<size>
45-
<width>445</width>
45+
<width>545</width>
4646
<height>485</height>
4747
</size>
4848
</property>
@@ -750,49 +750,6 @@
750750
</property>
751751
</widget>
752752
</item>
753-
<item row="10" column="1">
754-
<layout class="QHBoxLayout" name="mirrorAbsoluteHorizontalLayout">
755-
<item>
756-
<widget class="QRadioButton" name="mirrorAbsoluteOffRadioButton">
757-
<property name="toolTip">
758-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;--mirror-absolute=off&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Mirror operations on the back side along the vertical straight line on the board center&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
759-
</property>
760-
<property name="text">
761-
<string>Board center</string>
762-
</property>
763-
<property name="checked">
764-
<bool>true</bool>
765-
</property>
766-
<property name="autoExclusive">
767-
<bool>false</bool>
768-
</property>
769-
</widget>
770-
</item>
771-
<item>
772-
<widget class="QRadioButton" name="mirrorAbsoluteOnRadioButton">
773-
<property name="toolTip">
774-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;--mirror-absolute=on&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Mirror operations on the back side along the Y axis&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
775-
</property>
776-
<property name="text">
777-
<string>Y axis</string>
778-
</property>
779-
<property name="autoExclusive">
780-
<bool>false</bool>
781-
</property>
782-
</widget>
783-
</item>
784-
</layout>
785-
</item>
786-
<item row="10" column="0">
787-
<widget class="QLabel" name="mirrorAbsoluteLabel">
788-
<property name="toolTip">
789-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;--mirror-absolute&lt;/span&gt;&lt;/p&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>
790-
</property>
791-
<property name="text">
792-
<string>Backside mirroring</string>
793-
</property>
794-
</widget>
795-
</item>
796753
<item row="13" column="0" colspan="2">
797754
<spacer name="verticalSpacer_7">
798755
<property name="orientation">

settings.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,3 @@ static const QString text_file_filter = "Text files (*.*)";
5454
static const QVector<int> targetVersion(QVector<int>() << 1 << 3 << 2);
5555

5656
#endif // SETTINGS
57-

0 commit comments

Comments
 (0)