- Mar 11, 2013
-
-
Gabriel de Dietrich authored
Change-Id: I1d76abcd1c306c6a6f0ce8dbffe980f95f6bf0ae Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Gabriel de Dietrich authored
Some window managers use fading effects to close popups, resulting on an unnatural animation if menus close from parent to child. Change-Id: I5860b65b2905752f74c8abdad05988980c167323 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- Mar 06, 2013
-
-
Gabriel de Dietrich authored
Change-Id: I1980899d4904abc595a1ac8ce45b9cd7dca2cdec Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Gabriel de Dietrich authored
Change-Id: I33a23a9541887f329dd657630f3f28d2bc98b0d7 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Debao Zhang authored
Change-Id: If1b47e16b0add48a1bda1476408ea31f6872b0ef Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- Mar 04, 2013
-
-
Gabriel de Dietrich authored
Used the same pattern as earlier with Menu. Change-Id: Id7a2d791516ba6d827e90c3b3e11f97dd326ccd5 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- Feb 25, 2013
-
-
Gabriel de Dietrich authored
... when we never moved the cursor inside the menu. Change-Id: I1645656ebcc047e5d231dda9daeab2484d0fd9c0 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Gabriel de Dietrich authored
Some limitations in MouseArea force us to abandon the "one mouse area per menu item" implementation in favor of a menu-wide mouse area, where we track the position changes to highlight the menu item under the mouse cursor. This makes possible updating the highlighted menu item while keeping the mouse pressed. Also, we need to emit an extra mouse press event, from the menu popup window, so that the menu mouse area will receive any mouse release event the user may have triggered. This is because the initial mouse press event popping up the menu was made in another window, and MouseArea would only emit 'released' signals if the released button was already pressed. Change-Id: Id10dd61fcf9e38ef3d34a61b7172301802e9646c Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- Feb 21, 2013
-
-
Shawn Rutledge authored
We want to use the same license as the other Qt modules. QML files stay as BSD for now. Change-Id: I10b1484f5ab0dfe2138ff7e045d0ecfd85556aa1 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
Jens Bache-Wiig authored
Change-Id: Icc61dbfc74cc2a303b9847e7d2c7ace4a9002046 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
Gabriel de Dietrich authored
When popping up a menu with the mouse cursor under a certain item, the visual item coordinates may be resolved too late. To solve this, we listen to the item's position and update the popup window's position accordingly, in a similar fashion as we did for its size. Change-Id: I1a853e5bc0cd2c3d6765bcc34a9f63f8598099a0 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- Feb 07, 2013
-
-
Gabriel de Dietrich authored
This removes one dependency from QtWidgets. QPA is only implemented for Mac so far, and depends on qt/qtbase's I5f83f260602f55b9409ad69abf670afb59b2d33a change. This means, it will only work with Qt 5.1 and older. Other QPA implementations will follow, like Android. The QML-only implementation has been tested mostly on Linux. On Mac, we need I4716b4c0b6187d14adb34c46b848ca0a16370b5a to be integrated in qt/qtbase dev branch if we want to enforce non-QPA menus. Updated ComboBox, ContextMenu to new QPA menu behavior Includes preliminary documentation for Action, ExclusiveGroup, MenuBar, MenuItem, MenuSeparator, and Menu. Change-Id: I6f38849a03a51386465156f8be3034df0d29e40d Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-