new commandline arguments help text; refs #167

master
Marc Wäckerlin 9 years ago
parent 8df41b0b31
commit 0414b1ff46
  1. 5
      src/browser.hxx
  2. 8
      src/browser.ui

@ -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"),

@ -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"/>

Loading…
Cancel
Save