[Qt] the RPC Console should be a QWidget to make window more independent
- fix issue #5254
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
#include "net.h"
|
||||
|
||||
#include <QDialog>
|
||||
#include <QWidget>
|
||||
|
||||
class ClientModel;
|
||||
|
||||
@@ -23,7 +23,7 @@ class QItemSelection;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
/** Local Bitcoin RPC console. */
|
||||
class RPCConsole: public QDialog
|
||||
class RPCConsole: public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -43,6 +43,7 @@ public:
|
||||
|
||||
protected:
|
||||
virtual bool eventFilter(QObject* obj, QEvent *event);
|
||||
void keyPressEvent(QKeyEvent *);
|
||||
|
||||
private slots:
|
||||
void on_lineEdit_returnPressed();
|
||||
@@ -59,7 +60,6 @@ private slots:
|
||||
|
||||
public slots:
|
||||
void clear();
|
||||
void reject();
|
||||
void message(int category, const QString &message, bool html = false);
|
||||
/** Set number of connections shown in the UI */
|
||||
void setNumConnections(int count);
|
||||
|
||||
Reference in New Issue
Block a user