Changeset View
Changeset View
Standalone View
Standalone View
src/qt/rpcconsole.h
Show First 20 Lines • Show All 62 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 | ||||
}; | }; | ||||
std::vector<TabTypes> tabs() const { | |||||
return {TAB_INFO, TAB_CONSOLE, TAB_GRAPH, TAB_PEERS}; | |||||
} | |||||
QString tabTitle(TabTypes tab_type) const; | |||||
protected: | protected: | ||||
virtual bool eventFilter(QObject *obj, QEvent *event) override; | virtual bool eventFilter(QObject *obj, QEvent *event) override; | ||||
void keyPressEvent(QKeyEvent *) override; | 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 */ | ||||
▲ Show 20 Lines • Show All 97 Lines • Show Last 20 Lines |