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")); 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. * @brief Clear reset to default window.
@ -2212,6 +2219,7 @@ void MainWindow::CreateActions()
connect(ui->actionExit, &QAction::triggered, this, &MainWindow::close); connect(ui->actionExit, &QAction::triggered, this, &MainWindow::close);
connect(ui->actionPreferences, &QAction::triggered, this, &MainWindow::Preferences); connect(ui->actionPreferences, &QAction::triggered, this, &MainWindow::Preferences);
connect(ui->actionRepotBug, &QAction::triggered, this, &MainWindow::RepotBug); 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); connect(ui->actionPattern_properties, &QAction::triggered, this, &MainWindow::PatternProperties);
ui->actionPattern_properties->setEnabled(false); ui->actionPattern_properties->setEnabled(false);
connect(ui->actionEdit_pattern_code, &QAction::triggered, this, &MainWindow::EditPatternCode); connect(ui->actionEdit_pattern_code, &QAction::triggered, this, &MainWindow::EditPatternCode);

View File

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

View File

@ -779,6 +779,7 @@
<property name="title"> <property name="title">
<string>&amp;Help</string> <string>&amp;Help</string>
</property> </property>
<addaction name="actionOnlineHelp"/>
<addaction name="actionRepotBug"/> <addaction name="actionRepotBug"/>
<addaction name="actionAbout_Qt"/> <addaction name="actionAbout_Qt"/>
<addaction name="actionAbout_Valentina"/> <addaction name="actionAbout_Valentina"/>
@ -1261,6 +1262,17 @@
<string>Close window</string> <string>Close window</string>
</property> </property>
</action> </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> </widget>
<layoutdefault spacing="6" margin="11"/> <layoutdefault spacing="6" margin="11"/>
<customwidgets> <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="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="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="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> </qresource>
</RCC> </RCC>