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. PageLoader and effects
Qt 6.11 is out! See what's new in the release blog

PageLoader and effects

Scheduled Pinned Locked Moved QML and Qt Quick
6 Posts 2 Posters 1.2k Views 2 Watching
  • 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.
  • mrdebugM Offline
    mrdebugM Offline
    mrdebug
    wrote on last edited by
    #1

    Is there a way to have an effect on lading page for example right to left?

    Need programmers to hire?
    www.labcsp.com
    www.denisgottardello.it
    GMT+1
    Skype: mrdebug

    p3c0P mrdebugM 2 Replies Last reply
    0
    • mrdebugM mrdebug

      Is there a way to have an effect on lading page for example right to left?

      p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi @mrdebug,
      Which PageLoader are you talking about ?

      157

      1 Reply Last reply
      0
      • mrdebugM mrdebug

        Is there a way to have an effect on lading page for example right to left?

        mrdebugM Offline
        mrdebugM Offline
        mrdebug
        wrote on last edited by
        #3

        Sorry. I'm talking about the loader qml object.

        Need programmers to hire?
        www.labcsp.com
        www.denisgottardello.it
        GMT+1
        Skype: mrdebug

        p3c0P 1 Reply Last reply
        0
        • mrdebugM mrdebug

          Sorry. I'm talking about the loader qml object.

          p3c0P Offline
          p3c0P Offline
          p3c0
          Moderators
          wrote on last edited by
          #4

          @mrdebug Ok. You can animate the Component which the Loader loads.

          157

          1 Reply Last reply
          0
          • mrdebugM Offline
            mrdebugM Offline
            mrdebug
            wrote on last edited by
            #5

            Have you got an example?

            Need programmers to hire?
            www.labcsp.com
            www.denisgottardello.it
            GMT+1
            Skype: mrdebug

            p3c0P 1 Reply Last reply
            0
            • mrdebugM mrdebug

              Have you got an example?

              p3c0P Offline
              p3c0P Offline
              p3c0
              Moderators
              wrote on last edited by
              #6

              @mrdebug Is this what you are trying to do ?

              import QtQuick 2.4
              
              Item {
                  width: 100
                  height: 120
              
                  Loader {
                      id: loader
                      anchors.fill: parent
                      sourceComponent: component
                  }
              
                  Component {
                      id: component
                      Rectangle {
                          id: rect
                          width: parent.width
                          height: parent.height
                          color: "red"
              
                          NumberAnimation {
                              running: true
                              target: rect
                              from: -100
                              to: 0
                              property: "x"
                              duration: 600
                              easing.type: Easing.InOutQuad
                          }
                      }
                  }
              }
              

              157

              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