summaryrefslogtreecommitdiffstats
path: root/src/gui
Commit message (Collapse)AuthorAgeFilesLines
* unify z-value handling in graphics and fx items.Lars Knoll2009-07-223-3/+15
| | | | | | Add a ItemNegativeZStacksBehindParent flag to QGraphicsItem to get the behavior we need in QFxItems. Removed the z property in QFxItems.
* More cleanups in QFxItemLars Knoll2009-07-221-1/+1
| | | | | Remove the pos, x and y properties and use the ones in QGraphicsObject instead
* First round of cleanups for QFxItemLars Knoll2009-07-221-2/+2
| | | | | Removed some methods that are already implemented in QGraphicsItem/Object.
* Merge branch 'kinetic-declarativeui' of ↵Alan Alpert2009-07-203-1/+2
|\ | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * Fix compilation after change 6626a9Leonardo Sobral Cunha2009-07-171-0/+1
| |
| * CompileEskil Abrahamsen Blomfeldt2009-07-172-1/+1
| | | | | | | | Moved some code so that the QtSvg module will compile on MSVC2003.
* | Emit selectionChange when setSelection is calledAlan Alpert2009-07-201-0/+5
|/
* Merge branch 'kinetic-declarativeui' of ↵Michael Brasser2009-07-1646-194/+404
|\ | | | | | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui-gv Conflicts: src/declarative/fx/qfxitem.h src/declarative/util/qfxview.h src/gui/graphicsview/qgraphicsitem_p.h
| * Merge branch 'kinetic-declarativeui' of ↵Michael Brasser2009-07-169-1825/+2970
| |\ | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * \ Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Michael Brasser2009-07-1549-203/+485
| |\ \ | | | | | | | | | | | | kinetic-declarativeui
| | * | support context menu for system tray icons on Windows CEJoerg Bornemann2009-07-141-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is Windows CE only. For Windows mobile we don't support context menus for system tray icons. Task-number: 250528 Reviewed-by: thartman
| | * | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtMarius Bugge Monsen2009-07-143-15/+19
| | |\ \
| | | * | Make sure QGraphicsScene::update() only requires one event-loopBjørn Erik Nilsen2009-07-143-15/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | iteration before the views are updated. A full scene update (scene.update()) already supported it because the scene called update() on the views directly. However, partially scene updates (scene.update(rect)) required two event-loop iterations before the views were updated. Auto-test included.
| | * | | Remove sendGestureEvent().Marius Bugge Monsen2009-07-141-68/+0
| | | | |
| | * | | Add QGraphicsView::filtersChildEvents property.Marius Bugge Monsen2009-07-145-9/+149
| | |/ / | | | | | | | | | | | | This obsoletes QGraphicsView::handlesChildEvents.
| | * | Use the correct font metrics function.Olivier Goffart2009-07-142-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Qt::TextShowMnemonic removes the '&' for us. This is required if we want the multi-lenght-variant strings working. Reviewed-by: Thierry
| | * | Make the window title set by setWindowFilePath() match our docs.Norwegian Rock Cat2009-07-142-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On the mac, we were setting the absolute path of the file passed in while we document that we only set the filename. The filename is actually what all the other Mac apps do, so we should really do it. Unfortunately, this task laid around longer than it should, but the description text was bad. Additionally, fix a bug in the Cocoa version where we would set a proxy icon for items that didn't exist, this is not a good idea. Task-number: 220501 Reviewed-by: Trust Me
| | * | Remove this foundItem boolean.Norwegian Rock Cat2009-07-141-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Found while documenting this internally. I guess I had a reason for it at one point, but it seems that I'm more concerned about what index. So just get rid of this.
| | * | use qt_mac_QStringToNString & qt_mac_NSStringToQStringNorwegian Rock Cat2009-07-142-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | These functions hide all this horrible casting and we've had them for a while. When I see them, I try to replace them as it keeps the code much more readable.
| | * | Build fix for mingwThierry Bastian2009-07-149-18/+17
| | | | | | | | | | | | | | | | | | | | we should include qt_windows.h and not windows.h because we have to define WINVER to 0x500.
| | * | Compile without qt3supportOlivier Goffart2009-07-131-1/+1
| | | |
| | * | Fixes: The keyboard navigation of QComboBox don't work with the completionNoah White-Hamerslough2009-07-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Merge-request: 653 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com> Task-number: 247560
| | * | QToolTip: Uses QPalette::ToolTipText default text color for rich text.Thomas Sondergaard2009-07-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Task-number: 248429 Merge-request: 786 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
| | * | Added QTextListFormat::ListUpperRoman and QTextListFormat::ListLowerRoman ↵Nils Jeisecke2009-07-139-7/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | for roman numbering of lists as supported by HTML/ODF Reviewed-by: Olivier Goffart Merge-request: 681
| | * | QTreeView: now dragging lots of items is fastThierry Bastian2009-07-134-2/+47
| | | |
| | * | Fix font propagation issues with QComboBox and the popup menu.Norwegian Rock Cat2009-07-133-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has always been a bit bumpy, the problem is that the popup normally has its own styling from the desktop, plus it's its own top-level and that is normally a boundary for propagation. Of course, people are surprised by this (especially when it works for editable). So, we need to be a bit better propagating the info. Also the QStyleOptionMenuItem has the correct font, but if it's set on a window, by the time it reaches the popup, its resolve mask is very weak, so it will fail to resolve at all. Setting the point size allows the font to have a bit of strength. Task-number: 257486 Reviewed-by: Jens Bache-Wiig
| | * | Cut-off in QGraphicsView not hit if setting a scene rect.Bjørn Erik Nilsen2009-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QGraphicsScene::sceneRect() returns the growingItemsBoundingRect if not a particular scene rect is set; otherwise the sceneRect is returned. This cut-off aims to do less processing when the exposed region covers the entire scene, but it won't get hit in case of a sceneRect because we always check against the growingItemsBoundingRect. Task-number: 257192
| | * | Unified common code in QSyntaxHighlighter::rehighlight() and ↵J-P Nurmi2009-07-131-17/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | QSyntaxHighlighter::rehighlightBlock() Merge-request: 379 Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
| | * | Added QSyntaxHighlighter::rehighlightBlock(QTextBlock)J-P Nurmi2009-07-132-0/+28
| | | | | | | | | | | | | | | | | | | | Merge-request: 379 Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
| | * | Fix crash after "Remove QT_WA and non-Unicode code paths, dropping Win9x and ↵Bjoern Erik Nilsen2009-07-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NT support" tst_QGraphicsProxyWidget crashed because the QAlphaWidget tried to access a deleted widget. Before we had the if check, but that was removed with this commit: 55137901. Completely wrong, we must check the widget pointer before using it. Reviewed-by: jbache
| | * | Merge commit 'origin/4.5'Bill King2009-07-132-6/+3
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/kbddrivers/usb/main.cpp tests/auto/qnetworkreply/tst_qnetworkreply.cpp tests/auto/qwidget/tst_qwidget.cpp
| | | * | Fixed a crash with input methodsPierre Rossi2009-07-102-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The inputContext's focusWidget was not reset when disabling input methods. Thanks to Benjamin P. Task-number: 257832 Reviewed-by: Denis
| | * | | Fixed linking of QtSvg with MSVC.Rohan McGovern2009-07-133-19/+18
| | | | |
| | * | | 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
| | * | | build fix on windowsThierry Bastian2009-07-111-0/+1
| | | | |
| | * | | 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
* | | | | Merge branch 'kinetic-declarativeui' of ↵Michael Brasser2009-07-169-1825/+2970
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui-gv Conflicts: src/declarative/fx/fx.pri
| * | | | Merge branch 'master' of /home/alpert/depot/personal/aalperts-qlinecontrol ↵Alan Alpert2009-07-169-1825/+2970
| |\ \ \ \ | | |/ / / | |/| | | | | | | | into kinetic-declarativeui
| | * | | Remove emitingEditingFinished from QLineControlAlan Alpert2009-07-163-20/+5
| | | | | | | | | | | | | | | | | | | | Doesn't seem to hurt anything, and it was ugly API.
| | * | | Rename the p_foo() functions in QLineControl to internalFoo().Marius Bugge Monsen2009-07-142-31/+31
| | | | |
| | * | | Make the member variable names in QLineControl consistent.Marius Bugge Monsen2009-07-144-245/+253
| | | | |
| | * | | Some minor style and whitespace fixes.Marius Bugge Monsen2009-07-142-38/+44
| | | | |
| | * | | Add '\internal' to the QLineControl documentation.Marius Bugge Monsen2009-07-141-40/+102
| | | | |
| | * | | Cleanup some incorrect changes to QLineEditAlan Alpert2009-07-141-9/+8
| | | | |
| | * | | qlinecontrol_p_p.h isn't actually used at all, remove file.Alan Alpert2009-07-141-105/+0
| | | | |
| | * | | Replace Q_ASSERT with qWarningAlan Alpert2009-07-141-2/+4
| | | | | | | | | | | | | | | | | | | | This is probably more correct, but is also the way it used to behave.
| | * | | Actually, some of that can't be moved back into QLineEditAlan Alpert2009-07-142-38/+43
| | | | | | | | | | | | | | | | | | | | | | | | | Also it should be executed a little later to avoid accidental behaviour changes.
| | * | | Move some keypad navigation code back out of QLineControlAlan Alpert2009-07-142-50/+48
| | | | |
| | * | | Fix some minor mistakesAlan Alpert2009-07-102-4/+4
| | | | |