summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews
Commit message (Collapse)AuthorAgeFilesLines
* ItemViews: don't commit data from editors when hiding the viewThierry Bastian2009-07-162-2/+2
| | | | Task-number: 258106
* Small simplification of code in ItemViews (delegate)Thierry Bastian2009-07-162-12/+6
|
* QTreeView: fix the scrollTo with position center and bottomThierry Bastian2009-07-161-10/+14
| | | | | | This still needs to be autotested Task-number: 258225
* Build fix for mingwThierry Bastian2009-07-141-3/+2
| | | | | we should include qt_windows.h and not windows.h because we have to define WINVER to 0x500.
* QTreeView: now dragging lots of items is fastThierry Bastian2009-07-134-2/+47
|
* QListView: small refactoringThierry Bastian2009-07-112-67/+61
| | | | It is useless to store the vector of modelindex from intersectingSet
* ItemViews selection: improve performance of QItemSelection::indexesThierry Bastian2009-07-111-12/+23
| | | | On windows it makes it 2x faster
* ItemViews: make dragging faster when lots of items are selectedThierry Bastian2009-07-114-11/+55
| | | | | | | QListView know exactly what they have on their viewport and we only paint items clipped to the viewport. So we don't need to ask for each item its visualRect. NB: QTreeView and QTableView probably deservee the same treatment
* QListView: improve performance on QListView::selectedIndexesThierry Bastian2009-07-101-7/+9
| | | | Task-number: 233342
* ItemViews: make the pixmap from drag and drop more efficientThierry Bastian2009-07-102-14/+21
| | | | | | | We don't need to draw all the items that are selected. We just need those whose rect intersects the one from the viewport. Task-number: 233342
* QTableView: auto-scrolling could be broken by invisible sectionsThierry Bastian2009-07-101-2/+2
| | | | Task-number: 248688
* QTableView: horizontal scrollbar could be inoperent with big columnsThierry Bastian2009-07-101-0/+4
| | | | Task-number: 240266
* 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