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"); qCDebug(vMainWindow, "Reporting bug");
QDesktopServices::openUrl(QUrl(QStringLiteral("https://gitlab.com/smart-pattern/valentina/issues/new"))); 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); connect(ui->actionLast_tool, &QAction::triggered, this, &MainWindow::LastUsedTool);

View File

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