Shortcut to quickly enable/disable Interactive tools mode.
This commit is contained in:
parent
664bbe9afe
commit
80ba9e9961
|
@ -13,6 +13,7 @@
|
|||
- Improve error messages while import CSV data.
|
||||
- [smart-pattern/valentina#189] Fix regression in dialog Known measurements.
|
||||
- New option. Default piece label template for new pieces.
|
||||
- Shortcut to quickly enable/disable Interactive tools mode.
|
||||
|
||||
# Valentina 0.7.52 September 12, 2022
|
||||
- Fix crash when default locale is ru.
|
||||
|
|
|
@ -5632,6 +5632,12 @@ void MainWindow::CreateActions()
|
|||
|
||||
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]()
|
||||
{
|
||||
DialogPatternProperties proper(doc, pattern, this);
|
||||
|
|
|
@ -1776,6 +1776,7 @@
|
|||
<addaction name="actionHideLabels"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionLast_tool"/>
|
||||
<addaction name="actionInteractiveTools"/>
|
||||
<addaction name="actionShowCurveDetails"/>
|
||||
<addaction name="actionShowMainPath"/>
|
||||
<addaction name="actionShowAccuracyRadius"/>
|
||||
|
@ -3194,13 +3195,27 @@
|
|||
<string>Show accuracy radius</string>
|
||||
</property>
|
||||
</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>
|
||||
<layoutdefault spacing="6" margin="11"/>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>VMainGraphicsView</class>
|
||||
<extends>QGraphicsView</extends>
|
||||
<header>vmaingraphicsview.h</header>
|
||||
<class>VPlainTextEdit</class>
|
||||
<extends>QPlainTextEdit</extends>
|
||||
<header location="global">vplaintextedit.h</header>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>VLineEdit</class>
|
||||
|
@ -3208,9 +3223,9 @@
|
|||
<header>vlineedit.h</header>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>VPlainTextEdit</class>
|
||||
<extends>QPlainTextEdit</extends>
|
||||
<header>vplaintextedit.h</header>
|
||||
<class>VMainGraphicsView</class>
|
||||
<extends>QGraphicsView</extends>
|
||||
<header>vmaingraphicsview.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources>
|
||||
|
|
Loading…
Reference in New Issue
Block a user