qt5base-lts/tests/auto/widgets/itemviews
David Faure 4910f416c2 Itemviews: add ItemIsUserTristate flag
ItemIsTristate is now again purely for enabling the automatic management
of the check state of QTreeWidgetItems, while ItemIsUserTristate is
separate from that and lets the user select the three states manually.

This restores the original behavior of ItemIsTristate for QTreeWidgetItems,
which got broken by letting the user cycle through the states too.

[ChangeLog][QtWidgets][QTreeWidget] Restored Qt 5.1 behavior of
QTreeWidgetItems with ItemIsTristate to enable automatic management
of the check state. User-editable tristate checkboxes are now enabled
by setting the new flag ItemIsUserTristate.

Task-number: QTBUG-40060
Change-Id: I341f5e983804d3b4f27982520bb6647f3014cccc
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
2015-01-25 12:37:41 +01:00
..
qabstractitemview Merge remote-tracking branch 'origin/5.4' into dev 2014-12-10 07:58:06 +01:00
qcolumnview Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qdatawidgetmapper QItemDelegate: let QTextEdit and QPlainTextEdit receive tab keypresses 2015-01-04 18:33:49 +01:00
qdirmodel Android: Fix QDirModel tests 2015-01-16 09:27:52 +01:00
qfileiconprovider Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qheaderview QHeaderView: fix restoring Qt4 state. 2015-01-20 10:30:54 +01:00
qitemdelegate Itemviews: add ItemIsUserTristate flag 2015-01-25 12:37:41 +01:00
qitemeditorfactory Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qitemview Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qlistview Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qlistwidget Implement QTableWidget/QListWidget::mimeData() 2014-10-31 14:06:25 +01:00
qtableview tst_qtableview: fix virtual-override clang warning 2014-11-24 08:05:34 +01:00
qtablewidget Implement QTableWidget/QListWidget::mimeData() 2014-10-31 14:06:25 +01:00
qtreeview Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qtreewidget Itemviews: add ItemIsUserTristate flag 2015-01-25 12:37:41 +01:00
qtreewidgetitemiterator Update license headers and add new license files 2014-09-24 12:26:19 +02:00
itemviews.pro Move QStandardItem/QStandardItemModel to QtGui 2012-06-29 22:42:19 +02:00