Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Working with Transitions tutorial?
QtWS25 Last Chance

Working with Transitions tutorial?

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 2 Posters 2.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mzimmersM Offline
    mzimmersM Offline
    mzimmers
    wrote on last edited by
    #1

    Very minor question (I hope).

    I'm trying to do the Transitions tutorial built into Qt. It calls for a file states.png, but I don't seem to have it on my system. I'm pretty sure I've installed everything necessary. A google search for the file also came up empty. Can someone direct me to a location for it? Thanks.

    "the tutorial":http://doc.qt.nokia.com/qtcreator-snapshot/creator-qml-application.html

    1 Reply Last reply
    0
    • mzimmersM Offline
      mzimmersM Offline
      mzimmers
      wrote on last edited by
      #2

      OK, I read further into the tutorial, and found the desired size for this file, so I ripped off a copy from the Qt site and altered it to 64x64. That problem is resolved.

      Now, I'm at the part of the tutorial "Adding Animation to the View," and I'm stuck. Where in the .qml file am I supposed to add the Transition section? I put it at the end, and that must be wrong, because 1) it doesn't like the comma at the end, and 2) I can't get the Qt Quick Toolbar to display (or I don't know where to look for it).

      Any help, please?

      1 Reply Last reply
      0
      • P Offline
        P Offline
        pvarga
        wrote on last edited by
        #3

        I have found the Qt Quick Toolbar:

        1. Put the cursor after the "NumberAnimation" word in the editor
        2. press ctrl+alt+space or click Tools->QML->Show Qt Quick Toolbar

        I hope it was helpful :)

        1 Reply Last reply
        0
        • mzimmersM Offline
          mzimmersM Offline
          mzimmers
          wrote on last edited by
          #4

          Thank you...that worked. It still doesn't work (for me) by clicking the little icon that appears in the code, though. I wonder if I should file a report, or if I'm doing something wrong in my preferences or something.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved