summaryrefslogtreecommitdiffstats
path: root/src/gui
Commit message (Collapse)AuthorAgeFilesLines
* Set each widgets palette after changing the theme.Alessandro Portale2009-06-011-1/+4
|
* Moved originalPalette member from public to private class.Alessandro Portale2009-06-013-5/+6
|
* A fix for a bug 252798ikause2009-05-291-0/+1
| | | | | | | | | | | | | | | | | | | | AVKON will show blanker - this will allow applications to change their layout and ensures that 'intermediate' states are not shown to the end user. This blanker is a full screen window and this causes Qt application to receive visibility change event (not visible) and then Qt application deletes backing store. Finally, when blanker is removed, Qt application receives another visibility change event (fully or partially visible) and backing store is recreated, but the original version does not ensure that window contents are valid. In fact, because of orientation change event, window server generates redraw request and it is handled before receiving that second visibility change event. In QSymbianControl::Draw doesn't draw anything. By adding this update() call, we ensure that window will be drawn correctly eventually. Reviewed-by: Jason Barron <jason.barron@nokia.com>
* Disable keypad navigation for the autotests and document it.Jason Barron2009-05-291-3/+3
| | | | | | | | | | | | On Symbian keypad navigation is enabled by default since there is no reliable way to detect the presence of touch or not. Enabling this feature though causes problems for many of Qt's autotests since they were not written with this in mind. Many tests send QTest::key*() events to a widget and subsequently test the state of the widget, but with keypad navigation enabled, the behavior changes because the widget does not have edit focus by default. Reviewed-by: axis <qt-info@nokia.com>
* S60Style: Remove unneeded case-statements and own implementation for ↵Sami Merilä2009-05-293-94/+0
| | | | drawItemText.
* S60Style: Rename the private class to highlight that it is available only to ↵Sami Merilä2009-05-292-1/+1
| | | | 's60'.
* Fixed input methods support on all spinbox types.axis2009-05-284-1/+24
|
* S60Style: Adding missing break for clearCaches.Sami Merilä2009-05-281-0/+1
|
* Enabled QtS60Style background filling also for _simulated, by movingAlessandro Portale2009-05-286-91/+65
| | | | | | some code to qs60style.cpp. De-duplicated some code in qt_s60_fill_background. The unused QT_S60STYLE_LAYOUTDATA_SIMULATED had to go, too.
* Optimize font DPI calculation by using cached value.Jason Barron2009-05-281-4/+2
| | | | | | | The default DPI is stored in the S60 structure, so that can simply be used here instead of re-calculating it each time. Task-number: 247279
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-publicAleksandar Sasha Babic2009-05-276-62/+111
|\
| * Modify QDesktopWidget to emit proper signals on resize.Jason Barron2009-05-272-8/+65
| | | | | | | | | | | | | | | | | | | | | | The resize behavior of QDesktopWidget was somewhat undefined on Symbian because we weren't actually changing the size of the widget. This patch fixes that and also implements the resizeEvent() function so that it properly emits signals. We didn't call resize() to change the size here because our implementation of setGeometry_sys() ignores the desktop widget since it doesn't have a backing store and isn't a real window. Task-number: 253930
| * S60Style: Keep the background texture in static QPixmap pointer.Sami Merilä2009-05-274-54/+46
| |
* | InputMethods supported enabled for QPlainTextEdit.Aleksandar Sasha Babic2009-05-272-3/+23
|/
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-publicAleksandar Sasha Babic2009-05-2722-121/+132
|\
| * S60Style: Tidy up the code - remove 'todo's.Sami Merilä2009-05-261-16/+7
| |
| * Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicMiikka Heikkinen2009-05-264-18/+28
| |\
| | * S60Style: Add reason for clearing style specific caches.Sami Merilä2009-05-264-18/+28
| | |
| * | Made more space available for code section in QtGui library in symbian-sbsv2 ↵Miikka Heikkinen2009-05-261-1/+4
| |/ | | | | | | builds.
| * Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtaxis2009-05-2517-89/+96
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/corelib/io/qfile.cpp src/corelib/kernel/qsharedmemory_unix.cpp src/network/socket/qnativesocketengine_p.h src/network/socket/qnativesocketengine_unix.cpp
| | * qdoc: Added some missing qdoc comments.Martin Smith2009-05-252-11/+14
| | | | | | | | | | | | Task-number: 252489
| | * qdoc: Added some missing qdoc comments.Martin Smith2009-05-253-10/+8
| | | | | | | | | | | | Task-number: 252491
| | * Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Martin Smith2009-05-253-8/+11
| | |\
| | | * Pressing enter in a QPlainTextEdit embedded on a itemview should insert a ↵Olivier Goffart2009-05-222-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | newline Do the same special case as for QTextEdit (yes, this is a pitty that we have special cases like that Reviewed-by: Thierry Task-number: 252532
| | | * Fixes a potential crash when changing system palette with QGtkStyleJens Bache-Wiig2009-05-221-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was that we installed an eventfilter regardless if the gtk symbols were defined or not. Instead we now initialize and check for the symbols before we install the filter. Task-number: 254342 Reviewed-by: ogoffart
| | * | qdoc: Added some missing qdoc comments.Martin Smith2009-05-251-0/+6
| | |/ | | | | | | | | | Task-number: 252493
| | * Fixed potential bug caused by change b89efc8e7f32.Samuel Rødal2009-05-221-1/+1
| | | | | | | | | | | | | | | | | | | | | If ensureSpace causes the layoutData to reallocate then the initialGlyphs pointers will no longer be valid. Reviewed-by: Simon Hausmann
| | * Fixed text shaping bugs with ligatures and multiple font engines.Samuel Rødal2009-05-221-14/+26
| | | | | | | | | | | | | | | | | | | | | | | | If Harfbuzz shaping adds or merges glyphs we need to move the remaining glyphs in the glyph layout to compensate. Task-number: 253783 Reviewed-by: Simon Hausmann
| | * Fix Qt does not compile when glibc < 2.3.2 on linuxJens Bache-Wiig2009-05-221-22/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than try to resolve functions or impose configure time limitations we simply remove the dependancy entirely and rely on the fallbac for all platforms. Task-number: 250731 Reviewed-by: thiago
| | * Fixed an issue with text drawing to QImages on Mac/Cocoa.Trond Kjernåsen2009-05-221-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We currently don't support subpixel hinting when drawing text to a QImage on Mac. The alpha map that is returned by the font engine is a plain 8 bit gray mask, which means we have to switch off subpixel hinting when we draw the glyph for caching. Task-number: 249178 Reviewed-by: Samuel
| | * Revert "Ignore GCC warning of unsafe floating point comparisons."Ariya Hidayat2009-05-221-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 30f7edc0aab629499b74263391ae529ad31b2ff8. There is no way to restore float-equal warning using the pragma trick. This means (as it was mentioned in the said commit log) anyone that includes qtransform.h will be forced to deal with float-equal. Reviewed-by: Samuel Rødal
| | * Fix toolbutton text incorrectly clipped on windowsJens Bache-Wiig2009-05-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In 4.5 the toolbutton icon rendering was changed somewhat and the bottom line of text for tool buttons icons with TextUnderIcon set is incorrectly clipped on Windows. The style reserves only 5 pixels but tries to use 6 pixels for text and icon spacing, hence we adjust the text rect one pixel up. This should be safe considering the fact that we have a margin on both sides of the icon already and avoids actually moving the icon positioning. Task-number: 252554 Reviewed-by: trond
| | * Fix a wrong compiler define (was a typo).Ariya Hidayat2009-05-201-1/+1
| | | | | | | | | | | | The typo was in commit 30f7edc0aab629499b74263391ae529ad31b2ff8.
| | * Don't draw an arrow for toolbuttons that are text only and have a menu.Norwegian Rock Cat2009-05-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I made this change to make things look a bit better on the mac. However, a toolbutton with text only looks strange and as a bonus the arrow covers some of the text, which no one wants. It seems that similar consructions in Cocoa don't show the arrow for text button, so we shouldn't either. Task-number: 253339 Reviewed-by: Jens Bache-Wiig
| | * Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Martin Smith2009-05-204-21/+26
| | |\
| | | * QComboBox: style change event should not resets custom item delegatesOlivier Goffart2009-05-202-9/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regression from 4.4 introduced while fixing task 167106 Autotest: tst_QComboBox::task253944_itemDelegateIsReset() Task-number: 253944 Reviewed-by: jbache
| | * | qdoc: Moved a qdoc comment to a file that is in all packages.Martin Smith2009-05-203-4/+7
| | | | | | | | | | | | | | | | Task-number: 252565
* | | | Enabling QTextEdit to handle Input Methods.Aleksandar Sasha Babic2009-05-272-2/+16
|/ / /
* | | S60Style: Try to guesstime resolution, if no exact match is found.Sami Merilä2009-05-251-2/+23
| | |
* | | S60Style: Set WA_OpaquePaintEvent off for scrollbars to draw transparency ↵Sami Merilä2009-05-251-3/+19
| | | | | | | | | | | | correctly.
* | | S60Style: Use smaller corner size for tooltip.Sami Merilä2009-05-251-6/+8
| | |
* | | S60Style: Change QTreeView elements to be non-color-skinnable.Sami Merilä2009-05-252-9/+2
| | |
* | | S60Style: Change IsSkinnableDialog method name to drawsOwnThemeBackground.Sami Merilä2009-05-252-6/+5
| | |
* | | S60Style: Reorganize methods in source files to match header file order.Sami Merilä2009-05-253-341/+353
| | |
* | | S60Style: QScrollArea background is not continuous with main theme ↵Sami Merilä2009-05-231-0/+1
| | | | | | | | | | | | background (part2).
* | | S60Style: QScrollArea background is not continuous with main theme background.Sami Merilä2009-05-231-0/+3
| | |
* | | S60Style: Draw radiobutton and checkbox indicators with correct color.Sami Merilä2009-05-231-1/+4
| | |
* | | S60Style: Build break fix. Missing include added.Sami Merilä2009-05-231-0/+1
| | |
* | | S60Style: Fix palette-polution to other styles, when style is switched runtime.Sami Merilä2009-05-222-3/+4
| | |
* | | S60Style: If table has defined a new background brush use that instead of ↵Sami Merilä2009-05-221-15/+20
| | | | | | | | | | | | drawing themed background.