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")));
|
||||
});
|
||||
|
||||
connect(ui->actionOnlineHelp, &QAction::triggered, RECEIVER(this)[this]()
|
||||
connect(ui->actionWiki, &QAction::triggered, RECEIVER(this)[this]()
|
||||
{
|
||||
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);
|
||||
|
|
|
@ -1645,7 +1645,8 @@
|
|||
<property name="title">
|
||||
<string>&Help</string>
|
||||
</property>
|
||||
<addaction name="actionOnlineHelp"/>
|
||||
<addaction name="actionWiki"/>
|
||||
<addaction name="actionForum"/>
|
||||
<addaction name="actionReportBug"/>
|
||||
<addaction name="actionAbout_Qt"/>
|
||||
<addaction name="actionAbout_Valentina"/>
|
||||
|
@ -2359,13 +2360,13 @@
|
|||
<enum>QAction::NoRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionOnlineHelp">
|
||||
<action name="actionWiki">
|
||||
<property name="icon">
|
||||
<iconset theme="help-contents">
|
||||
<normaloff>.</normaloff>.</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Online help</string>
|
||||
<string>Wiki</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Show online help</string>
|
||||
|
@ -2628,6 +2629,14 @@
|
|||
<enum>QAction::NoRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionForum">
|
||||
<property name="text">
|
||||
<string>Forum</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::NoRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<layoutdefault spacing="6" margin="11"/>
|
||||
<customwidgets>
|
||||
|
@ -2638,8 +2647,8 @@
|
|||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources>
|
||||
<include location="../../libs/vmisc/share/resources/icon.qrc"/>
|
||||
<include location="share/resources/toolicon.qrc"/>
|
||||
<include location="../../libs/vmisc/share/resources/icon.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
|
Loading…
Reference in New Issue
Block a user