Add link to forum and Wiki.
--HG-- branch : release
This commit is contained in:
parent
534b948b52
commit
45080b7698
|
@ -3854,10 +3854,16 @@ void MainWindow::CreateActions()
|
||||||
QDesktopServices::openUrl(QUrl(QStringLiteral("https://bitbucket.org/dismine/valentina/issues/new")));
|
QDesktopServices::openUrl(QUrl(QStringLiteral("https://bitbucket.org/dismine/valentina/issues/new")));
|
||||||
});
|
});
|
||||||
|
|
||||||
connect(ui->actionOnlineHelp, &QAction::triggered, RECEIVER(this)[this]()
|
connect(ui->actionWiki, &QAction::triggered, RECEIVER(this)[this]()
|
||||||
{
|
{
|
||||||
qCDebug(vMainWindow, "Showing online help");
|
qCDebug(vMainWindow, "Showing online help");
|
||||||
QDesktopServices::openUrl(QUrl(QStringLiteral("https://bitbucket.org/dismine/valentina/wiki/manual/Content")));
|
QDesktopServices::openUrl(QUrl(QStringLiteral("https://wiki.valentinaproject.org/wiki/Main_Page")));
|
||||||
|
});
|
||||||
|
|
||||||
|
connect(ui->actionForum, &QAction::triggered, RECEIVER(this)[this]()
|
||||||
|
{
|
||||||
|
qCDebug(vMainWindow, "Opening forum");
|
||||||
|
QDesktopServices::openUrl(QUrl(QStringLiteral("http://forum.valentina-project.org/")));
|
||||||
});
|
});
|
||||||
|
|
||||||
connect(ui->actionLast_tool, &QAction::triggered, this, &MainWindow::LastUsedTool);
|
connect(ui->actionLast_tool, &QAction::triggered, this, &MainWindow::LastUsedTool);
|
||||||
|
|
|
@ -1645,7 +1645,8 @@
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>&Help</string>
|
<string>&Help</string>
|
||||||
</property>
|
</property>
|
||||||
<addaction name="actionOnlineHelp"/>
|
<addaction name="actionWiki"/>
|
||||||
|
<addaction name="actionForum"/>
|
||||||
<addaction name="actionReportBug"/>
|
<addaction name="actionReportBug"/>
|
||||||
<addaction name="actionAbout_Qt"/>
|
<addaction name="actionAbout_Qt"/>
|
||||||
<addaction name="actionAbout_Valentina"/>
|
<addaction name="actionAbout_Valentina"/>
|
||||||
|
@ -2359,13 +2360,13 @@
|
||||||
<enum>QAction::NoRole</enum>
|
<enum>QAction::NoRole</enum>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionOnlineHelp">
|
<action name="actionWiki">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset theme="help-contents">
|
<iconset theme="help-contents">
|
||||||
<normaloff>.</normaloff>.</iconset>
|
<normaloff>.</normaloff>.</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Online help</string>
|
<string>Wiki</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Show online help</string>
|
<string>Show online help</string>
|
||||||
|
@ -2628,6 +2629,14 @@
|
||||||
<enum>QAction::NoRole</enum>
|
<enum>QAction::NoRole</enum>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="actionForum">
|
||||||
|
<property name="text">
|
||||||
|
<string>Forum</string>
|
||||||
|
</property>
|
||||||
|
<property name="menuRole">
|
||||||
|
<enum>QAction::NoRole</enum>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
<layoutdefault spacing="6" margin="11"/>
|
<layoutdefault spacing="6" margin="11"/>
|
||||||
<customwidgets>
|
<customwidgets>
|
||||||
|
@ -2638,8 +2647,8 @@
|
||||||
</customwidget>
|
</customwidget>
|
||||||
</customwidgets>
|
</customwidgets>
|
||||||
<resources>
|
<resources>
|
||||||
<include location="../../libs/vmisc/share/resources/icon.qrc"/>
|
|
||||||
<include location="share/resources/toolicon.qrc"/>
|
<include location="share/resources/toolicon.qrc"/>
|
||||||
|
<include location="../../libs/vmisc/share/resources/icon.qrc"/>
|
||||||
</resources>
|
</resources>
|
||||||
<connections/>
|
<connections/>
|
||||||
</ui>
|
</ui>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user