1. Mar 11, 2013
  2. Mar 06, 2013
  3. Mar 04, 2013
  4. Feb 25, 2013
    • Gabriel de Dietrich's avatar
      Menu: Fix closing popup menu by clicking outside · f697b126
      Gabriel de Dietrich authored
      
      ... when we never moved the cursor inside the menu.
      
      Change-Id: I1645656ebcc047e5d231dda9daeab2484d0fd9c0
      Reviewed-by: default avatarJ-P Nurmi <jpnurmi@digia.com>
      f697b126
    • Gabriel de Dietrich's avatar
      Menu: Enable "click-select-release" behavior · 4cc6b22c
      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: default avatarJ-P Nurmi <jpnurmi@digia.com>
      4cc6b22c
  5. Feb 21, 2013
  6. Feb 07, 2013
    • Gabriel de Dietrich's avatar
      Introducing QPA, QML-only MenuBar, Menu, MenuItem · 898f4b1c
      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: default avatarJens Bache-Wiig <jens.bache-wiig@digia.com>
      898f4b1c