summaryrefslogtreecommitdiffstats
path: root/src/gui
Commit message (Collapse)AuthorAgeFilesLines
* Implemented QKeyEventSoftKey::removeSoftkey and using it inAlessandro Portale2009-05-293-3/+12
| | | | QAbstractItemView::keyPressEvent to remove the "Back" key.
* Append and push the softKey instead of the empty listAlessandro Portale2009-05-291-1/+1
|
* Pulled helper menuActionList() out of QSoftKeyStack::handleFocusChanged.Alessandro Portale2009-05-291-11/+17
| | | | It is also needed in other places.
* Making hasSoftKeyStack() const. +coding conventions.Alessandro Portale2009-05-292-11/+8
|
* Merge commit 'origin/master' into softkeysAlessandro Portale2009-05-297-98/+5
|\
| * 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'.
* | Merge branch 'softkeys' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Alessandro Portale2009-05-291-5/+10
|\ \ | | | | | | | | | softkeys
| * | Implemented better way to detect when to add automagicallyMarkku Luukkainen2009-05-291-5/+10
| | | | | | | | | | | | a menu button to softkeys
* | | Merge commit 'origin/master' into softkeysAlessandro Portale2009-05-2811-95/+90
|\ \ \ | |/ / |/| / | |/
| * 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
* | Moved the soft key command relay acrobatics from QApplication toAlessandro Portale2009-05-275-20/+14
| | | | | | | | | | | | QSoftKeyStackPrivate. Removed QSoftKeyStack::handleSoftKeyPress and made QSoftKeyStackPrivate::handleSoftKeyPress static, so that it can be called from QApplication.
* | QSoftKeyStack::softKeyStackOfWidget only returns a stack if has one.Alessandro Portale2009-05-271-1/+1
| | | | | | | | No implicit creation happens.
* | Merge commit 'origin/master' into softkeysAlessandro Portale2009-05-2710-67/+150
|\ \ | |/
| * 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
| |\
| * | Enabling QTextEdit to handle Input Methods.Aleksandar Sasha Babic2009-05-272-2/+16
| | |
* | | Changed menu adaptation to handle case where no softkeystackMarkku Luukkainen2009-05-271-1/+1
| | | | | | | | | | | | is instantiated better
* | | Added method bool hasSoftKeyStack() so that user can check ifMarkku Luukkainen2009-05-272-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QMainWindow has a softkeystack or not. Making method QSoftKeyStack *softKeyStack() const return 0 when there is no softkeystack was also evaluated. Returning 0 was discarded as it would make softKeyStack() behave differently than statusBar() and menuBar() methods. It would be bad API design to have methods in same class behave differently.
* | | Added handling for a case when menu is being rebuilt and menuMarkku Luukkainen2009-05-271-13/+15
| | | | | | | | | | | | is not inside a QMainWindow.
* | | KeyPadNavigation: showing a 'Back' softkey while in editfocus.Alessandro Portale2009-05-261-3/+9
| | |
* | | Platforms that do not yet have a softkey adaptation layer will showAlessandro Portale2009-05-261-0/+34
| | | | | | | | | | | | | | | the softkeys in a toolbar inside the respective QMainWindow. This is a kind-of-usable stub and definitely useful for debugging.
* | | Introducing QKeyEventSoftKey helper class.Alessandro Portale2009-05-262-0/+38
| | | | | | | | | | | | | | | It maps softkeys to actual key events. Making it easy and non-intrusive to add softkey usage to existing widgets.
* | | Merge commit 'origin/master' into softkeysAlessandro Portale2009-05-262-17/+11
|\ \ \ | | |/ | |/|
| * | 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
| |\ \
| * | | Made more space available for code section in QtGui library in symbian-sbsv2 ↵Miikka Heikkinen2009-05-261-1/+4
| | | | | | | | | | | | | | | | builds.
* | | | Bugfix for mapping keys when there is only one softkey in the stackMarkku Luukkainen2009-05-261-1/+1
| | | |
* | | | Fixed crash when building menu while softkeystack is emptyMarkku Luukkainen2009-05-261-13/+14
| | | |
* | | | Added method isEmpty() to interface. This can be used to queryMarkku Luukkainen2009-05-263-0/+13
| | | | | | | | | | | | | | | | if stack actually has any items in it
* | | | Implemented popandPush method. This is needed to optimize poppingMarkku Luukkainen2009-05-263-3/+55
| | | | | | | | | | | | | | | | | | | | and pushing. This avoid unnecessary screen redraw and setting of native softkeys. One such case occurs when focused widge changes.
* | | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Markku Luukkainen2009-05-2621-118/+174
|\ \ \ \ | | |/ / | |/| | | | | | softkeys
| * | | S60Style: Add reason for clearing style specific caches.Sami Merilä2009-05-264-18/+28
| |/ /
| * | 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