Fix scroll behavior of results pane

For long output it should be possible to scroll across the output
instead of scrolling itemwise and being never capable to view the
bottom of the output.

Change-Id: Ia3478932894fc0b08e10466ec987f12295e9fff5
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
Christian Stenger
2015-03-19 16:02:40 +01:00
committed by David Schulz
parent 2c1a0119bd
commit adb40d4bd5

View File

@@ -73,6 +73,7 @@ TestResultsPane::TestResultsPane(QObject *parent) :
outputLayout->addWidget(m_summaryWidget); outputLayout->addWidget(m_summaryWidget);
m_listView = new Utils::ListView(m_outputWidget); m_listView = new Utils::ListView(m_outputWidget);
m_listView->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
m_model = new TestResultModel(this); m_model = new TestResultModel(this);
m_filterModel = new TestResultFilterModel(m_model, this); m_filterModel = new TestResultFilterModel(m_model, this);
m_filterModel->setDynamicSortFilter(true); m_filterModel->setDynamicSortFilter(true);