XMLWordPrintable

      This code ought to work, but it doesn't because grouped properties can
      only be created on c++ side:
      (a hint is a property that the button may choose to ignore)

      Button {
         text: "Press me!"
         hints.large: true
      }
      

      Button.qml

      import Qt 4.7
      
      BasicButton {
          id: button
      
          property string text
          property url icon
      
          property alias hints: buttonHints
          QtObject {
              id: buttonHints
              property bool large: false
              property bool default: false
          }
      [...]
      }
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            aakenned Aaron Kennedy
            mathiasm Mathias Malmqvist
            Votes:
            8 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes