Convert RPC console to QTextEdit instead of QTableView
* This allows copy/pasting whole or partial messages
* Handle output more consistently in console
* No more scrollbars-in-scrollbars: by setting per-pixel scrolling on the table, cells can have any height
* Decorations for "request" and "reply" are changed to the txin and txout icons instead of colored squares
This commit is contained in:
@@ -37,15 +37,13 @@ private slots:
|
||||
|
||||
public slots:
|
||||
void clear();
|
||||
void message(int category, const QString &message);
|
||||
void message(int category, const QString &message, bool html = false);
|
||||
/** Set number of connections shown in the UI */
|
||||
void setNumConnections(int count);
|
||||
/** Set number of blocks shown in the UI */
|
||||
void setNumBlocks(int count);
|
||||
/** Go forward or back in history */
|
||||
void browseHistory(int offset);
|
||||
/** Copy currently selected message to clipboard */
|
||||
void copyMessage();
|
||||
|
||||
signals:
|
||||
// For RPC command executor
|
||||
@@ -55,7 +53,6 @@ signals:
|
||||
private:
|
||||
Ui::RPCConsole *ui;
|
||||
ClientModel *clientModel;
|
||||
bool firstLayout;
|
||||
QStringList history;
|
||||
int historyPtr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user