Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. QML PathView路径设计问题
Forum Updated to NodeBB v4.3 + New Features

QML PathView路径设计问题

Scheduled Pinned Locked Moved Chinese
1 Posts 1 Posters 1.7k Views 1 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.
  • R Offline
    R Offline
    rzt_zhg
    wrote on last edited by
    #1

    目前正在学习QML变成想用PathView设计一个类似棱形正面的动画感觉目前效果每个图片都是重叠的怎么做可以达到每个图片的两端相连?代码:

            startX: 0
            startY: parent.height/2;
    
            PathAttribute{name:"rotateY";value:-36.0};
            PathAttribute{name:"scalePic";value:0.3};
            PathAttribute{name:"zOrder";value: 1};
            PathLine{x:parent.width*0.5;y:parent.height/2};
    
    
            PathAttribute{name:"rotateY";value:0.0};
            PathAttribute{name:"scalePic";value:0.3};
            PathAttribute{name:"zOrder";value: 50};
    
    
            PathLine{x:640;y:parent.height/2};
            PathAttribute{name:"rotateY";value:36.0};
            PathAttribute{name:"scalePic";value:0.3};
            PathAttribute{name:"zOrder";value: 1};
    
    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