4 Star 20 Fork 20

graycatya / Qml_CustomControl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.md 667 Bytes
一键复制 编辑 原始数据 按行查看 历史
cat 提交于 2020-03-03 14:46 . 去掉gif,压缩ps素材

返回

ImageMove控件

功能:

提供图片按规定方式移动的控件

  • lefttoright
  • righttoleft
  • uptodown
  • downtoup
  • leftbuttomtorightup
  • leftuptorightbuttom
  • rightuptoleftbuttom
  • rightbuttomtoleftup
  • custom

默认提供9种移动方法

其中custom是自定义方法提供自己定义起始与结束位置

控件扩展属性

  • source(资源路径)
  • animation_loops(动画循环)
  • animation_running(动画运行)
  • animation_duration(动画执行开始到结束时间)
  • xfrom(x起始位置)
  • xto(x结束位置)
  • yfrom(y起始位置)
  • yto(y结束位置)

其中: xfrom,xto,yfrom,yto 只在custom规定下使用

QML
1
https://gitee.com/graycatya/Qml_CustomControl.git
git@gitee.com:graycatya/Qml_CustomControl.git
graycatya
Qml_CustomControl
Qml_CustomControl
master

搜索帮助