new commandline arguments help text; refs #167

This commit is contained in:
Marc Wäckerlin
2015-01-30 14:29:20 +00:00
parent 8df41b0b31
commit 0414b1ff46
2 changed files with 12 additions and 1 deletions

View File

@@ -55,6 +55,7 @@
#include <memory>
extern QString TMP;
QString helptext(); // from main.cxx
//! @addtogroup browser
//! @{
@@ -841,6 +842,10 @@ class Browser: public QMainWindow, protected Ui::Browser {
void on_actionErrorLog_triggered() {
qbrowserlib::ErrorLog::instance().show();
}
void on_actionCommandline_triggered() {
QMessageBox::information(this, tr("Commandline Arguments"), helptext());
}
void on_actionAbout_triggered() {
QMessageBox::about(this, tr("About"),

View File

@@ -70,7 +70,7 @@
<x>0</x>
<y>0</y>
<width>1009</width>
<height>25</height>
<height>23</height>
</rect>
</property>
<widget class="QMenu" name="menuDatei">
@@ -114,6 +114,7 @@
</property>
<addaction name="actionLoginCertificate"/>
<addaction name="actionErrorLog"/>
<addaction name="actionCommandline"/>
<addaction name="actionAbout"/>
<addaction name="actionDebugLog"/>
</widget>
@@ -485,6 +486,11 @@
<string>Debug Log</string>
</property>
</action>
<action name="actionCommandline">
<property name="text">
<string>Commandline</string>
</property>
</action>
</widget>
<resources>
<include location="resources.qrc"/>