diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-11-08 00:32:43 -0800 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-11-08 00:32:43 -0800 |
commit | 7f0ccea7685cb66081bbd889be684eacd76ccd2c (patch) | |
tree | 0bf7c64cb233f23d134bc86ace5c97bc481a2570 /src | |
parent | b744fdbf52b6d050e7f8a86f01e43cd18e9fd658 (diff) | |
parent | 91163c15f64e5bbf75e41defb721ba4a5e3b412b (diff) |
Merge pull request #3222 from Diapolo/debug-window
[Qt] rename rpcconsole window
Diffstat (limited to 'src')
-rw-r--r-- | src/qt/forms/rpcconsole.ui | 2 | ||||
-rw-r--r-- | src/qt/rpcconsole.cpp | 8 | ||||
-rw-r--r-- | src/qt/rpcconsole.h | 3 |
3 files changed, 4 insertions, 9 deletions
diff --git a/src/qt/forms/rpcconsole.ui b/src/qt/forms/rpcconsole.ui index 54c41ffb67..c77c5a384c 100644 --- a/src/qt/forms/rpcconsole.ui +++ b/src/qt/forms/rpcconsole.ui @@ -11,7 +11,7 @@ </rect> </property> <property name="windowTitle"> - <string>Bitcoin - Debug window</string> + <string>Debug window</string> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index 64ae5ab08c..05bc460ab0 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -205,6 +205,7 @@ RPCConsole::RPCConsole(QWidget *parent) : ui->messagesWidget->installEventFilter(this); connect(ui->clearButton, SIGNAL(clicked()), this, SLOT(clear())); + connect(ui->btnClearTrafficGraph, SIGNAL(clicked()), ui->trafficGraph, SLOT(clear())); // set OpenSSL version label ui->openSSLVersion->setText(SSLeay_version(SSLEAY_VERSION)); @@ -317,7 +318,7 @@ void RPCConsole::clear() ui->messagesWidget->document()->setDefaultStyleSheet( "table { }" "td.time { color: #808080; padding-top: 3px; } " - "td.message { font-family: Monospace; font-size: 12px; } " + "td.message { font-family: monospace; font-size: 12px; } " // Todo: Remove fixed font-size "td.cmd-request { color: #006060; } " "td.cmd-error { color: red; } " "b { color: #006060; } " @@ -483,8 +484,3 @@ void RPCConsole::updateTrafficStats(quint64 totalBytesIn, quint64 totalBytesOut) ui->lblBytesIn->setText(FormatBytes(totalBytesIn)); ui->lblBytesOut->setText(FormatBytes(totalBytesOut)); } - -void RPCConsole::on_btnClearTrafficGraph_clicked() -{ - ui->trafficGraph->clear(); -} diff --git a/src/qt/rpcconsole.h b/src/qt/rpcconsole.h index 591ad1d554..076575fa3d 100644 --- a/src/qt/rpcconsole.h +++ b/src/qt/rpcconsole.h @@ -45,8 +45,6 @@ private slots: void on_sldGraphRange_valueChanged(int value); /** update traffic statistics */ void updateTrafficStats(quint64 totalBytesIn, quint64 totalBytesOut); - /** clear traffic graph */ - void on_btnClearTrafficGraph_clicked(); public slots: void clear(); @@ -59,6 +57,7 @@ public slots: void browseHistory(int offset); /** Scroll console view to end */ void scrollToEnd(); + signals: // For RPC command executor void stopExecutor(); |