Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-993

The number of state limitations is not implemented in the tooling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • QSR 2.1
    • QSR 1.2
    • Tooling
    • None

    Description

      We do have requirements related to the tooling and state limitations:

      Pleas see the following requirements:

      2.3.4.8    In the tooling phase, it must be possible to limit and variate the amount the permutations between the state and transitions.
      2.3.4.9    In the tooling phase, it must be possible to limit and variate the maximum number of animations steps:
      2.3.4.9.1    The maximum number of states per one tell-tale is 8 states.
      2.3.4.9.2    The end-user must be able to variate the maximum number of states per one tell-tale.
      

      And when testing with the related test case, there is no warning or error for too many states. (https://testrail.qt.io/index.php?/tests/view/1493665)

      SafePicture {
              id: car1
              objectName: "car1"
              x: 0
              y: 0
              opacity: 1.0
              width: 64
              height: 64
              color: "#665544"
              source: "qrc:/iso-icons/iso_grs_7000_4_1358.dat"
              states: [
                      State { name: "A";PropertyChanges {target: car1;x: 50; y: 50; opacity: 0.8;color: "#000000";width:10;height: 10}},
                      State { name: "B";PropertyChanges {target: car1;x: 100;y: 100;opacity: 0.8;color: "#ff0000";width:20;height: 30}},
                      State { name: "C";PropertyChanges {target: car1;x: 150;y: 150;opacity: 0.8;color: "#00ff00";width:40;height: 50}},
                      State { name: "D";PropertyChanges {target: car1;x: 200;y: 200;opacity: 0.8;color: "#0000ff";width:60;height: 60}},
                      State { name: "E";PropertyChanges {target: car1;x: 250;y: 250;opacity: 0.8;color: "#00ffff";width:80;height: 90}},
                      State { name: "F";PropertyChanges {target: car1;x: 300;y: 300;opacity: 0.8;color: "#ff00ff";width:150;height: 150}},
                      State { name: "H";PropertyChanges {target: car1;x: 300;y: 300;opacity: 0.8;color: "#ff00ff";width:150;height: 150}},//testing additional states
                      State { name: "G";PropertyChanges {target: car1;x: 350;y: 350;opacity: 0.8;color: "#ffff00";width:250;height: 200}}
              ]
              transitions: [
                  Transition {
                      from: "*"
                      to: "*"
                      NumberAnimation {
                          properties: "x, y, opacity, color, width, height"
                          duration: 1000
                          easing.type: Easing.InOutQuad
                      }
                  }
              ]
          }

       

      TestRail: Results

        Attachments

          Activity

            People

              teemu.holappa Teemu Holappa
              assaarel Asmo Saarela
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                TestRail: Runs

                  TestRail: Cases