summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets
Commit message (Collapse)AuthorAgeFilesLines
* Fixes from code reviewMarkku Luukkainen2009-06-095-28/+22
|
* Fixes from code reviewMarkku Luukkainen2009-06-085-33/+30
|
* Implemented context sensitive menu itemMarkku Luukkainen2009-06-081-17/+15
|
* Fixed parsing error when doing configure+compile in cleanMarkku Luukkainen2009-06-081-5/+4
| | | | environment
* Merge branch 'softkeys' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Markku Luukkainen2009-06-082-15/+39
|\ | | | | | | softkeys_without_stack
| * Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Markku Luukkainen2009-06-082-15/+39
| |\ | | | | | | | | | softkeys
| | * Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtaxis2009-06-082-15/+39
| | |\ | | | | | | | | | | | | | | | | Conflicts: tests/auto/qlocalsocket/tst_qlocalsocket.cpp
| | | * Document that textVisible is optional when it comes to styles.Norwegian Rock Cat2009-06-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No progress bars on the mac show text and it would be bad if we allowed it. There's nothing stopping people from connecting the valueChanged() signal to a slot and have a real label layed out correctly that actually updates with the amount of time it takes to complete, etc. This is more what they do on Mac OS X if they decide to show a label.
| | | * BT: Fix a crash in the SDI example in CocoaNorwegian Rock Cat2009-06-031-15/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was quite a bug and it showed to some issues that I hadn't taken into account when doing the initial port to Cocoa. The issue was that we weren't "merging" items into the application menu if an item had already been associated with it. Which seems OK for applications that create one window with one menubar, but breaks down horrible when you have multiple windows with each having their own menubar. The result is that items in the application menu potentially go to the wrong window (and the potential crash). Since there can only ever be one "Quit", "About", or "Preferences" menu item in Cocoa, we need to make sure that we keep these items in sync whenever we switch the menubar or remove actions that are being deleted. That's what we do here. FWIW, QActions with "ApplicationSpecificRole" for their menu role have potential to cause memory leaks or other bugs if abused. If you are a happy open source hacker who wants a thankless job, solving them would get you lots of goodwill in my book. Task-number: 255038 Reviewed-by: Richard Moe Gustavsen
* | | | Changed combobox to use popup as a parent when setting softkeys.Markku Luukkainen2009-06-061-1/+1
| | | | | | | | | | | | | | | | This enables the softkeys to actually be visible on the screen
* | | | Added implementation to get default role namesMarkku Luukkainen2009-06-062-0/+27
| | | |
* | | | Fixes to make gui compile after clean configure. RemovalMarkku Luukkainen2009-06-063-10/+13
| | | | | | | | | | | | | | | | of QSoftKeyStack broke compilation on clean environment...
* | | | Added helper class to make adding/removing softkeys easierMarkku Luukkainen2009-06-062-0/+149
| | | |
* | | | Removed QSoftKeyStack and replaced places using it with theMarkku Luukkainen2009-06-0610-984/+7
| | | | | | | | | | | | | | | | new improved softkey interface in QWidget
* | | | Disabled context sensitive menu because it would cause compilationMarkku Luukkainen2009-06-061-2/+2
| | | | | | | | | | | | | | | | | | | | failure. Context menu will be enabled again once the QAction SoftKeyRole implementation is in state where context menu can be properly supported
* | | | Replaced usage of QSoftKeyStack with QActions having SoftKeyRoleMarkku Luukkainen2009-06-062-70/+1
| | | |
* | | | Replaced usage of QSoftKeyActions with QActions+SoftKeyRolesMarkku Luukkainen2009-06-061-1/+2
| | | |
* | | | Initial version of softkey implementation that doesn't useMarkku Luukkainen2009-06-053-3/+11
|/ / / | | | | | | | | | softkeystack but instead softkeys are stored in QWidgets.
* | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Markku Luukkainen2009-06-051-1/+2
|\ \ \ | |/ / | | | | | | softkeys
| * | Fixed a small input method bug in QLineEdit.axis2009-06-031-1/+2
| | | | | | | | | | | | | | | We need to check for replacementLength as well. Otherwise there will be no undo information if text is deleted using input methods.
* | | Adding and removing a 'Cancel' SoftKeyAlessandro Portale2009-06-031-2/+14
| | |
* | | Resolving merge conflictsAlessandro Portale2009-06-037-49/+86
|\ \ \ | |/ /
| * | Merge branch 'imSelections'axis2009-06-032-7/+73
| |\ \
| | * | Made QLineEdit respect the new Qt::ImAnchorPosition.axis2009-06-031-0/+7
| | | | | | | | | | | | | | | | | | | | RevBy: Trust me AutoTest: Will add in later commit
| | * | Made QLineEdit respect the new QInputMethodEvent::Selection.axis2009-06-031-5/+34
| | | | | | | | | | | | | | | | | | | | RevBy: Simon Hausmann AutoTest: Will add in later commit
| | * | Revert "Changed the behavior of ImCursorPosition slightly."axis2009-06-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit ce02d0e9e0ad8d8ac47e4f3ee95bac5cb74ed184. This turned out not to be enough for proper selection support together with S60 FEP. Instead we will revert the behavior and add new API.
| | * | Fixed incorrect headers.axis2009-06-031-1/+31
| | | |
| * | | Since now, S60 commands are handled by QApplication::s60HandleCommandLAlessandro Portale2009-06-025-38/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | inside QtGui, we do not need to export those QMenu[Bar]::symbianCommands through our public API, anymore. This commit moved the code of QMenuBar::symbianCommands to QMenuBarPrivate::symbianCommands and made that one static. QMenu[Private]::symbianCommands was apparently unused -> deleted. RevBy: Jason Barron RevvBy: Markku Luukkainen
| * | | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtaxis2009-06-021-4/+7
| |\ \ \ | | |/ / | |/| / | | |/ | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.exe examples/itemviews/puzzle/puzzle.pro examples/qtconcurrent/imagescaling/imagescaling.pro examples/widgets/movie/movie.pro tools/configure/configureapp.cpp Will rebuild configure.exe in next commit.
| | * BT:Fix a clipping issue in tabbar tabsJens Bache-Wiig2009-05-251-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On XP and Vista where tabs use taboverlap, the currently dragged would loose the outline. We need to compensate for the taboverlap when creating the draggable widget, otherwise the outline will be clipped. Task-number: 254453 Reviewed-by: nrc
* | | Added automatic creation for symbian os if softkeystack is enabled.Markku Luukkainen2009-06-031-0/+3
| | | | | | | | | | | | | | | This circumvents the need to go and change every example to explicitly start using softkeystack
* | | Using softkeys for the Cancel/Back buttons during keypad navigationAlessandro Portale2009-06-011-1/+8
| | |
* | | warnings--Alessandro Portale2009-06-012-3/+2
| | |
* | | Make sure that the QKeyEventSoftKey gets deleted when the actionAlessandro Portale2009-05-301-0/+1
| | | | | | | | | | | | gets deleted.
* | | Delete the actions in the popped SoftKeySets.Alessandro Portale2009-05-301-9/+11
| | |
* | | Implemented QKeyEventSoftKey::removeSoftkey and using it inAlessandro Portale2009-05-292-1/+11
| | | | | | | | | | | | 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 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-284-1/+24
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | Fixed input methods support on all spinbox types.axis2009-05-284-1/+24
| | |
* | | Moved the soft key command relay acrobatics from QApplication toAlessandro Portale2009-05-274-11/+11
| | | | | | | | | | | | | | | | | | 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-274-5/+39
|\ \ \ | |/ /
| * | 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-272-9/+19
| |\ \
| * | | 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