Add Help|Donate menu item
This commit is contained in:
parent
cbf9ab1812
commit
7b8c5a878a
BIN
client/icons/donate.png
Normal file
BIN
client/icons/donate.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 732 B |
@ -352,6 +352,11 @@ void MainWindow::on_actionHelpOnline_triggered()
|
||||
QDesktopServices::openUrl(QUrl(jumpUrl("help", "app", "menu")));
|
||||
}
|
||||
|
||||
void MainWindow::on_actionDonate_triggered()
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl(jumpUrl("donate", "app", "menu")));
|
||||
}
|
||||
|
||||
void MainWindow::on_actionHelpAbout_triggered()
|
||||
{
|
||||
QDialog *aboutDialog = new QDialog;
|
||||
|
@ -60,6 +60,7 @@ public slots:
|
||||
void on_actionPreferences_triggered();
|
||||
void on_actionViewRestoreDefaults_triggered();
|
||||
void on_actionHelpOnline_triggered();
|
||||
void on_actionDonate_triggered();
|
||||
void on_actionHelpAbout_triggered();
|
||||
|
||||
private slots:
|
||||
|
@ -1,3 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0" >
|
||||
<class>MainWindow</class>
|
||||
<widget class="QMainWindow" name="MainWindow" >
|
||||
@ -33,6 +34,8 @@
|
||||
</property>
|
||||
<addaction name="actionHelpOnline" />
|
||||
<addaction name="separator" />
|
||||
<addaction name="actionDonate" />
|
||||
<addaction name="separator" />
|
||||
<addaction name="actionHelpAbout" />
|
||||
<addaction name="actionAboutQt" />
|
||||
</widget>
|
||||
@ -111,6 +114,14 @@
|
||||
<string>Help (Online)</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionDonate" >
|
||||
<property name="icon" >
|
||||
<iconset resource="ostinato.qrc" >:/icons/donate.png</iconset>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>Donate</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="ostinato.qrc" />
|
||||
|
@ -18,6 +18,7 @@
|
||||
<file>icons/devicegroup_add.png</file>
|
||||
<file>icons/devicegroup_delete.png</file>
|
||||
<file>icons/devicegroup_edit.png</file>
|
||||
<file>icons/donate.png</file>
|
||||
<file>icons/exit.png</file>
|
||||
<file>icons/frag_capture.png</file>
|
||||
<file>icons/frag_exclusive.png</file>
|
||||
|
Loading…
Reference in New Issue
Block a user