summaryrefslogtreecommitdiffstats
path: root/src/gui
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Doc: Clarified that the format used in QImage::fromData() is the image"Volker Hilsheimer2009-07-251-31/+27
| | | | | This reverts commit 1368c210ef9976f68eb9fb1c3e4dc14f4fa4edd2, which accidentially reverted previous commits.
* Doc: \em is not a qdoc command, \e is correctVolker Hilsheimer2009-07-251-2/+2
|
* Fix QSystemTrayIcon causing three activated signals on doubleclickJens Bache-Wiig2009-07-241-2/+9
| | | | | | | | | | | The problem was that on Windows, we would activate on WM_LButtonUp, but a double click after activating will also generate a second WM_LButtonUp. Hence we get three activations. The fix was basically to filter out the second WM_LButtonUP, something we also do in qapplication_win.cpp. Task-number: 205499 Reviewed-by: denis
* Fix missing mnemonics when triggering menus by shortcutJens Bache-Wiig2009-07-241-0/+3
| | | | | | | | | | | | When opening a menu by shortcut on Windows, we would loose the keyboard mnemonic when navigating around. This is incorrect compared to native applications and somewhat inconvenient. The fix is basically to enable the keyboard mode when shortcuts are triggered, not only when the alt-key is pressed. Task-number: 254496 Reviewed-by: denis
* Specify widget when calling QToolTip::showText() to make sure the tool tip ↵Thomas Sondergaard2009-07-242-6/+5
| | | | | | | ends up on the right X11 screen. Merge-request: 987 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
* Nested classes need to be exported as well.Volker Hilsheimer2009-07-241-1/+1
| | | | | | This makes the QPixmapCache autotest link and pass on Windows. Reviewed-by: Trustme
* qdoc: Fixed all references to obsolete QHttp classes.Martin Smith2009-07-241-4/+5
|
* Remove all the last vestiges of QuickDraw in Qt/Mac.Norwegian Rock Cat2009-07-246-227/+3
| | | | | | | Panther was the last reason for having this around. We don't touch this code anywhere else in Qt. As a result it's orphaned and can be safely removed. It truly is the end of an era, but it's definitely worth celebrating. Quartz4Life!
* Get collapsible menus working correctly.Norwegian Rock Cat2009-07-246-54/+74
| | | | | | | | | | There was an attempt to do this earlier, but it was a bit more complex than it needed to be. We now do the update on show in Cocoa. Carbon actually does it all for us, we just need to flip the bit. We may do the updates to often, but it's better than not enough. Task-Id: 195445 Reviewed-by: Denis
* Merge branch 'master' of scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-07-241-1/+1
|\
| * Once enabled, the emulation engine never got switched back offGunnar Sletta2009-07-241-1/+1
| | | | | | | | | | | | The check in QPainter::checkEmulation was just plain wrong. Reviewed-By: Eskil
* | Merge branch '4.5' of scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-07-244-12/+39
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty/webkit/VERSION src/3rdparty/webkit/WebCore/ChangeLog src/3rdparty/webkit/WebCore/bridge/qt/qt_instance.cpp src/3rdparty/webkit/WebCore/bridge/qt/qt_instance.h src/3rdparty/webkit/WebCore/page/DragController.cpp src/3rdparty/webkit/WebKit/qt/Api/qwebframe.cpp src/3rdparty/webkit/WebKit/qt/ChangeLog src/3rdparty/webkit/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp src/gui/painting/qpaintengineex_p.h tools/linguist/lupdate/main.cpp
| * Fixed crash when vectorpath was polygonal only in raster::stroke()Gunnar Sletta2009-07-241-9/+16
| | | | | | | | | | | | | | Polygonal vector paths may have types==null, in which case this would have crashed. Reviewed-by: Eskil
| * QPainter::stroke() on raster engine would draw moveto's as linesGunnar Sletta2009-07-231-5/+17
| | | | | | | | | | | | | | | | | | The reason being that there was an assumption that any non-curved path was a continous polyline. For paths with multiple subpaths in it we need to split this up into multiple strokePolygonCosmetic calls. Task-number: 257621 Reviewed-by: Kim Motoyoshi Kalland
| * Diagonal dashes are moving when touching the clip boundary.Gunnar Sletta2009-07-231-1/+4
| | | | | | | | | | | | | | | | | | We normally pad the clip rect with the size of the pen and miterlimit to avoid this, but this didn't handle the case where there was a long diagonal dash. We also need to multiply the padding with the longest dash. Reviewed-By: Tom Cooksey
| * Implement clipping in the QPaintEngineEx::stroke() function.Gunnar Sletta2009-07-233-6/+11
| | | | | | | | | | | | | | This is a huge impact on performance whenever this path is taken. Reviewed-By: Tom Cooksey
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtPeter Yard2009-07-2461-2268/+1055
|\ \
| * \ Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtDavid Boddie2009-07-2323-1959/+265
| |\ \
| | * | Reverted commits that changed the behavior of the keypresses with modifiers.Denis Dzyubenko2009-07-232-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently it changes the behavior of Qt too much and also breaks the text input in some keyboard layouts (for example in German layout you need to be able to use Ctrl and Alt or AltGr modifiers to type text). Revert "Don't insert text into a text widget when a modifier is pressed." This reverts commit 099a32d121cbc80a1a234c3146f4be9b5237e7e8. Revert "Fixed the qlineedit autotest." This reverts commit 9210e8cdc83b6812d10f5f5847d05703ef2e5f7c.
| | * | Fix incorrect button positioning on tabsJens Bache-Wiig2009-07-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For tabs with RoundedWest or TriangularWest the button offset was reversed on tab selection. This was very visible on windows where they could actually move outside the tab border. Task-number: 255139 Reviewed-by: paul
| | * | Qt/EL mouse and keyboard driver cleanup.Robert Griebl2009-07-2318-1949/+254
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * removed the vr41xx, yopy and sl5000 drivers (old PDAs) * removed the bus mouse driver (ISA days should be over) * renamed the LinuxIS mouse driver to LinuxInput (consistency with the key driver) * unified the LinuxInput mouse and key driver I/O handling Reviewed-By: Paul
| | * | Fixed embedded mouse and keyboard docu for 4.6Robert Griebl2009-07-231-5/+3
| | | | | | | | | | | | | | | | Reviewed-By: Paul
| | * | Finish up my AA_DontSwapMetaAndControl feature.Norwegian Rock Cat2009-07-231-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ugh. The whole reason I added this was so that the text() would be preserved for people that did stuff with Control. Somehow in all the other fixes I did, I forgot to actually do that part. Reviewed-by: Denis
| * | | Doc: Clarified that the format used in QImage::fromData() is the imageDavid Boddie2009-07-231-27/+31
| |/ / | | | | | | | | | | | | | | | format, not the pixel format. Reviewed-by: Trust Me
| * | doc: Removed a few links to obsolete functions (not controversial).Martin Smith2009-07-231-16/+11
| | |
| * | "Emacs" style keyboard shortcuts don't work on Carbon.Prasanth Ullattil2009-07-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Set the native key equivalent for menu items only for single key shortcuts. Qt's shortcut mechanism will take care of sending the multiple key shortcut events. Task-number: 258438 Reviewed-by: Norwegian Rock Cat
| * | "Emacs" style keyboard shortcuts don't work on Cocoa.Prasanth Ullattil2009-07-232-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Mac supports only single key shortcuts as key equivalent for menu items. So if a multiple key QKeySequence is set, use Qt's shortcut mechanism instead of the native menu shortcut mechanism. Task-number: 258438 Reviewed-by: Norwegian Rock Cat
| * | Ensure all the standard shorcuts are used for the Close Action in MDIAndy Shaw2009-07-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Since there is more than one standard shorcut for closing a MDI window, then ensure that all of them can be used. Task-number: 161999 Reviewed-by: Simon Hausmann
| * | Fix merge error, restore size of bit field.Andreas Aardal Hanssen2009-07-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Change 34fde4a4 removes one bit from the flags bitfield, which was added in change 7bc98d7b. This happened during resolving of a merge conflict and caused some input method related autotests in tst_QGraphicsView to fail. Reviewed-by: mbm
| * | Add QGraphicsItem::focusProxy(), focus proxy support.Andreas Aardal Hanssen2009-07-235-48/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | Following QWidget's behavior, you can not assign any item in the same scene as a focus proxy for another item. Also supports nested focus proxies. You can only assign items in the same scene as focus proxies. Autotests are included. Reviewed-By: mbm
| * | Add the math3d types to QVariantRhys Weatherley2009-07-2311-25/+407
| | | | | | | | | | | | Reviewed-by: Sarah Smith
| * | Merge branch '4.5'Thiago Macieira2009-07-222-22/+22
| |\ \ | | |/
| | * Revert "Added a check that X11 timestamp goes forward only."Denis Dzyubenko2009-07-221-20/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In some cases we might get an invalid timestamp that is far away in the future, so remembering it will break all consequent X calls that require a timestamp because it just contains junk (for example clipboard will stop working). This happens with XIM+SCIM pair - whenever we start input method and type something to the widget, we get a XKeyPress event with a commited string, however the 'serial' and 'time' members of the XEvent structure are not initialized (according to valgrind) and contain junk. This reverts commit 2ed015b8a0ffad63f0f59b0e2255057f416895fb. Reviewed-By: Brad
| | * Fix table borders in multiline tables when printing to PostScript.Gunnar Sletta2009-07-221-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm not all to happy with this fix, but its the best that one can acheive given the current design. The problem is that QPdfBaseEngine sets a number of states as part of updateState(), but only when we are playing back through the alpha engine. These states are used in some draw functions, also when we are recording in the alpha engine. This leads to the states and their checks being out of sync. So to follow the existing pattern in the code we need to not touch d-> vars prior to a check to usesAlphaEngine. Reviewed-By: Eskil
| * | Compile on embeddedOlivier Goffart2009-07-222-2/+2
| | |
| * | Merge commit 'origin/4.5'Olivier Goffart2009-07-221-2/+4
| |\ \ | | |/
| | * Fix memory leak.Olivier Goffart2009-07-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | The signal could be connected a huge number of times This is already fixed in master with Qt:UniqueConnection Task-number: 258381
| | * Update documentation for QMessageBox::open().Norwegian Rock Cat2009-07-221-2/+4
| | | | | | | | | | | | | | | | | | I had missed this one in my rounds of updates. Bad me. Reviewed-by: Thorbjorn
| * | Merge commit 'origin/4.5'Olivier Goffart2009-07-221-1/+2
| |\ \ | | |/ | | | | | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsscene.cpp src/gui/kernel/qt_cocoa_helpers_mac_p.h
| | * Fix a potential crash due to the fact that _q_UpdateIndex() is reenteredAndy Shaw2009-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is confirmed to resolve a number of problems from the original reportee. It's already fixed in Qt 4.6 in a more wider fix, but this one liner is a good to have in Qt 4.5.x anyway. Task-number: 258194 Reviewed-by: alexis
| | * Another fix needed to build in a namespace on Mac with -arch ppcAndy Shaw2009-07-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Don't know how this got lost in the original submit since I had added both. Task-number: 257080 Reviewed-by: nrc
| * | Show text even if maximum == 0Olivier Goffart2009-07-221-1/+1
| | |
| * | Support for very large range in QProgressBarOlivier Goffart2009-07-224-9/+8
| | | | | | | | | | | | | | | | | | Regression since my last commit. Task-number: 152227
| * | Simplify the computation of the QProgressBar progress.Olivier Goffart2009-07-223-8/+7
| | | | | | | | | | | | | | | | | | | | | This is also a work around for a bug in gcc on powerpc (embedded-linux) Task-number: 258358 Reviewed-by: jbache
| * | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtRhys Weatherley2009-07-2211-159/+152
| |\ \
| | * | Fixed compile with -qtnamespace and MSVC.Rohan McGovern2009-07-221-4/+6
| | | | | | | | | | | | | | | | | | | | When an extern function is declared in the scope of another function, MSVC sometimes ignores the enclosing namespace {}.
| | * | Doc: documentation for boolean properties should say what happens whenVolker Hilsheimer2009-07-211-5/+7
| | | | | | | | | | | | | | | | the property is set, not what doesn't happen when the property is not set.
| | * | Doc: make potentially incorrect overloads obsolete.Volker Hilsheimer2009-07-212-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | Also add additional overload. Reviewed-by: Andreas
| | * | Doc: document reimplementations of internal functions as internal.Volker Hilsheimer2009-07-211-4/+4
| | | |
| | * | Doc: More docu for the QPixmapCache::KeyVolker Hilsheimer2009-07-211-1/+13
| | | |