Resolved issue #721. Rename "Piece Path" to "Internal Path" tool.
--HG-- branch : develop
This commit is contained in:
parent
f6447476e2
commit
9b7aee0e7e
|
@ -1946,7 +1946,7 @@ void MainWindow::InitToolButtons()
|
|||
connect(ui->toolButtonCubicBezierPath, &QToolButton::clicked, this, &MainWindow::ToolCubicBezierPath);
|
||||
connect(ui->toolButtonPointOfContact, &QToolButton::clicked, this, &MainWindow::ToolPointOfContact);
|
||||
connect(ui->toolButtonNewDetail, &QToolButton::clicked, this, &MainWindow::ToolDetail);
|
||||
connect(ui->toolButtonPiecePath, &QToolButton::clicked, this, &MainWindow::ToolPiecePath);
|
||||
connect(ui->toolButtonInternalPath, &QToolButton::clicked, this, &MainWindow::ToolPiecePath);
|
||||
connect(ui->toolButtonHeight, &QToolButton::clicked, this, &MainWindow::ToolHeight);
|
||||
connect(ui->toolButtonTriangle, &QToolButton::clicked, this, &MainWindow::ToolTriangle);
|
||||
connect(ui->toolButtonPointOfIntersection, &QToolButton::clicked, this, &MainWindow::ToolPointOfIntersection);
|
||||
|
@ -2096,7 +2096,7 @@ void MainWindow::CancelTool()
|
|||
ui->toolButtonNewDetail->setChecked(false);
|
||||
break;
|
||||
case Tool::PiecePath:
|
||||
ui->toolButtonPiecePath->setChecked(false);
|
||||
ui->toolButtonInternalPath->setChecked(false);
|
||||
break;
|
||||
case Tool::Height:
|
||||
ui->toolButtonHeight->setChecked(false);
|
||||
|
@ -3327,7 +3327,7 @@ void MainWindow::SetEnableTool(bool enable)
|
|||
ui->toolButtonCubicBezierPath->setEnabled(drawTools);
|
||||
ui->toolButtonPointOfContact->setEnabled(drawTools);
|
||||
ui->toolButtonNewDetail->setEnabled(drawTools);
|
||||
ui->toolButtonPiecePath->setEnabled(drawTools);
|
||||
ui->toolButtonInternalPath->setEnabled(drawTools);
|
||||
ui->toolButtonHeight->setEnabled(drawTools);
|
||||
ui->toolButtonTriangle->setEnabled(drawTools);
|
||||
ui->toolButtonPointOfIntersection->setEnabled(drawTools);
|
||||
|
@ -3729,7 +3729,7 @@ void MainWindow::LastUsedTool()
|
|||
ToolDetail(true);
|
||||
break;
|
||||
case Tool::PiecePath:
|
||||
ui->toolButtonPiecePath->setChecked(true);
|
||||
ui->toolButtonInternalPath->setChecked(true);
|
||||
ToolPiecePath(true);
|
||||
break;
|
||||
case Tool::Height:
|
||||
|
|
|
@ -1427,12 +1427,12 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QToolButton" name="toolButtonPiecePath">
|
||||
<widget class="QToolButton" name="toolButtonInternalPath">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Piece path tool</string>
|
||||
<string>Internal path tool</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string notr="true">...</string>
|
||||
|
@ -2685,8 +2685,8 @@
|
|||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources>
|
||||
<include location="share/resources/toolicon.qrc"/>
|
||||
<include location="../../libs/vmisc/share/resources/icon.qrc"/>
|
||||
<include location="share/resources/toolicon.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
|
Loading…
Reference in New Issue
Block a user