Changeset View
Changeset View
Standalone View
Standalone View
src/qt/rpcconsole.h
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | public: | ||||
enum TabTypes { | enum TabTypes { | ||||
TAB_INFO = 0, | TAB_INFO = 0, | ||||
TAB_CONSOLE = 1, | TAB_CONSOLE = 1, | ||||
TAB_GRAPH = 2, | TAB_GRAPH = 2, | ||||
TAB_PEERS = 3 | TAB_PEERS = 3 | ||||
}; | }; | ||||
protected: | protected: | ||||
virtual bool eventFilter(QObject *obj, QEvent *event); | virtual bool eventFilter(QObject *obj, QEvent *event) override; | ||||
void keyPressEvent(QKeyEvent *); | void keyPressEvent(QKeyEvent *) override; | ||||
private Q_SLOTS: | private Q_SLOTS: | ||||
void on_lineEdit_returnPressed(); | void on_lineEdit_returnPressed(); | ||||
void on_tabWidget_currentChanged(int index); | void on_tabWidget_currentChanged(int index); | ||||
/** open the debug.log from the current datadir */ | /** open the debug.log from the current datadir */ | ||||
void on_openDebugLogfileButton_clicked(); | void on_openDebugLogfileButton_clicked(); | ||||
/** change the time range of the network traffic graph */ | /** change the time range of the network traffic graph */ | ||||
void on_sldGraphRange_valueChanged(int value); | void on_sldGraphRange_valueChanged(int value); | ||||
/** update traffic statistics */ | /** update traffic statistics */ | ||||
void updateTrafficStats(quint64 totalBytesIn, quint64 totalBytesOut); | void updateTrafficStats(quint64 totalBytesIn, quint64 totalBytesOut); | ||||
void resizeEvent(QResizeEvent *event); | void resizeEvent(QResizeEvent *event) override; | ||||
void showEvent(QShowEvent *event); | void showEvent(QShowEvent *event) override; | ||||
void hideEvent(QHideEvent *event); | void hideEvent(QHideEvent *event) override; | ||||
/** Show custom context menu on Peers tab */ | /** Show custom context menu on Peers tab */ | ||||
void showPeersTableContextMenu(const QPoint &point); | void showPeersTableContextMenu(const QPoint &point); | ||||
/** Show custom context menu on Bans tab */ | /** Show custom context menu on Bans tab */ | ||||
void showBanTableContextMenu(const QPoint &point); | void showBanTableContextMenu(const QPoint &point); | ||||
/** Hides ban table if no bans are present */ | /** Hides ban table if no bans are present */ | ||||
void showOrHideBanTableIfRequired(); | void showOrHideBanTableIfRequired(); | ||||
/** clear the selected node */ | /** clear the selected node */ | ||||
void clearSelectedNode(); | void clearSelectedNode(); | ||||
▲ Show 20 Lines • Show All 78 Lines • Show Last 20 Lines |