summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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-294-8/+6
|
* 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.
* 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
* 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
|
* 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
| |
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-262-90/+92
|\ \ | |/
| * QMenu refactor to simplify a bit geometry calculationThierry Bastian2009-06-262-90/+92
| |
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-261-5/+5
|\ \ | |/
| * QMenu: Fixed geometry for actions with specific fontThierry Bastian2009-06-251-5/+5
| | | | | | | | Task-number: 256918
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-254-109/+110
|\ \ | |/
| * QDockWidget/Toolbars refactor to avoid list copiesThierry Bastian2009-06-244-109/+110
| | | | | | | | This also helps understanding the code better.
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-2413-91/+92
|\ \ | |/ | | | | | | Conflicts: src/gui/kernel/qapplication_x11.cpp
| * Remove dead code (private slot) in QLineEditThierry Bastian2009-06-243-9/+0
| | | | | | | | Reviewed-by: janarve
| * QLineEdit's context menu now disables cut/copy action in password modeThierry Bastian2009-06-241-2/+2
| | | | | | | | | | Task-number: 256838 Reviewed-by: janarve
| * Fixed sizeHint update bug in QSpinBox.jasplin2009-06-242-0/+10
| | | | | | | | | | | | | | | | QSpinBox failed to recalculate its cached size hint when setting the range, prefix, or suffix. Reviewed-by: janarve Task-number: 255051
| * Put back in these status bar changes for 10.4Norwegian Rock Cat2009-06-231-0/+3
| | | | | | | | | | | | I was a bit overzelous removing them, but they should remain for 10.4 Reviewed-by: Morten Sørvig
| * More culling of Panther Code.Norwegian Rock Cat2009-06-232-13/+8
| | | | | | | | | | | | Removed lots of places where we check for Tiger. Now we can assume it. Reviewed-by: Morten Sørvig
| * Clean up the font hash and palette hash stuff.Norwegian Rock Cat2009-06-232-4/+2
| | | | | | | | | | | | | | | | | | These are used enough (at least on the mac) to justify them being accessible in a private header. As a bonus it "hides" the actual container being used, so we could potentially sway it out with something different. Reviewed by: Jens Bache-Wiig
| * Merge branch '4.5' of scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-06-231-5/+12
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty/webkit/VERSION src/3rdparty/webkit/WebCore/ChangeLog src/3rdparty/webkit/WebKit/qt/ChangeLog tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
| | * Remove some warnings in the Cocoa build.Norwegian Rock Cat2009-06-231-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After discussing with some of the Objective-C people I have finally got a fair number of the warnings to disappear in both 10.5 and 10.6. I also took the opportunity to remove a bunch of other warnings. Reviewed by: Morten Sørvig
| * | QDockWidget: size incorrect when moving separator on fixed-size dock.Thierry Bastian2009-06-234-61/+58
| | |
* | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-234-52/+61
|\ \ \ | |/ /
| * | QDockWidget: removed separator for not resizable dock widgetThierry Bastian2009-06-224-52/+61
| | | | | | | | | | | | Task-number: 212058
* | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-222-11/+9
|\ \ \ | |/ / | | | | | | | | | | | | | | | Conflicts: doc/src/qnamespace.qdoc src/corelib/global/qnamespace.h src/gui/graphicsview/qgraphicsscene.cpp
| * | doc: Fixed typo.Martin Smith2009-06-221-6/+5
| | | | | | | | | | | | Task-number: 256287
| * | QMenu: fixed a bug that prevented from opening a context menu with midThierry Bastian2009-06-191-3/+3
| | | | | | | | | | | | | | | | | | button and still be able to activate an action Task-number: 253494
| * | Use QTransform more efficiently.Bjørn Erik Nilsen2009-06-181-2/+1
| | | | | | | | | | | | Reviewed-by: Samuel
* | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-181-1/+2
|\ \ \ | |/ / | | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsitem_p.h
| * | QMenuBar: fixed highlight problem on actions without menuThierry Bastian2009-06-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | An item without menu could stay highlighted even when the mouse left the menu bar. Task-number: 256322 Reviewed-by: alexis
* | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-17152-304/+304
|\ \ \ | |/ / | | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsscene_p.h
| * | Merge license header changes from 4.5Volker Hilsheimer2009-06-16152-304/+304
| |\ \ | | |/
| | * Update license headers as requested by the marketing department.Jason McDonald2009-06-16152-304/+304
| | | | | | | | | | | | Reviewed-by: Trust Me
* | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-164-12/+54
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/src/qnamespace.qdoc doc/src/snippets/code/src_gui_qproxystyle.cpp src/3rdparty/webkit/VERSION src/3rdparty/webkit/WebKit/qt/ChangeLog src/gui/graphicsview/qgraphicsscene.cpp src/gui/kernel/qapplication.cpp src/gui/kernel/qapplication_x11.cpp src/gui/kernel/qt_x11_p.h src/gui/kernel/qwidget.cpp src/gui/styles/qproxystyle.cpp src/gui/styles/qstyle.cpp src/scripttools/debugging/qscriptdebugger.cpp src/scripttools/debugging/qscriptenginedebugger.cpp src/sql/drivers/odbc/qsql_odbc.cpp src/sql/kernel/qsqldatabase.cpp src/sql/kernel/qsqldriver.cpp
| * | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtMorten Sørvig2009-06-162-0/+2
| |\ \
| | * | We should make sure the text cursor is visible when using input methods.Denis Dzyubenko2009-06-162-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When typing directly text cursor is always visible (and if it isn't, the widget automatically scrolls to make it visible). It should work the same when typing using input methods. Task-number: 254766 Reviewed-by: trustme
| * | | Implement QMenu::separatorsCollapsible on Mac/Cocoa.Morten Sørvig2009-06-162-12/+52
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Hide duplicate separators and separators at the beginning and end of the menu. The main challenge here is that separators and "normal" menu items can be added in any order, for example add all the separators first and then fill in the items. This means that we have to redo the visibility decision for separators above and below when adding normal items. Reviewed-by: Prasanth Ullattil
| * | Fix QPlainTextEdit auto testmae2009-06-151-1/+1
| | | | | | | | | | | | | | | Width 0 was used as magic value to optimize the widget's startup and initial resize. We now use the illegal value -1 as magic value insetad.