1. Apr 15, 2013
  2. Mar 21, 2013
  3. Mar 06, 2013
  4. Mar 01, 2013
  5. Feb 21, 2013
  6. Feb 20, 2013
    • Martin Smith's avatar
      qdoc: QtDesktop1::Menu is not correctly documented. · 2062d483
      Martin Smith authored
      
      When documenting a QML component, each qdoc comment must immediately
      precede the element being documented. In this file, that rule was
      violated. The property and method comments should be removed, because
      they don't apply to anything in the Menu. Or, if they should be there,
      they should be reintroduced so that each one immediately precedes the
      element being documented. The \qmltype comment is probably out of date
      now as well.
      
      Task-number: QTBUG-29740
      Change-Id: Id8048e5f9d6d158305110a7c561224a8033ab088
      Reviewed-by: default avatarGabriel de Dietrich <gabriel.dedietrich@digia.com>
      2062d483
  7. Feb 14, 2013
  8. Feb 08, 2013
  9. 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
  10. Jan 04, 2013
  11. Dec 20, 2012
  12. Dec 05, 2012
  13. Nov 20, 2012
  14. Nov 09, 2012
  15. Nov 08, 2012
  16. Nov 04, 2012
  17. Oct 29, 2012
  18. Oct 25, 2012
  19. May 21, 2012
  20. May 15, 2012
    • Morten Johan Sorvig's avatar
      Port menus to Qt 5. · 8a619f58
      Morten Johan Sorvig authored
      
      Copy over qtmenu and qtmenuitem from the Qt 4 branch.
      Register types in qstyleplugin.cpp.  
      
      Delete Menu.qml MenuItem.qml - no longer in use 
      and replaced by C++ code.
      
      Some porting was necessary, in particular changing
      QtMenuBase's base class from QObject to QtQuickItem.
      
      Bugs: On OS X the menu bar is displayed only ~50%
      if the time. Other platforms are not tested. 
      Context menus do not work.
      
      Change-Id: I4e9cc6952ec1c70dc28cfda2352ba9962b539b17
      Reviewed-by: default avatarMorten Johan Sørvig <morten.sorvig@nokia.com>
      8a619f58
  21. May 14, 2012
    • Morten Johan Sorvig's avatar
      Port QWindowItem to Qt 5. · f92f1b72
      Morten Johan Sorvig authored
      
      Add ifdefs to the Qt 4 version. Depending on what
      branching strategy we chose we either merge this back
      to the master branch or strip out the Qt 4 code later
      on.
      
      Add QWindowWidget for embedding QWindows in QWidget
      hierarchies.
      
      QTopLevelWindow is still a QMainWindow (we want to
      re-use the menu implementation), but the center
      widget is now a QWidnowWidget with an embedded 
      QQuickView.
      
      
      Change-Id: I173878efc869d8224e7330a13b37e85730d8ecbf
      Reviewed-by: default avatarMorten Johan Sørvig <morten.sorvig@nokia.com>
      f92f1b72
  22. May 06, 2012
  23. Apr 23, 2012
  24. Dec 06, 2011
    • Alan Alpert's avatar
      Work again. · 36a83948
      Alan Alpert authored
      Well, a little. At least one person can now run Gallery.qml again.
      
      Removes all menu related stuff, removes Window (uses the
      Window in QtQuick.Window instead, despite reduced functionality now).
      
      Updates to work with the quick module split, and the xmllistmodel
      module split.
      
      Updates version number to 0.2 as well.
      36a83948
  25. Nov 18, 2011
    • João Abecasis's avatar
      Introduce a simple API for accessing configuration from QML · 259ee64d
      João Abecasis authored
      
      The application instantiates a Settings element and adds properties to
      it. These properties can alias other fields in the graph or be bound to
      externally -- like regular QML properties.
      
          Item {
              id: main
              height: 480
              width: 640
              color: settings.color
      
              Settings {
                  id: settings
                  property string color: "blue"
                  property alias height: main.height
                  property alias width: main.width
              }
          }
      
      Behind the scenes, the element will grab saved state when loaded and
      save it back as the application state changes.
      
      * Implementation notes
      
      This is a proof of concept.
      
      The initial implementation is using QSettings and is sub-optimal. At the
      very least, a QSettings object could be shared across all Settings
      instances and I/O should be kept outside the main thread.
      
      It is also worth noting that QSettings does not support notifications
      for dynamically updating the UI. A different backend could.
      
      * Bugs/Issues
      
      Data is not saved in the destructor because I was gettings width and
      height properties set to 0 when the window closes.
      
      Currently using "group" property to map to QSettings group. Applications
      can't use a "group" property.
      
      Merge-request: 11
      Reviewed-by: default avatarJens Bache-Wiig <jens.bache-wiig@nokia.com>
      259ee64d
  26. Nov 15, 2011
  27. Nov 02, 2011
  28. Oct 19, 2011
  29. Oct 16, 2011