Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-12229

Assigning an enum to an int does not work in the Qt Quick Designer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 3.1.0
    • Quick Designer
    • None

      Assigning an enum to an int does not work in the Qt Quick Designer.

      Setting orientation to Qt.Vertical should turn the slider in a vertical slider.

      Slider {        
        orientation: Qt.Vertical
      }
      

      The code model can handle the enum.
      My guess is that the enum has to be set as a binding in the puppet.

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

            bubke Marco Bubke
            thohartm Thomas Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes