Changeset View
Changeset View
Standalone View
Standalone View
src/qt/rpcconsole.h
Show First 20 Lines • Show All 144 Lines • ▼ Show 20 Lines | enum ColumnWidths { | ||||
SUBVERSION_COLUMN_WIDTH = 150, | SUBVERSION_COLUMN_WIDTH = 150, | ||||
PING_COLUMN_WIDTH = 80, | PING_COLUMN_WIDTH = 80, | ||||
BANSUBNET_COLUMN_WIDTH = 200, | BANSUBNET_COLUMN_WIDTH = 200, | ||||
BANTIME_COLUMN_WIDTH = 250 | BANTIME_COLUMN_WIDTH = 250 | ||||
}; | }; | ||||
interfaces::Node &m_node; | interfaces::Node &m_node; | ||||
Ui::RPCConsole *ui; | Ui::RPCConsole *const ui; | ||||
ClientModel *clientModel; | ClientModel *clientModel = nullptr; | ||||
QStringList history; | QStringList history; | ||||
int historyPtr; | int historyPtr = 0; | ||||
QString cmdBeforeBrowsing; | QString cmdBeforeBrowsing; | ||||
QList<NodeId> cachedNodeids; | QList<NodeId> cachedNodeids; | ||||
const PlatformStyle *platformStyle; | const PlatformStyle *const platformStyle; | ||||
RPCTimerInterface *rpcTimerInterface; | RPCTimerInterface *rpcTimerInterface = nullptr; | ||||
QMenu *peersTableContextMenu; | QMenu *peersTableContextMenu = nullptr; | ||||
QMenu *banTableContextMenu; | QMenu *banTableContextMenu = nullptr; | ||||
int consoleFontSize; | int consoleFontSize = 0; | ||||
QCompleter *autoCompleter; | QCompleter *autoCompleter = nullptr; | ||||
QThread thread; | QThread thread; | ||||
QString m_last_wallet_id; | QString m_last_wallet_id; | ||||
/** Update UI with latest network info from model. */ | /** Update UI with latest network info from model. */ | ||||
void updateNetworkState(); | void updateNetworkState(); | ||||
}; | }; | ||||
#endif // BITCOIN_QT_RPCCONSOLE_H | #endif // BITCOIN_QT_RPCCONSOLE_H |