11 /** Local Bitcoin RPC console. */
12 class RPCConsole: public QDialog
17 explicit RPCConsole(QWidget *parent = 0);
20 void setClientModel(ClientModel *model);
31 virtual bool eventFilter(QObject* obj, QEvent *event);
34 void on_lineEdit_returnPressed();
35 void on_tabWidget_currentChanged(int index);
36 /** open the debug.log from the current datadir */
37 void on_openDebugLogfileButton_clicked();
38 /** display messagebox with program parameters (same as bitcoin-qt --help) */
39 void on_showCLOptionsButton_clicked();
43 void message(int category, const QString &message, bool html = false);
44 /** Set number of connections shown in the UI */
45 void setNumConnections(int count);
46 /** Set number of blocks shown in the UI */
47 void setNumBlocks(int count, int countOfPeers);
48 /** Go forward or back in history */
49 void browseHistory(int offset);
50 /** Scroll console view to end */
53 // For RPC command executor
55 void cmdRequest(const QString &command);
59 ClientModel *clientModel;
66 #endif // RPCCONSOLE_H