Refactor RDTreeWidgetDelegate into RichTextViewDelegate that is reusable

* This allows us to add rich text support much more easily into other itemviews
  like RDTableView.
* We set it up for debug messages so that resource links in debug messages can
  be linked.
This commit is contained in:
baldurk
2018-12-17 12:47:07 +00:00
parent 58e2c88e76
commit ce88558a7c
11 changed files with 237 additions and 202 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ EventBrowser::EventBrowser(ICaptureContext &ctx, QWidget *parent)
ui->events->header()->setCascadingSectionResizes(false);
ui->events->setItemVerticalMargin(4);
ui->events->setItemVerticalMargin(0);
ui->events->setIgnoreIconSize(true);
// set up default section layout. This will be overridden in restoreState()