Skip to content

Commit 27ffc2f

Browse files
committed
Added outline options when milldrill is selected
1 parent c45a53e commit 27ffc2f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mainwindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ QStringList MainWindow::getCmdLineArguments()
296296
if( !ui->drillLineEdit->text().isEmpty() )
297297
arguments += args[ DRILLARGS ].getAllArgs(false);
298298

299-
if( !ui->outlineLineEdit->text().isEmpty() )
299+
if( !ui->outlineLineEdit->text().isEmpty() || ui->milldrillCheckBox->isChecked() )
300300
arguments += args[ OUTLINEARGS ].getAllArgs(false);
301301

302302
if ( (ui->alfrontCheckBox->isChecked() || ui->albackCheckBox->isChecked()) &&

mainwindow.ui

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<enum>QTabWidget::Rounded</enum>
4646
</property>
4747
<property name="currentIndex">
48-
<number>0</number>
48+
<number>2</number>
4949
</property>
5050
<widget class="QWidget" name="commonTab">
5151
<attribute name="title">
@@ -574,7 +574,7 @@
574574
<item row="3" column="0">
575575
<widget class="QCheckBox" name="milldrillCheckBox">
576576
<property name="toolTip">
577-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;If milldrill is given, the milling head will be used to drill the holes in the PCB. Holes up to the size of the milling head will be drilled regularly (possibly creating a bigger hole than intended), the other holes are created by moving the head in circles using the feed and infeed parameters used in cutting&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
577+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;If milldrill is given, the milling head will be used to drill the holes in the PCB. Holes up to the size of the milling head will be drilled regularly (possibly creating a bigger hole than intended), the other holes are created by moving the head in circles using the feed and infeed parameters used in cutting&lt;/p&gt;&lt;p&gt;Remember that you have to set also &amp;quot;outline&amp;quot; parameters if you set this option&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
578578
</property>
579579
<property name="layoutDirection">
580580
<enum>Qt::LeftToRight</enum>

0 commit comments

Comments
 (0)