new commandline arguments help text; refs #167
This commit is contained in:
@@ -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"/>
|
||||
|
Reference in New Issue
Block a user