From dc041d669d9d3d00ed808095b350869895446569 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Fri, 19 Oct 2018 22:19:26 -0500 Subject: [PATCH] Add alternating row colors to field viewer --- src/traceview.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/traceview.cpp b/src/traceview.cpp index ef746d9..d563350 100644 --- a/src/traceview.cpp +++ b/src/traceview.cpp @@ -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);