Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-698

Login In UI tutorial uses incorrect when statement

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • QDS 1.2.0
    • QDS 1.2.0
    • Documentation
    • None

    Description

      The tutorial (Log In UI - Part 3) uses an assignment as when condition.

      6. In the editor, set the following when condition to specify that this is the default state: root.state = "default", and then press Enter or select the tick mark to save the condition. The icon color changes to indicate that you have made changes to the settings.

      What should probably happen is that the state property of the root item should be set to "default" which can only be achieved by using the Text Editor in QDS.

      Rectangle {
          id: root
          width: Constants.width
          height: Constants.height
          state: "loginState"
          ...
      }
      

      Attachments

        Issue Links

          Activity

            People

              leenam Leena Miettinen
              henning Henning Gründl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: