6 #ifndef RAVEN_QT_RPCCONSOLE_H 7 #define RAVEN_QT_RPCCONSOLE_H 40 static bool RPCParseCommandLine(std::string &strResult,
const std::string &strCommand,
bool fExecute, std::string *
const pstrFilteredOut =
nullptr);
41 static bool RPCExecuteCommandLine(std::string &strResult,
const std::string &strCommand, std::string *
const pstrFilteredOut =
nullptr) {
42 return RPCParseCommandLine(strResult, strCommand,
true, pstrFilteredOut);
64 virtual bool eventFilter(QObject* obj, QEvent *event);
65 void keyPressEvent(QKeyEvent *);
68 void on_lineEdit_returnPressed();
69 void on_tabWidget_currentChanged(
int index);
71 void on_openDebugLogfileButton_clicked();
73 void on_sldGraphRange_valueChanged(
int value);
75 void updateTrafficStats(quint64 totalBytesIn, quint64 totalBytesOut);
76 void resizeEvent(QResizeEvent *event);
77 void showEvent(QShowEvent *event);
78 void hideEvent(QHideEvent *event);
80 void showPeersTableContextMenu(
const QPoint& point);
82 void showBanTableContextMenu(
const QPoint& point);
84 void showOrHideBanTableIfRequired();
86 void clearSelectedNode();
89 void clear(
bool clearHistory =
true);
92 void setFontSize(
int newSize);
96 void walletZaptxes1();
100 void message(
int category,
const QString &message,
bool html =
false);
102 void setNumConnections(
int count);
104 void setNetworkActive(
bool networkActive);
106 void setNumBlocks(
int count,
const QDateTime& blockDate,
double nVerificationProgress,
bool headers);
108 void setMempoolSize(
long numberOfTxs,
size_t dynUsage);
110 void browseHistory(
int offset);
114 void peerSelected(
const QItemSelection &selected,
const QItemSelection &deselected);
116 void peerLayoutAboutToChange();
118 void peerLayoutChanged();
120 void disconnectSelectedNode();
122 void banSelectedNode(
int bantime);
124 void unbanSelectedNode();
126 void setTabFocus(
enum TabTypes tabType);
131 void cmdRequest(
const QString &command);
133 void handleRestart(QStringList args);
136 void startExecutor();
137 void setTrafficGraphRange(
int mins);
139 void buildParameterlist(QString arg);
145 ADDRESS_COLUMN_WIDTH = 200,
146 SUBVERSION_COLUMN_WIDTH = 150,
147 PING_COLUMN_WIDTH = 80,
148 BANSUBNET_COLUMN_WIDTH = 200,
149 BANTIME_COLUMN_WIDTH = 250
168 void updateNetworkState();
171 #endif // RAVEN_QT_RPCCONSOLE_H
QString cmdBeforeBrowsing
static bool RPCExecuteCommandLine(std::string &strResult, const std::string &strCommand, std::string *const pstrFilteredOut=nullptr)
QMenu * peersTableContextMenu
RPCTimerInterface * rpcTimerInterface
Model for Raven network client.
ClientModel * clientModel
QMenu * banTableContextMenu
QList< NodeId > cachedNodeids
QCompleter * autoCompleter
const PlatformStyle * platformStyle