QItemDelegate - add a more comprehensive test
authorThorbjørn Lund Martsum <tmartsum@gmail.com>
Thu, 12 Apr 2012 14:20:45 +0000 (16:20 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 9 Jul 2012 10:07:48 +0000 (12:07 +0200)
commit43850e5295cf6ce94edce417bbb550cc2438dbd3
treeb8acbccb34b8d350664e22d297f2662c9a424e93
parent4d32eab75977b29cc0f532430cd2a250cebfa895
QItemDelegate - add a more comprehensive test

This is a bigger test after this change:
c3e1abad4e141e6e9d876e5cff194c473a2654eb

Beside the test of behavior it has the class
FastEditItemView which could be useful in the future.

QTestEventLoop::instance().enterLoop(1) does not perform well.
(IE it makes CI slower). My class could be used to extensions.
(or maybe even to remove a few of these calls)

Change-Id: I4f1460873cd07ddc482d5cfe462b59c47ebb189f
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
tests/auto/widgets/itemviews/qitemdelegate/tst_qitemdelegate.cpp