Link to User Manual.

--HG--
branch : develop
This commit is contained in:
dismine 2014-12-01 14:11:25 +02:00
parent 05a9c000ce
commit 75428cd07c
7 changed files with 24 additions and 0 deletions

View File

@ -1433,6 +1433,13 @@ void MainWindow::RepotBug()
QDesktopServices::openUrl(QUrl("https://bitbucket.org/dismine/valentina/issues/new"));
}
//---------------------------------------------------------------------------------------------------------------------
void MainWindow::OnlineHelp()
{
qCDebug(vMainWindow)<<"Showing online help";
QDesktopServices::openUrl(QUrl("https://bitbucket.org/dismine/valentina/wiki/manual/Content"));
}
//---------------------------------------------------------------------------------------------------------------------
/**
* @brief Clear reset to default window.
@ -2212,6 +2219,7 @@ void MainWindow::CreateActions()
connect(ui->actionExit, &QAction::triggered, this, &MainWindow::close);
connect(ui->actionPreferences, &QAction::triggered, this, &MainWindow::Preferences);
connect(ui->actionRepotBug, &QAction::triggered, this, &MainWindow::RepotBug);
connect(ui->actionOnlineHelp, &QAction::triggered, this, &MainWindow::OnlineHelp);
connect(ui->actionPattern_properties, &QAction::triggered, this, &MainWindow::PatternProperties);
ui->actionPattern_properties->setEnabled(false);
connect(ui->actionEdit_pattern_code, &QAction::triggered, this, &MainWindow::EditPatternCode);

View File

@ -77,6 +77,7 @@ public slots:
void Open();
void Preferences();
void RepotBug();
void OnlineHelp();
void NewPattern();
void ShowToolTip(const QString &toolTip);
void OpenRecentFile();

View File

@ -779,6 +779,7 @@
<property name="title">
<string>&amp;Help</string>
</property>
<addaction name="actionOnlineHelp"/>
<addaction name="actionRepotBug"/>
<addaction name="actionAbout_Qt"/>
<addaction name="actionAbout_Valentina"/>
@ -1261,6 +1262,17 @@
<string>Close window</string>
</property>
</action>
<action name="actionOnlineHelp">
<property name="icon">
<iconset theme="help-contents"/>
</property>
<property name="text">
<string>Online help</string>
</property>
<property name="toolTip">
<string>Show online help</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>

Binary file not shown.

After

Width:  |  Height:  |  Size: 797 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -58,5 +58,8 @@
<file alias="16x16/actions/edit-delete.png">icons/win.icon.theme/16x16/actions/edit-delete.png</file>
<file alias="24x24/actions/edit-delete.png">icons/win.icon.theme/24x24/actions/edit-delete.png</file>
<file alias="32x32/actions/edit-delete.png">icons/win.icon.theme/32x32/actions/edit-delete.png</file>
<file alias="16x16/actions/help-contents.png">icons/win.icon.theme/16x16/actions/help-contents.png</file>
<file alias="24x24/actions/help-contents.png">icons/win.icon.theme/24x24/actions/help-contents.png</file>
<file alias="32x32/actions/help-contents.png">icons/win.icon.theme/32x32/actions/help-contents.png</file>
</qresource>
</RCC>