summaryrefslogtreecommitdiffstats
path: root/src/gui
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | | S60Style: Make 'checkable' buttons just 'pressed down' when checked.Sami Merilä2009-05-221-24/+2
| | |
* | | FixesAlessandro Portale2009-05-201-1/+4
| | |
* | | Part cache key nitpickAlessandro Portale2009-05-201-1/+1
| | |
* | | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtaxis2009-05-2034-214/+114
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/auto/network-settings.h tests/auto/qhttpsocketengine/tst_qhttpsocketengine.cpp tests/auto/qiodevice/tst_qiodevice.cpp tests/auto/qnativesocketengine/tst_qnativesocketengine.cpp tests/auto/qsocks5socketengine/tst_qsocks5socketengine.cpp tests/auto/qsslsocket/tst_qsslsocket.cpp
| * | Revert focus apparance on itemviews for X11Jens Bache-Wiig2009-05-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We changed this primarily for the mac as active appearance on widgets in itemviews should depend on the window activation state and not on the focus widget. It was explicitly added back for windows only but has been reported as a bug on X11 as well so we might as well keep it mac-only for now. Reviewed-by: mortens
| * | Remove bad documentation about window modality and QMessageBox.Norwegian Rock Cat2009-05-201-9/+4
| |/ | | | | | | | | | | QMessageBox is like QDialog. It doesn't have any extra magic with window modality on creation, so don't advertise that it does. The note about using message boxes as sheets is also updated.
| * Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Martin Smith2009-05-203-6/+20
| |\
| | * Fix a crash where QCocoaWindow get events after its widget is deadNorwegian Rock Cat2009-05-202-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The invariant that QCocoaWindow's lifetime is contained in a QWidget is simply not true. A top-level QWidget gets associated with a QCocoaWindow (which is reference counted). However, it can be the case that we've destroyed our QWidget, the link is removed, the window is hidden, but the window still gets an event. In that case we would crash with an eventual null pointer access. However, we don't really need to do anything in this case, so just call super and return. Task-number: 253402 Reviewed-by: Morten Sørvig