Add alternating row colors to field viewer

This commit is contained in:
Gary Talent 2018-10-19 22:19:26 -05:00
parent 28a0c4a81b
commit dc041d669d

View File

@ -79,6 +79,7 @@ TraceView::TraceView(QWidget *parent): QWidget(parent) {
m_fieldView->header()->setStretchLastSection(true);
m_fieldView->setSelectionMode(QAbstractItemView::NoSelection);
m_fieldView->setHeaderLabels({tr("Name"), tr("Type"), tr("Value")});
m_fieldView->setAlternatingRowColors(true);
m_lowerSplitter->addWidget(m_fieldView);