summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews
Commit message (Collapse)AuthorAgeFilesLines
* Compile fix.Denis Dzyubenko2009-07-091-0/+1
|
* Fix compile issueThierry Bastian2009-07-093-13/+20
|
* QTreeView: cleanup of useless private slotsThierry Bastian2009-07-093-47/+20
| | | | currentChange is slot in the public class (QAbstractItemView
* QTreeView: use QVariantAnimation over QTimeLineThierry Bastian2009-07-094-67/+55
|
* Animations: fix compilation with QT_NO_ANIMATIONThierry Bastian2009-07-082-1/+13
|
* ItemViews: _q_fetchMore now uses a timer instead of invokeMethodThierry Bastian2009-07-073-6/+9
|
* QColumnView: new uses QPropertyAnimation over QTimeLineThierry Bastian2009-07-072-22/+9
|
* QColumnView: didn't react to addition of rows/cols in the current viewThierry Bastian2009-07-076-17/+60
| | | | Task-number: 246999
* ItemViews: it would go into DraggingState even without clicking an itemThierry Bastian2009-07-071-1/+1
| | | | | | | We now just make sure that we start the drag if there was a pressed index. Task-number: 252643
* QHeaderView::sizeHint: small bug fix and refactorThierry Bastian2009-07-061-5/+5
|
* QHeaderView: code cleanup in sizehint calculationThierry Bastian2009-07-031-9/+3
|
* QHeaderView: fixed the sizeHint with hidden sectionsThierry Bastian2009-07-031-4/+8
| | | | | | | We used to check the 100 first sections and 100 last sections Now we make sure we check 100 visible sections Task-number: 255574
* QHeaderView: the sizeHint for section now takes the indicator intoThierry Bastian2009-07-021-1/+1
| | | | | | account for all sections is sorting is enabled. Task-number: 208320
* Merge branch '4.5'Thiago Macieira2009-07-022-2/+2
|\
| * Doc: correcting typoMorten Engvoldsen2009-07-012-2/+2
| | | | | | | | | | | | Correcting typos Task-number: 257225
* | doc: Corrected several qdoc warnings.Martin Smith2009-07-021-1/+1
| |
* | src/gui: Remove QT_WA and non-Unicode code paths, dropping Win9x and NT supportminiak2009-07-011-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | Also - Make winPeekMessage() & winPostMessage() obsolete - FlashWindowEx, IsValidLanguageGroup functions no longer resolved dynamically (available on >= Windows 2000) - LoadIcon/LoadCursor -> LoadImage w/LR_SHARED for system icons/cursors - qsystemtrayicon_win: use Shell_NotifyIconGetRect if available (Windows 7) Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
* | ItemViews: Fixed signal entered not being emitted when using the mouseThierry Bastian2009-07-012-33/+42
| | | | | | | | | | | | | | | | | | | | wheel The solution is to check the the current "entered item" hasn't change also when the scrollbars change values Task-number: 200665 Reviewed-by: janarve
* | Fix the painting of item view background when items are disabled.Marius Bugge Monsen2009-06-241-2/+1
| | | | | | | | | | | | | | Change QTableView to use the style to draw the background. Change QCommonStyle to draw the background correctly when the item is disabled. Task-number: 250682 Reviewed-by: Jens Bache-Wiig
* | Merge commit 'origin/4.5'Oswald Buddenhagen2009-06-231-1/+1
|\ \ | |/ | | | | | | Conflicts: src/sql/drivers/psql/qsql_psql.cpp
| * Check if the row larger or equal to the flowPositions vector to prevent out ↵Marius Bugge Monsen2009-06-221-1/+1
| | | | | | | | | | | | | | | | | | of bounds access. This problem is encountered if a model doesn't report it's changes correctly. Reviewed-by: Thierry Task-number: 256617
* | Merge branch '4.5' of scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-06-181-2/+14
|\ \ | |/ | | | | | | | | | | Conflicts: configure.exe tests/auto/qpainter/tst_qpainter.cpp translations/qt_ru.ts
| * QItemEditorFactory: made sure the ownership is taken on theThierry Bastian2009-06-181-2/+14
| | | | | | | | | | | | | | | | | | | | QItemEditorCreator The creators were not deleted i nthe destructor of QItemEditorFactory and they could not be safely used for more than one type. Task-number: 228255 Reviewed-by: jasplin
| * ItemViews : Fixed a performance regression whne changing data in theThierry Bastian2009-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | model This is a part of a bigger patch from 4.6 90cdbf8bd409652fd1e28adcd7f02fc1fae2c1c0 Task-number: 256183 Reviewed-by: ogoffart
| * Fixed a bottleneck in itemviews that would ask for an update outsideThierry Bastian2009-06-171-2/+8
| | | | | | | | | | | | | | | | | | | | of the boundaries of the viewport. Now we catch this and don't call update. This was a performance regression against 4.4. Task-number: 256183 Reviewed-by: alexis
* | Fix accidental selection of popup items under the mouse in QComboBoxmae2009-06-181-0/+2
| | | | | | | | | | | | | | | | | | | | If the widget under mouse is hidden, Qt can generate a synthetic mouse move event which gets delivered to the already hidden widget. This can then result in the wrong item being selected. Workaround: in QListView, ignore mouse move events when the widget is hidden. Reviewed-by: Denis
* | Fixed a bottleneck in itemviews that would ask for an update outsideThierry Bastian2009-06-161-2/+8
| | | | | | | | | | | | | | | | | | | | of the boundaries of the viewport. Now we catch this and don't call update. This was a performance regression against 4.4. Task-number: 256183 Reviewed-by: alexis
* | Merge license header changes from 4.5Volker Hilsheimer2009-06-1666-132/+132
|\ \ | |/
| * Update license headers as requested by the marketing department.Jason McDonald2009-06-1666-132/+132
| | | | | | | | Reviewed-by: Trust Me
* | Removed qApp and replaced with QApplication:: for static member callsThierry Bastian2009-06-112-2/+2
| |
* | refactor of private getters for the mode i item widget classesThierry Bastian2009-06-117-156/+154
| |
* | remove q->layout() and q->parentWidget() code where unnecessaryThierry Bastian2009-06-111-6/+4
| |
* | Invalid QPersistentIndexes after QStandardItem::takeRowOlivier Goffart2009-06-111-15/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need the parent of each potential QPersistentModelIndex in order to cleanup when removing the rows. They need not to change in order QSortFilterProxyModel maping to be still valid. takeRow must not change the internal data before calling beginRemoveRow. Same thing for takeColumn Task-number: 255652 Reviewed-by: Thierry Reviewed-by: Leo
* | Autotest compile.Olivier Goffart2009-06-111-1/+1
| | | | | | | | This one is for qstandarditemmodel autotest
* | removed superflous indirection (ie. using q->..) instead of using theThierry Bastian2009-06-105-58/+54
| | | | | | | | private class member.
* | Made QListWidgetItem::operator<() check if the data is numerical when comparing.J-P Nurmi2009-06-101-1/+4
| | | | | | | | | | Merge-request: 631 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
* | Added QAbstractItemModelPrivate::canConvertToDouble().J-P Nurmi2009-06-104-45/+2
| | | | | | | | | | | | | | | | And changed QTreeWidgetItem::operator<() and QTableWidgetItem::operator<() to use it Merge-request: 631 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
* | Fix some possible double connected signalsOlivier Goffart2009-06-102-10/+5
| | | | | | | | | | Task-number: 250147 Reviewed-by: Thierry
* | small code cleanup that improves some loopsThierry Bastian2009-06-104-9/+12
| | | | | | | | it uses les foreach
* | Improves the documentation of QHeaderView::setResizeMode to specifyThierry Bastian2009-06-091-1/+2
| | | | | | | | | | | | that the section indicated by the parameter logicalIndex should exist Task-number: 255541
* | Small simplification on codeThierry Bastian2009-06-081-6/+4
| |
* | Fixed ListView so that it is able to move items in negative space andThierry Bastian2009-06-081-1/+1
| | | | | | | | | | | | | | | | | | still paint them. The autotest is included. Task-number: 254449 Reviewed-by: ogoffart
* | small code cleanupThierry Bastian2009-06-081-7/+1
| |
* | Made QTreeWidgetItem::operator<() check if the data is numerical when comparing.J-P Nurmi2009-06-082-3/+31
| | | | | | | | | | | | | | More information in task 166873. Merge-request: 514 Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
* | Fix QT_NO_DATASTREAM macro checks and improve readabilityRitt Konstantin2009-06-084-7/+11
| | | | | | | | | | | | | | | | Some checks where in the wrong locations, and some endifs where hard to read. Merge-request: 611 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
* | Do not deduce scrollbar extent twice if scrollbar policy is ↵Aurélien Gâteau2009-05-281-4/+10
| | | | | | | | | | | | | | | | Qt::ScrollBarAlwaysOn Request-url: http://qt.gitorious.org/qt/qt/merge_requests/432 Reviewed-by: Olivier Goffart Reviewed-by: Thierry
* | 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-273-5/+10
|\ \ | |/ | | | | | | Conflicts: tests/auto/qtreeview/tst_qtreeview.cpp
| * Fixed: QSortFilterProxyModel setDynamicSortFilter doesn't works when setting ↵Olivier Goffart2009-05-263-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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:
* | Compile fixThierry Bastian2009-05-251-1/+1
| |