summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews
Commit message (Collapse)AuthorAgeFilesLines
* QListView in icon mode could crash when removing the last elementThierry Bastian2009-05-051-3/+4
| | | | | Task-number: 252292 Reviewed-by: ogoffart
* Do not crash when passing wrong indexes to ↵Olivier Goffart2009-05-041-0/+9
| | | | | | | | | QSortFilterProxyModel::indexFomSource and *ToSource Show a warning instead Task-number: 252507 Reviewed-by: Marius Bugge Monsen
* Fixes a possible issue in itemviws where we would not scroll to theThierry Bastian2009-04-302-10/+17
| | | | | | | current item on show Task-number: 252534 Reviewed-by: ogoffart
* Fix regression in QSelectionModel::rowIntersectsSelectionOlivier Goffart2009-04-281-10/+10
| | | | | | | | | | and QSelectionModel::columnsIntersectsSelection The documentation says "if one is selected" inside the row/column, so we need to look over if we find one which is selected Task-number: 252069 Reviewed-by: Marius Bugge Monsen
* When minimizing/restoring an item view it could jump to its currentlyThierry Bastian2009-04-281-1/+1
| | | | | | | selected item Task-number: 250446 Reviewed-by: ogoffart
* Display error with QTableView with custom default row heightThierry Bastian2009-04-172-8/+26
| | | | | | | QHeaderView can sometimes display holes when using default row height Task-number: 248050 Reviewed-by: ogoffart
* CompileOlivier Goffart2009-04-161-1/+1
| | | | Reviewed-by: TrustMe
* QSortFilterProxyModel: In dynamic filter model, childs of temporarlyOlivier Goffart2009-04-161-1/+13
| | | | | | | | | | filtered items are not correctly updated. when filtering away a row, we should remove all the mapping of the children Task-number: 251296 Reviewed-by: Marius Bugge Monsen
* Fix crash in the SQLQueryModel testsOlivier Goffart2009-04-161-3/+4
| | | | | | | | | | | | Amend fd5f83e612729cebc5395c992bd98628bb9ea25f calling fetchMore in create_mapping was a bad idea bacause it may lead to infinite recurtion Make a special case for hasChildren instead Task-number: 250023 Reviewed-by: Marius Bugge Monsen BT: yes
* Fixes QSortFilterProxyModel not reporting child if the model need to fetchMoreOlivier Goffart2009-04-151-0/+3
| | | | | | | | QSortFilterProxyModel::hasChildren need to construct the mapping. And when it tries to construct the mapping, it needs to fetch the childs, so there is none. Task-number: 250023 Reviewed-by: Marius Bugge Monsen
* Fixes: QTreeView font change regression if there is an application stylesheetOlivier Goffart2009-04-141-0/+3
| | | | | | | | | | | | | The way font propagation work has changed since 4.4: When there is a stylesheet enabled, font does not propagate. So when settings a font to the QAbstractItemView, the viewport font will not change, and hence no QEvent::FontChange on it. So catch the QEvent::FontChange in QAbstractItemView::event in addition to QAbstractItemView::viewportEvent. (we seems to use the view's font everywhere anyway) Task-number: 250754 Reviewed-by: Jens Bache-Wiig
* Fix crash in QTreeViewOlivier Goffart2009-04-141-0/+1
| | | | | | | Discovered in Kopete trunk BT: yes Reviewed-by: Thierry
* Fixes crash in QTreeView with QSortFilterProxyModelOlivier Goffart2009-04-031-0/+1
| | | | | | | | | If we get an hover event while the model gets invalidated, we might ends up calling itemDecorationAt before the viewitem is refreshed. Can be reproduced in KTorrent (Relates to KDE bug 172198) or Kopete trunk Reviewed-by: Thierry
* Make sure the sorting is updated when dynamic sorting is enabled and the ↵Olivier Goffart2009-03-241-0/+5
| | | | | | | model is reset Task-number: 248868 (part 2) Reviewed-by: Thierry
* Make sure QSortFilterProxyModel::sort always sort when DynamicSort is not usedOlivier Goffart2009-03-241-1/+1
| | | | | Task-number: 248868 (part 1) Reviewed-by: Thierry
* Long live Qt 4.5!Lars Knoll2009-03-2367-0/+49104