aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.h
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-05-20 15:49:17 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2012-06-01 16:29:54 +0200
commit5d6b30271f4393b70f45da7c33b96e4fe776da80 (patch)
tree6a70be58bc4215333ee9736f616a3867d1941f0a /src/qt/guiutil.h
parent98474d3d6f07ff03f25f59f2016baf1f1385fbed (diff)
downloadbitcoin-5d6b30271f4393b70f45da7c33b96e4fe776da80.tar.xz
move class HelpMessageBox to guiutil.cpp/.h / add button to show Bitcoin command-line options (in RPC Console -> Information) / resize Debug window a little to allow for a non-breaking display of the welcome message with non-english translation
Diffstat (limited to 'src/qt/guiutil.h')
-rw-r--r--src/qt/guiutil.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h
index c5f9aae511..ca06348519 100644
--- a/src/qt/guiutil.h
+++ b/src/qt/guiutil.h
@@ -3,6 +3,7 @@
#include <QString>
#include <QObject>
+#include <QMessageBox>
QT_BEGIN_NAMESPACE
class QFont;
@@ -80,6 +81,7 @@ namespace GUIUtil
class ToolTipToRichTextFilter : public QObject
{
Q_OBJECT
+
public:
explicit ToolTipToRichTextFilter(int size_threshold, QObject *parent = 0);
@@ -93,6 +95,22 @@ namespace GUIUtil
bool GetStartOnSystemStartup();
bool SetStartOnSystemStartup(bool fAutoStart);
+ /** Help message for Bitcoin-Qt, shown with --help. */
+ class HelpMessageBox : public QMessageBox
+ {
+ Q_OBJECT
+
+ public:
+ HelpMessageBox(QWidget *parent = 0);
+
+ void exec();
+
+ private:
+ QString header;
+ QString coreOptions;
+ QString uiOptions;
+ };
+
} // namespace GUIUtil
#endif // GUIUTIL_H