summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qtreeview.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge license header changes from 4.5Volker Hilsheimer2009-06-161-2/+2
|\
| * Update license headers as requested by the marketing department.Jason McDonald2009-06-161-2/+2
| | | | | | | | Reviewed-by: Trust Me
* | refactor of private getters for the mode i item widget classesThierry Bastian2009-06-111-1/+1
| |
* | removed superflous indirection (ie. using q->..) instead of using theThierry Bastian2009-06-101-24/+21
| | | | | | | | private class member.
* | Fix some possible double connected signalsOlivier Goffart2009-06-101-7/+2
| | | | | | | | | | Task-number: 250147 Reviewed-by: Thierry
* | small code cleanup that improves some loopsThierry Bastian2009-06-101-2/+4
| | | | | | | | it uses les foreach
* | Use Qt::UniqueConnection instead of disconnect/connectOlivier Goffart2009-05-281-1/+1
| | | | | | | | | | | | | | Also fix an issue in QTreeView where a signal could be connected several times Reviewed-by: Thierry
* | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-05-271-3/+5
|\ \ | |/ | | | | | | Conflicts: tests/auto/qtreeview/tst_qtreeview.cpp
| * Fixed: QSortFilterProxyModel setDynamicSortFilter doesn't works when setting ↵Olivier Goffart2009-05-261-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the model initially This was caused by two different bug: - In the QSortFilterProxyModel, we need to re-sort when setting the source model change the sorting column (happen when setting a model initially) - In the treeview, we need to activate the sorting even if there is no column yet (because the initial model is empty Task-number: 254234 Reviewed-by: Thierry BT:
* | Remove useless code and comment in QTreeViewOlivier Goffart2009-05-141-4/+0
| | | | | | | | | | | | In 8cd19116ae81c99fe28fbf91aa7f4c1c08163fe0 we changed viewItems to always contains the index to the columns 0, even if this columns is hidden. So this code and comment are now useless.
* | spanning columns did not have ViewItemPosition ↵Olivier Goffart2009-05-071-1/+1
| | | | | | | | | | | | | | | | | | QStyleOptionViewItemV4::OnlyOne set The new autotest tests lots of the flags of the QStyleOption Reviewed-by: Thierry Task-number: 252616
* | QTreeView could be not correctly updated when the 1st column is hidden.Thierry Bastian2009-05-061-26/+12
| | | | | | | | | | | | | | | | | | | | The problem was that we were not always storing the modelindex in column 0 for each QTreeViewItem. That was causing inconsistencies. Now it is always the case. It allowed to remove some calls to QModelIndex::sibling. Task-number: 239271 Reviewed-by: ogoffart
* | Merge commit 'origin/4.5'Olivier Goffart2009-04-151-0/+1
|\ \ | |/ | | | | | | Conflicts: src/gui/graphicsview/qgraphicsitem.cpp
| * Fix crash in QTreeViewOlivier Goffart2009-04-141-0/+1
| | | | | | | | | | | | | | Discovered in Kopete trunk BT: yes Reviewed-by: Thierry
* | Merge branch '4.5'Thiago Macieira2009-04-031-0/+1
|\ \ | |/
| * 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
| * Long live Qt 4.5!Lars Knoll2009-03-231-0/+3851
|
* Remove all call in itemviews to set/updateDirtyRegionThierry Bastian2009-03-301-1/+1
| | | | | | | Now we directly call viewport->update Task-number: 248850 Reviewed-by: ogoffart
* Long live Qt!Lars Knoll2009-03-231-0/+3851