summaryrefslogtreecommitdiffstats
path: root/src/gui
Commit message (Collapse)AuthorAgeFilesLines
* doc: Fixed several qdoc error reports.Martin Smith2009-07-012-66/+77
| | | | | Also changed qdoc not to warn about undocumented parameters if the function is marked with the \reimp command.
* Added QGraphicsScene::sendEvent().J-P Nurmi2009-07-012-0/+30
| | | | | Merge-request: 787 Reviewed-by: Bjørn Erik Nilsen <bjorn.nilsen@nokia.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
* Set the focus to a child widget when set on a QGroupBoxBenjamin Poulain2009-06-301-3/+2
| | | | | | | | | When the focus is set on a QGroupBox with the policy NoFocus, the focus should be propagated to one of the child if it accepts the focus. This was failing because QWidget::focusWidget() returns the QGroupBox itself. Task-number: 257158 Reviewed-by: Denis
* Merge commit 'origin/4.5'Oswald Buddenhagen2009-06-304-12/+30
|\
| * Fix Toolbars in unified toolbar looking bad Carbon w/Fullscreen changesNorwegian Rock Cat2009-06-301-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was a bug in the Carbon code when an item went in full-screen, than out with a unified toolbar. In those cases the toolbars would end up getting but into the mainwindow area. The reason this was happening was that we were calling transferChildren() after we had set up our toolbar. This cause problems because we end up pulling the QToolbars right out of the unified toolbar. The easiest way to solve this is to just update the status on it again. This should solve any issues. I also added some logic to avoid calling this too many times in that one case. Luckily, this seems to only affect Carbon. Task-number: 254462 Reviewed-by: Jens Bache-Wiig
| * Doc: Fixed a doc bug in QPlainTextEdit class description.Geir Vattekar2009-06-301-7/+7
| | | | | | | | | | Task-number: 256762 Reviewed-by: TrustMe
| * Doc: About menu on the Mac gets the application name from Info.plist.Geir Vattekar2009-06-302-3/+6
| | | | | | | | | | Task-number: 256818 Reviewed-by: Trenton Schulz
* | QDockArea: remove coverity warningThierry Bastian2009-06-301-1/+1
| |
* | QToolBar: fix coverity warningsThierry Bastian2009-06-303-27/+18
| | | | | | | | I also changed a bit the way the timer for the popup is working
* | doc: Fixed several qdoc error reports.Martin Smith2009-06-301-6/+10
| |
* | Merge branch '4.5'Marius Storm-Olsen2009-06-305-11/+17
|\ \ | |/
| * QWidget::adjustSize() sends a spontaneous event - Mac OS X CocoaPrasanth Ullattil2009-06-302-2/+12
| | | | | | | | | | | | | | | | The windowDidResize notification now differentiates an internally triggered resize from a user triggered resize. Task-number: 256269 Reviewed-by: Norwegian Rock Cat
| * Remove unused variablesAnders Bakken2009-06-291-2/+0
| | | | | | | | | | | | These variables are never used. Reviewed-by: TrustMe
| * Always turn on shadows for Cocoa.Norwegian Rock Cat2009-06-291-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Frameless windows wouldn't get shadows in Cocoa, which they do in Carbon. You can argue over who is more correct, but the fact is they can't be inconsistent. Since Cocoa is the newcomer, I'm bending that. Though it would seem useful to have an ability to provide some developer control over the shadow. At the moment, the only thing we have to ensure is that we always turn on the shadow. Task-number: 254725 Reviewed-by: Denis
| * Fix crash/artifacts on SuperHTom Cooksey2009-06-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | Add SuperH to the ever growing list of architectures which can't correctly dereference a short* which is not 16-bit aligned. Turning this into a white-list rather than a black list might make sense at some point, but as QT_ARCH_I386 isn't defined on windows, the white list looks even uglier at the moment. :-) Task-number: 257077 Reviewed-by: TrustMe
| * Fix coverity warningJens Bache-Wiig2009-06-291-2/+1
| | | | | | | | | | | | | | | | Coverity was complaining because we were not checking the return value of find() but instead using the pixmap handle to check the result. This makes the call more consistent Reviewed-by: mgoetz
* | qdoc: Added more handling of \reimp commandMartin Smith2009-06-301-10/+23
| | | | | | | | | | | | Also fixed a few qdoc error reports. Task-number: 162182, 222650
* | QMenuBar: make sure to update the geometries when neededThierry Bastian2009-06-301-0/+4
| |
* | QMenu: when we access the actions geometry, it's now always up2dateThierry Bastian2009-06-301-0/+5
| |
* | QMenu: fixed a crash when clicking on a menu with a submenuThierry Bastian2009-06-301-1/+2
| |
* | Fixed QLayout to take the maxi/min size into account for the menu barThierry Bastian2009-06-301-1/+4
| | | | | | | | | | | | | | It was only taking the sizeHint into account Task-number: 141355 Reviewed-by: jasplin
* | Fixed compile with Windows CE 5.Rohan McGovern2009-06-291-0/+4
| | | | | | | | On some systems, math.h still doesn't define M_PI.
* | QMenuBar: adding autotest for the geometry calculationThierry Bastian2009-06-291-5/+6
| | | | | | | | Also fixed a bug that would take the VMargin 3 times instead of 2.
* | Fix some coverity warningsThierry Bastian2009-06-295-9/+8
| |
* | QMenuBar: some private members weren't initializedThierry Bastian2009-06-291-1/+4
| | | | | | | | This was a coverity warning
* | QMenuBar: adding autotest and simplify/fix geometry calculationThierry Bastian2009-06-292-15/+9
| |
* | QMenu: adding autotest for the geometry calculationsThierry Bastian2009-06-291-4/+4
| | | | | | | | I also fixed an off-by-1 pixel bug
* | QMenu: fixed geometry problem that was adding twice the panel widthThierry Bastian2009-06-291-5/+6
| |
* | QMenuBar: simplification of codeThierry Bastian2009-06-293-114/+99
| | | | | | | | More to come: calculation of geometry
* | Doc - Improved the Detailed Description section for QCheckBox withKavindra Devi Palaraja2009-06-291-58/+71
| | | | | | | | | | | | | | | | | | | | screenshots and some cleaned up sentences. Reviewed-By: TrustMe Details: Also fixed the error in the sentence mentioning that QButtonGroup can be used to group buttons visually thanks to a bug report.
* | Compile.Norwegian Rock Cat2009-06-291-1/+1
| | | | | | | | | | I now need to get the index of the action before I can find any corresponding window item.
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtJason McDonald2009-06-292-2/+6
|\ \
| * | Fixed QPushButton sizeHint recalculation bug.jasplin2009-06-292-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch causes the size hint of QPushButton to be recalculated in cases where the value of the autoDefault property may have changed due to changes in the ancestor chain. If not explicitly set, the value of the autoDefault property depends on the presence of a QDialog ancestor. Note: The new autotest covers two different use cases related to this behavior. Reviewed-by: janarve Task-number: 255581
* | | Fix license headers after multitouch+gestures merge.Jason McDonald2009-06-2913-65/+65
|/ / | | | | | | | | | | | | Commercial license headers belong in source packages only. The repo must have the pre-release license headers. Reviewed-by: Trust Me
* | Fix old/missing license headers from multitouch+gestures merge.Jason McDonald2009-06-2915-43/+43
| | | | | | | | Reviewed-by: Trust Me
* | Merge branch '4.5'Thiago Macieira2009-06-282-3/+21
|\ \ | |/
| * Fix painting errors in QScrollArea on Mac (Carbon)Morten Sørvig2009-06-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is mainly a stop-gap solution for 4.5.x. It trades painting performance for correct painting. Commit 7988d05da changed the opaque test from q->testAttribute(Qt::WA_OpaquePaintEvent) to qt_widget_private(w)->isOpaque in qt_mac_update_widget_posisiton. This means we'll do optimized moves in more cases. Unfortunately it also causes painting errors in some cases (see the task). Revert the commit for now to put the 4.5 branch in a god shape. Task-number: 252295 Reviewed-by: nrc
| * Fixed cap and join styles when printing to native Windows printers.Trond Kjernaasen2009-06-261-1/+19
| | | | | | | | | | | | | | | | Line and polygon strokes did not respect the join/cap styles set on a painter. Task-number: 256914 Reviewed-by: Samuel
* | Fixed compile on Unix.Rohan McGovern2009-06-271-0/+1
| | | | | | | | | | Fixes error: src/gui/kernel/qevent_p.h:62: error: invalid use of incomplete type ‘struct QKeyEvent’
* | QMenu: refactor for the QWidgetActions' widget.Thierry Bastian2009-06-262-30/+24
| | | | | | | | | | We now use QList/QVector over QHash. It is more efficient because most of the time we iterate over the list of actions anyway.
* | QMenu: refactor of the update of the geometry to have one central placeThierry Bastian2009-06-262-183/+144
| | | | | | | | of calculation (ie. updateActionRects)
* | QMenu: Fixed a painting regressionThierry Bastian2009-06-262-7/+14
| |
* | Silence trivial warningsThiago Macieira2009-06-261-0/+2
| |
* | Compile on WinCEBradley T. Hughes2009-06-261-6/+8
| | | | | | | | | | | | | | Replace the SIZE constant with an Enum with a Qt-ish CamelCased name (since SIZE conflicts with the system headers). Reviewed-by: TrustMe
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-261-1/+1
|\ \
| * | QMenu: fixed regression in autotestThierry Bastian2009-06-261-1/+1
| | |
* | | Cleanup includes in public headers.Bradley T. Hughes2009-06-268-6/+7
| | | | | | | | | | | | We don't want to pull in too much if we can avoid it.
* | | CompileBradley T. Hughes2009-06-261-10/+10
| | |
* | | Don't always send spontaneous events to QGraphicsSceneBradley T. Hughes2009-06-261-5/+17
| | | | | | | | | | | | | | | Only do that if the original event delivered to the QGraphicsView was also spontaneous.