summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews
Commit message (Collapse)AuthorAgeFilesLines
* Fixes doc typos and indentation in abstractitemview & itemselectionmodelLeonardo Sobral Cunha2009-07-282-238/+236
| | | | Reviewed-by: Trustme
* Doc: Replace links to obsolete APIs.Volker Hilsheimer2009-07-253-6/+6
|
* #215745 Doc Change, virtual function (operator) called from constructorPeter Yard2009-07-241-1/+22
|
* doc: Changed several \reimp to \internalMartin Smith2009-07-201-1/+1
| | | | The base function was \internal pr private.
* Merge commit 'origin/4.5'Oswald Buddenhagen2009-07-202-2/+40
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty/webkit/VERSION src/3rdparty/webkit/WebCore/ChangeLog src/3rdparty/webkit/WebCore/generated/JSDOMWindow.cpp src/3rdparty/webkit/WebCore/page/DOMWindow.idl src/corelib/io/qdiriterator.cpp src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h tests/auto/qxmlquery/tst_qxmlquery.cpp tools/linguist/lconvert/main.cpp
| * Fix accidental selection of popup items under the mouse in QComboBoxmae2009-07-171-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
| * Enhanced QDirModel documentationMarkus Goetz2009-07-171-1/+4
| | | | | | | | Reviewed-by: Volker Hilsheimer
| * Better caching of file system icon providers.Norwegian Rock Cat2009-07-161-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | It turns out that we weren't doing any caching of icons provided by the file system. We now use the similar trick that's used on Windows which does some caching on the file extension. We do fill up the cache needlessly with extra information (16, 32, 64, and 128) icons. We probably could be better with a iconRef engine that generates these sizes on demand. Still performance is 100% better with this which means using it in itemviews works. Reviewed-by: Jens Bache-Wiig
* | Fix for selection with Shift-Arrow/Shift-Click in QListView's IconModeFrank Reininghaus2009-07-171-2/+8
| | | | | | | | | | | | | | | | | | | | | | This addresses the selection of items using Shift-Arrow or Shift-Click in QListView's IconMode if the items are in a grid layout. In the case that the items do not have the same size (e.g., because their text is wrapped), this commit prevents the unexpected selection of additional items. New unit tests are included. Merge-request: 666 Reviewed-by: Olivier Goffart
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtMarius Bugge Monsen2009-07-174-28/+31
|\ \
| * | Move QMacStyle icon handling down to the common style.Norwegian Rock Cat2009-07-171-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is more follow the cue of what is done on X11, mainly, if you are creating things like messageboxes or file views, you want them to follow the desktop (yes, you do). If you disable desktop settings aware, you get the old look. This also meant shifting around some functions into qt_cocoa_helpers_mac to make them more readily available instead of living in differnt files. People who use standard pixmap get the old values, but I think that's fine. If you haven't moved onto standardIcon (introduced in 4.1), you don't get the latest bling. Review-by: Jens Bache-Wiig
| * | Fixes: ItemView text editor is not visible with empty text and iconsOlivier Goffart2009-07-171-1/+5
| | | | | | | | | | | | | | | | | | | | | It was not visible wicause its height was 0 Task-number: 257481 Reviewed-by: mbm
| * | 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
* | | Fixes: Do not create a mapping for filtered items in QSortFilterProxyModel.Marius Bugge Monsen2009-07-171-16/+26
|/ / | | | | | | | | Task: 258227 Details: This patch fixes the problem where items that are filtered, can sometime still have a mapping. This creates a problem when they become visible again, and the outdated mapping already exists.
* | 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