Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ItemViews: don't commit data from editors when hiding the view | Thierry Bastian | 2009-07-16 | 2 | -2/+2 |
| | | | | Task-number: 258106 | ||||
* | Small simplification of code in ItemViews (delegate) | Thierry Bastian | 2009-07-16 | 2 | -12/+6 |
| | |||||
* | QTreeView: fix the scrollTo with position center and bottom | Thierry Bastian | 2009-07-16 | 1 | -10/+14 |
| | | | | | | This still needs to be autotested Task-number: 258225 | ||||
* | Build fix for mingw | Thierry Bastian | 2009-07-14 | 1 | -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 fast | Thierry Bastian | 2009-07-13 | 4 | -2/+47 |
| | |||||
* | QListView: small refactoring | Thierry Bastian | 2009-07-11 | 2 | -67/+61 |
| | | | | It is useless to store the vector of modelindex from intersectingSet | ||||
* | ItemViews selection: improve performance of QItemSelection::indexes | Thierry Bastian | 2009-07-11 | 1 | -12/+23 |
| | | | | On windows it makes it 2x faster | ||||
* | ItemViews: make dragging faster when lots of items are selected | Thierry Bastian | 2009-07-11 | 4 | -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::selectedIndexes | Thierry Bastian | 2009-07-10 | 1 | -7/+9 |
| | | | | Task-number: 233342 | ||||
* | ItemViews: make the pixmap from drag and drop more efficient | Thierry Bastian | 2009-07-10 | 2 | -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 sections | Thierry Bastian | 2009-07-10 | 1 | -2/+2 |
| | | | | Task-number: 248688 | ||||
* | QTableView: horizontal scrollbar could be inoperent with big columns | Thierry Bastian | 2009-07-10 | 1 | -0/+4 |
| | | | | Task-number: 240266 | ||||
* | Compile fix. | Denis Dzyubenko | 2009-07-09 | 1 | -0/+1 |
| | |||||
* | Fix compile issue | Thierry Bastian | 2009-07-09 | 3 | -13/+20 |
| | |||||
* | QTreeView: cleanup of useless private slots | Thierry Bastian | 2009-07-09 | 3 | -47/+20 |
| | | | | currentChange is slot in the public class (QAbstractItemView | ||||
* | QTreeView: use QVariantAnimation over QTimeLine | Thierry Bastian | 2009-07-09 | 4 | -67/+55 |
| | |||||
* | Animations: fix compilation with QT_NO_ANIMATION | Thierry Bastian | 2009-07-08 | 2 | -1/+13 |
| | |||||
* | ItemViews: _q_fetchMore now uses a timer instead of invokeMethod | Thierry Bastian | 2009-07-07 | 3 | -6/+9 |
| | |||||
* | QColumnView: new uses QPropertyAnimation over QTimeLine | Thierry Bastian | 2009-07-07 | 2 | -22/+9 |
| | |||||
* | QColumnView: didn't react to addition of rows/cols in the current view | Thierry Bastian | 2009-07-07 | 6 | -17/+60 |
| | | | | Task-number: 246999 | ||||
* | ItemViews: it would go into DraggingState even without clicking an item | Thierry Bastian | 2009-07-07 | 1 | -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 refactor | Thierry Bastian | 2009-07-06 | 1 | -5/+5 |
| | |||||
* | QHeaderView: code cleanup in sizehint calculation | Thierry Bastian | 2009-07-03 | 1 | -9/+3 |
| | |||||
* | QHeaderView: fixed the sizeHint with hidden sections | Thierry Bastian | 2009-07-03 | 1 | -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 into | Thierry Bastian | 2009-07-02 | 1 | -1/+1 |
| | | | | | | account for all sections is sorting is enabled. Task-number: 208320 | ||||
* | Merge branch '4.5' | Thiago Macieira | 2009-07-02 | 2 | -2/+2 |
|\ | |||||
| * | Doc: correcting typo | Morten Engvoldsen | 2009-07-01 | 2 | -2/+2 |
| | | | | | | | | | | | | Correcting typos Task-number: 257225 | ||||
* | | doc: Corrected several qdoc warnings. | Martin Smith | 2009-07-02 | 1 | -1/+1 |
| | | |||||
* | | src/gui: Remove QT_WA and non-Unicode code paths, dropping Win9x and NT support | miniak | 2009-07-01 | 1 | -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 mouse | Thierry Bastian | 2009-07-01 | 2 | -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 Monsen | 2009-06-24 | 1 | -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 Buddenhagen | 2009-06-23 | 1 | -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 Monsen | 2009-06-22 | 1 | -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/qt | Simon Hausmann | 2009-06-18 | 1 | -2/+14 |
|\ \ | |/ | | | | | | | | | | | Conflicts: configure.exe tests/auto/qpainter/tst_qpainter.cpp translations/qt_ru.ts | ||||
| * | QItemEditorFactory: made sure the ownership is taken on the | Thierry Bastian | 2009-06-18 | 1 | -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 the | Thierry Bastian | 2009-06-17 | 1 | -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 outside | Thierry Bastian | 2009-06-17 | 1 | -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 QComboBox | mae | 2009-06-18 | 1 | -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 outside | Thierry Bastian | 2009-06-16 | 1 | -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.5 | Volker Hilsheimer | 2009-06-16 | 66 | -132/+132 |
|\ \ | |/ | |||||
| * | Update license headers as requested by the marketing department. | Jason McDonald | 2009-06-16 | 66 | -132/+132 |
| | | | | | | | | Reviewed-by: Trust Me | ||||
* | | Removed qApp and replaced with QApplication:: for static member calls | Thierry Bastian | 2009-06-11 | 2 | -2/+2 |
| | | |||||
* | | refactor of private getters for the mode i item widget classes | Thierry Bastian | 2009-06-11 | 7 | -156/+154 |
| | | |||||
* | | remove q->layout() and q->parentWidget() code where unnecessary | Thierry Bastian | 2009-06-11 | 1 | -6/+4 |
| | | |||||
* | | Invalid QPersistentIndexes after QStandardItem::takeRow | Olivier Goffart | 2009-06-11 | 1 | -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 Goffart | 2009-06-11 | 1 | -1/+1 |
| | | | | | | | | This one is for qstandarditemmodel autotest | ||||
* | | removed superflous indirection (ie. using q->..) instead of using the | Thierry Bastian | 2009-06-10 | 5 | -58/+54 |
| | | | | | | | | private class member. | ||||
* | | Made QListWidgetItem::operator<() check if the data is numerical when comparing. | J-P Nurmi | 2009-06-10 | 1 | -1/+4 |
| | | | | | | | | | | Merge-request: 631 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com> | ||||
* | | Added QAbstractItemModelPrivate::canConvertToDouble(). | J-P Nurmi | 2009-06-10 | 4 | -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 signals | Olivier Goffart | 2009-06-10 | 2 | -10/+5 |
| | | | | | | | | | | Task-number: 250147 Reviewed-by: Thierry |