1. 04 Nov, 2014 - 1 commit
    • Marco Martin's avatar
      Correct sizing of combobox items · 04ec29f8
      Marco Martin authored
      
      The qstyle can set as preferred size for itemview items a different
      size than the text height depending from the result of
      sizeFromContents( CT_ItemViewItem, ..
      
      Examples of styles that do this, are Oxygen and Breeze,
      in order to have a bit more spacing.
      This makes the combobox render incorrectly.
      
      This patch makes use of the size hint of the qstyle instead of the
      text height. Since the height can be more than the font height,
      the text (and optional icon) are now drawn vertically centered
      in the delegate.
      
      Change-Id: I898d85c994d5760979750c2f3a5dafd83f1e3cbd
      Reviewed-by: default avatarJ-P Nurmi <jpnurmi@theqtcompany.com>
      04ec29f8
  2. 25 Aug, 2014 - 1 commit
  3. 12 Aug, 2014 - 1 commit
  4. 09 Aug, 2014 - 1 commit
  5. 12 May, 2014 - 1 commit
  6. 09 Apr, 2014 - 1 commit
  7. 02 Apr, 2014 - 1 commit
  8. 31 Mar, 2014 - 1 commit
    • Laszlo Agocs's avatar
      Disable mipmapping on the style item · f99dcdf0
      Laszlo Agocs authored
      
      The recent removal of QSGPlainTexture::setHasMipMaps() made the texture
      material enable mipmapping on the texture by default. Previously this
      was not the case, the material did not enable mipmapping on the texture
      regardless of the value of mipmapFiltering.
      
      The default value (Nearest) now properly enables mipmapping but this is
      not ideal for the style item. Therefore we disable mipmapping explicitly.
      
      Task-number: QTBUG-37690
      Change-Id: I15607fd0c3a06f0cefc416b74f6cee25ef7966bd
      Reviewed-by: default avatarGunnar Sletta <gunnar.sletta@jollamobile.com>
      f99dcdf0
  9. 20 Mar, 2014 - 1 commit
  10. 05 Mar, 2014 - 1 commit
  11. 03 Mar, 2014 - 1 commit
  12. 25 Feb, 2014 - 1 commit
  13. 14 Feb, 2014 - 1 commit
    • Gabriel de Dietrich's avatar
      Introducing styling for Menu, MenuBar · e88bdffe
      Gabriel de Dietrich authored
      
      MenuStyle
      
      We expose the frame and item properties together with some
      convenience properties (basically color related).
      
      The menu item data is exposed via a styleData object, similarly to
      what's done in TabViewStyle.
      
      In addition, we introduce MenuStyle.menuItem which brings some
      convenience when it comes to overriding subcontrols of the menu item.
      
      MenuBarStyle
      
      We expose background and menuBarItem. The menubar item's properties
      are accessible through the styleData property in scope.
      
      Style cascading
      
      Additionally, MenuBarStyle has a menuStyle property that will apply
      to all its menus and their submenus. Similarly, assigning a style
      to a Menu object, will apply it to its submenus. It's still possible
      to override the parent menu's style by declaring its own.
      
      [ChangeLog][QtQuickControls][Styles]Menu and MenuBar are now styleable
      Change-Id: Ib724b7a6426bdfce5da314620d51dfaa76f76500
      Reviewed-by: default avatarJens Bache-Wiig <jens.bache-wiig@digia.com>
      e88bdffe
  14. 22 Jan, 2014 - 1 commit
    • Jens Bache-Wiig's avatar
      Fix implicit width for SpinBox · 3b42b81b
      Jens Bache-Wiig authored
      
      This patch ensures that we take the minimum width of the SpinBox
      into account when getting the size from the style item.
      
      The patch still relies on the height of the TextField since we
      want to ensure that they keep similar height and the existing
      spinbox code behaves somewhat erratic.
      
      Task-number: QTBUG-36283
      Change-Id: I50d14e5afb2576548c381e7f70063dfcb727e7d6
      [ChangeLog][QtQuickControls]Fixed implicit width for SpinBox
      Reviewed-by: default avatarGabriel de Dietrich <gabriel.dedietrich@digia.com>
      3b42b81b
  15. 21 Jan, 2014 - 1 commit
  16. 13 Dec, 2013 - 1 commit
  17. 04 Dec, 2013 - 1 commit
  18. 03 Dec, 2013 - 1 commit
    • J-P Nurmi's avatar
      Fix desktop style animations to stop when the control is hidden · 1d684b38
      J-P Nurmi authored
      
      QStyleAnimation automatically stopped for hidden QWidgets, but didn't
      know anything about QQuickItems and kept animating regardless of their
      visibility. QStyleAnimation was changed so that it will keep animating
      only as long as the animation target accepts animation updates. This
      change ensures that the style animation updates are accepted only when
      the control is visible.
      
      Note: In order to restart such style animations, QQuickStyleItem needs
      to be manually updated when it becomes visible.
      
      Task-number: QTBUG-35319
      Change-Id: Ia053912883b9babb184a5467adfc90dd619b3dc5
      Reviewed-by: default avatarGunnar Sletta <gunnar.sletta@digia.com>
      Reviewed-by: default avatarJens Bache-Wiig <jens.bache-wiig@digia.com>
      v5.2.0
      1d684b38
  19. 20 Nov, 2013 - 1 commit
  20. 07 Nov, 2013 - 1 commit
  21. 22 Oct, 2013 - 1 commit
  22. 27 Sep, 2013 - 1 commit
  23. 25 Sep, 2013 - 1 commit
  24. 20 Sep, 2013 - 1 commit
  25. 19 Sep, 2013 - 1 commit
    • Gabriel de Dietrich's avatar
      ComboBox: Make popup scrollable · 1f8ee02f
      Gabriel de Dietrich authored
      
      We factor out part the menu item container logic from Menu into
      ColumnMenuContent, which takes care of scrolling and mouse hovering,
      and selection. This makes possible to extend the menu items layout.
      
      The pop-over and pull-down look is specified by the menu style
      component by overriding the ScrollView style. The popup's maximum
      height is also specified by the menu style.
      
      The gallery example can finally use a font families combo box.
      
      Task-number: QTBUG-31568
      Change-Id: I34a7278f476471c0eb51ef51dde3dd83e13002fe
      Reviewed-by: default avatarJ-P Nurmi <jpnurmi@digia.com>
      1f8ee02f
  26. 09 Sep, 2013 - 1 commit
  27. 26 Aug, 2013 - 1 commit
  28. 16 Aug, 2013 - 1 commit
    • Caroline Chao's avatar
      Move Styles and Private under controls · 5483ccd3
      Caroline Chao authored
      
      Register the C++ private API from the controls plugin. The
      private plugin is not needed anymore.
      
      The Controls "submodules" Styles and Private are moved to
      the controls subfolder in the sources tree.
      
      Change-Id: I98358227c945b6cd1a8dbff9d07e6cad4f044277
      Reviewed-by: default avatarJ-P Nurmi <jpnurmi@digia.com>
      5483ccd3
  29. 14 Aug, 2013 - 1 commit
  30. 13 Aug, 2013 - 1 commit
  31. 05 Aug, 2013 - 1 commit
  32. 12 Jul, 2013 - 1 commit
  33. 18 Jun, 2013 - 1 commit
  34. 31 May, 2013 - 1 commit
  35. 30 May, 2013 - 1 commit
  36. 27 May, 2013 - 4 commits
  37. 24 May, 2013 - 1 commit