Add link to our shop.

This commit is contained in:
Roman Telezhynskyi 2021-06-22 16:38:12 +03:00
parent 4bf9a70a65
commit 5eaff85a60
2 changed files with 19 additions and 8 deletions

View File

@ -4917,6 +4917,11 @@ void MainWindow::CreateActions()
qCDebug(vMainWindow, "Reporting bug");
QDesktopServices::openUrl(QUrl(QStringLiteral("https://gitlab.com/smart-pattern/valentina/issues/new")));
});
connect(ui->actionShop, &QAction::triggered, this, []()
{
qCDebug(vMainWindow, "Open shop");
QDesktopServices::openUrl(QUrl(QStringLiteral("https://smart-pattern.com.ua/catalogue/")));
});
connect(ui->actionLast_tool, &QAction::triggered, this, &MainWindow::LastUsedTool);

View File

@ -372,7 +372,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>104</width>
<width>140</width>
<height>108</height>
</rect>
</property>
@ -481,7 +481,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>104</width>
<width>126</width>
<height>243</height>
</rect>
</property>
@ -746,7 +746,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>104</width>
<width>126</width>
<height>282</height>
</rect>
</property>
@ -1037,7 +1037,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>98</width>
<width>140</width>
<height>102</height>
</rect>
</property>
@ -1120,7 +1120,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>104</width>
<width>126</width>
<height>192</height>
</rect>
</property>
@ -1324,7 +1324,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>104</width>
<width>126</width>
<height>237</height>
</rect>
</property>
@ -1589,8 +1589,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>104</width>
<height>57</height>
<width>140</width>
<height>168</height>
</rect>
</property>
<attribute name="icon">
@ -1728,6 +1728,7 @@
<string>&amp;Help</string>
</property>
<addaction name="actionReportBug"/>
<addaction name="actionShop"/>
<addaction name="actionAbout_Qt"/>
<addaction name="actionAbout_Valentina"/>
</widget>
@ -3026,6 +3027,11 @@
<string>Create or edit a watermark</string>
</property>
</action>
<action name="actionShop">
<property name="text">
<string>Shop</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>