Shortcut to quickly enable/disable Interactive tools mode.
(cherry picked from commit 80ba9e9961
)
This commit is contained in:
parent
525dac06de
commit
0b56ca464f
|
@ -13,6 +13,7 @@
|
||||||
- Improve error messages while import CSV data.
|
- Improve error messages while import CSV data.
|
||||||
- [smart-pattern/valentina#189] Fix regression in dialog Known measurements.
|
- [smart-pattern/valentina#189] Fix regression in dialog Known measurements.
|
||||||
- New option. Default piece label template for new pieces.
|
- New option. Default piece label template for new pieces.
|
||||||
|
- Shortcut to quickly enable/disable Interactive tools mode.
|
||||||
|
|
||||||
# Valentina 0.7.52 September 12, 2022
|
# Valentina 0.7.52 September 12, 2022
|
||||||
- Fix crash when default locale is ru.
|
- Fix crash when default locale is ru.
|
||||||
|
|
|
@ -5632,6 +5632,12 @@ void MainWindow::CreateActions()
|
||||||
|
|
||||||
connect(ui->actionLast_tool, &QAction::triggered, this, &MainWindow::LastUsedTool);
|
connect(ui->actionLast_tool, &QAction::triggered, this, &MainWindow::LastUsedTool);
|
||||||
|
|
||||||
|
ui->actionInteractiveTools->setChecked(VAbstractValApplication::VApp()->ValentinaSettings()->IsInteractiveTools());
|
||||||
|
connect(ui->actionInteractiveTools, &QAction::triggered, this, [this](bool checked)
|
||||||
|
{
|
||||||
|
VAbstractValApplication::VApp()->ValentinaSettings()->SetInteractiveTools(checked);
|
||||||
|
});
|
||||||
|
|
||||||
connect(ui->actionPattern_properties, &QAction::triggered, this, [this]()
|
connect(ui->actionPattern_properties, &QAction::triggered, this, [this]()
|
||||||
{
|
{
|
||||||
DialogPatternProperties proper(doc, pattern, this);
|
DialogPatternProperties proper(doc, pattern, this);
|
||||||
|
|
|
@ -1776,6 +1776,7 @@
|
||||||
<addaction name="actionHideLabels"/>
|
<addaction name="actionHideLabels"/>
|
||||||
<addaction name="separator"/>
|
<addaction name="separator"/>
|
||||||
<addaction name="actionLast_tool"/>
|
<addaction name="actionLast_tool"/>
|
||||||
|
<addaction name="actionInteractiveTools"/>
|
||||||
<addaction name="actionShowCurveDetails"/>
|
<addaction name="actionShowCurveDetails"/>
|
||||||
<addaction name="actionShowMainPath"/>
|
<addaction name="actionShowMainPath"/>
|
||||||
<addaction name="actionShowAccuracyRadius"/>
|
<addaction name="actionShowAccuracyRadius"/>
|
||||||
|
@ -3194,6 +3195,20 @@
|
||||||
<string>Show accuracy radius</string>
|
<string>Show accuracy radius</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="actionInteractiveTools">
|
||||||
|
<property name="checkable">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Interactive tools</string>
|
||||||
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string>Ctrl+D</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
<layoutdefault spacing="6" margin="11"/>
|
<layoutdefault spacing="6" margin="11"/>
|
||||||
<customwidgets>
|
<customwidgets>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user