Resolved issue #721. Rename "Piece Path" to "Internal Path" tool.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-08-27 09:03:46 +03:00
parent f6447476e2
commit 9b7aee0e7e
2 changed files with 7 additions and 7 deletions

View file

@ -1946,7 +1946,7 @@ void MainWindow::InitToolButtons()
connect(ui->toolButtonCubicBezierPath, &QToolButton::clicked, this, &MainWindow::ToolCubicBezierPath); connect(ui->toolButtonCubicBezierPath, &QToolButton::clicked, this, &MainWindow::ToolCubicBezierPath);
connect(ui->toolButtonPointOfContact, &QToolButton::clicked, this, &MainWindow::ToolPointOfContact); connect(ui->toolButtonPointOfContact, &QToolButton::clicked, this, &MainWindow::ToolPointOfContact);
connect(ui->toolButtonNewDetail, &QToolButton::clicked, this, &MainWindow::ToolDetail); 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->toolButtonHeight, &QToolButton::clicked, this, &MainWindow::ToolHeight);
connect(ui->toolButtonTriangle, &QToolButton::clicked, this, &MainWindow::ToolTriangle); connect(ui->toolButtonTriangle, &QToolButton::clicked, this, &MainWindow::ToolTriangle);
connect(ui->toolButtonPointOfIntersection, &QToolButton::clicked, this, &MainWindow::ToolPointOfIntersection); connect(ui->toolButtonPointOfIntersection, &QToolButton::clicked, this, &MainWindow::ToolPointOfIntersection);
@ -2096,7 +2096,7 @@ void MainWindow::CancelTool()
ui->toolButtonNewDetail->setChecked(false); ui->toolButtonNewDetail->setChecked(false);
break; break;
case Tool::PiecePath: case Tool::PiecePath:
ui->toolButtonPiecePath->setChecked(false); ui->toolButtonInternalPath->setChecked(false);
break; break;
case Tool::Height: case Tool::Height:
ui->toolButtonHeight->setChecked(false); ui->toolButtonHeight->setChecked(false);
@ -3327,7 +3327,7 @@ void MainWindow::SetEnableTool(bool enable)
ui->toolButtonCubicBezierPath->setEnabled(drawTools); ui->toolButtonCubicBezierPath->setEnabled(drawTools);
ui->toolButtonPointOfContact->setEnabled(drawTools); ui->toolButtonPointOfContact->setEnabled(drawTools);
ui->toolButtonNewDetail->setEnabled(drawTools); ui->toolButtonNewDetail->setEnabled(drawTools);
ui->toolButtonPiecePath->setEnabled(drawTools); ui->toolButtonInternalPath->setEnabled(drawTools);
ui->toolButtonHeight->setEnabled(drawTools); ui->toolButtonHeight->setEnabled(drawTools);
ui->toolButtonTriangle->setEnabled(drawTools); ui->toolButtonTriangle->setEnabled(drawTools);
ui->toolButtonPointOfIntersection->setEnabled(drawTools); ui->toolButtonPointOfIntersection->setEnabled(drawTools);
@ -3729,7 +3729,7 @@ void MainWindow::LastUsedTool()
ToolDetail(true); ToolDetail(true);
break; break;
case Tool::PiecePath: case Tool::PiecePath:
ui->toolButtonPiecePath->setChecked(true); ui->toolButtonInternalPath->setChecked(true);
ToolPiecePath(true); ToolPiecePath(true);
break; break;
case Tool::Height: case Tool::Height:

View file

@ -1427,12 +1427,12 @@
</widget> </widget>
</item> </item>
<item row="2" column="0"> <item row="2" column="0">
<widget class="QToolButton" name="toolButtonPiecePath"> <widget class="QToolButton" name="toolButtonInternalPath">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Piece path tool</string> <string>Internal path tool</string>
</property> </property>
<property name="text"> <property name="text">
<string notr="true">...</string> <string notr="true">...</string>
@ -2685,8 +2685,8 @@
</customwidget> </customwidget>
</customwidgets> </customwidgets>
<resources> <resources>
<include location="share/resources/toolicon.qrc"/>
<include location="../../libs/vmisc/share/resources/icon.qrc"/> <include location="../../libs/vmisc/share/resources/icon.qrc"/>
<include location="share/resources/toolicon.qrc"/>
</resources> </resources>
<connections/> <connections/>
</ui> </ui>