当前位置: 首页 > news >正文

iis怎么查看网站的域名网站优化的公司

iis怎么查看网站的域名,网站优化的公司,学做面包的网站,淘宝客网站 建设要钱不QML 实现一个动态的启动界面 一、效果查看二、源码分享三、所用到的资源下载 一、效果查看 二、源码分享 工程结构 main.qml import QtQuick import QtQuick.Controls import QtQuick.Dialogs import Qt.labs.platformWindow {id:windowwidth: 640height: 400visible: truetit…

QML 实现一个动态的启动界面

  • 一、效果查看
  • 二、源码分享
  • 三、所用到的资源下载

一、效果查看

在这里插入图片描述

二、源码分享

工程结构
在这里插入图片描述

main.qml

import QtQuick
import QtQuick.Controls
import QtQuick.Dialogs
import Qt.labs.platformWindow {id:windowwidth: 640height: 400visible: truetitle: qsTr("Hello World")property int imageCnt: 1Rectangle{anchors.fill: parentgradient: Gradient{orientation: Gradient.VerticalGradientStop { position: 0.0; color: "#4bb6ac" }GradientStop { position: 0.5; color: "#3edabd" }GradientStop { position: 1.0; color: "#24efc0" }}}Timer{interval: 2000repeat: truerunning:trueonTriggered: {var w = Qt.createComponent("DynamicImage.qml")if (w.status === Component.Ready) {var image = "qrc:/image/image"+imageCnt+".svg";imageCnt += 1if(imageCnt > 10)imageCnt = 1var endX = Math.floor(Math.random()*window.width);console.log(image,endX)var item = w.createObject(window,{x:window.width/2-50,y:window.height,width:100,height:100,source:image,stopX:endX,stopY:-150,originX:0,originy:50,moveDuration:15000,rotationDuration: 5000,running: true});console.log("create:"+item)item.moveFinished.connect(()=>{item.destroy()console.log("destroyed:"+item)})}else console.error("create component falied!");}}Text{id:btnwidth: 200height: 100z:1anchors.centerIn: parenttext: "正在启动中...请稍后!"color:"white"horizontalAlignment: Text.AlignHCenterverticalAlignment: Text.AlignVCenterfont.pixelSize: 30font.bold: truefont.italic: true}}

DynamicImage.qml

//DynamicImage.qml
import QtQuick
import QtQuick.ControlsImage{id:rootproperty int stopX: 0property int stopY: 0property alias originX: rotation.origin.xproperty alias originy: rotation.origin.yproperty int moveDuration: 5000property int rotationDuration: 5000property bool running: falsesignal moveFinished()transform: Rotation{id:rotationaxis.x: 0axis.y: 0axis.z: 1}RotationAnimation{running: root.runningtarget: rootfrom:0to:360loops:Animation.Infiniteduration: rotationDuration}ParallelAnimation{id:animrunning:root.runningNumberAnimation{target: rootproperties: "x"from:root.xto:stopXduration: moveDuration}NumberAnimation{target: rootproperties: "y"from:root.yto:stopYduration: moveDuration}onFinished: {moveFinished()console.log("onFinished")}}Component.onDestruction: {//console.log("onDestroyed")}
}

三、所用到的资源下载

本博文最前面下载。

http://www.yayakq.cn/news/267248/

相关文章:

  • tk后缀网站是什么网站南京网站建设开发公司
  • 教育网站建站做趣味图形的网站
  • 网站技术解决方案征求网站建设意见的通知
  • 广东十大网站建设品牌公司管理系统网站模板下载
  • 贵州住房和城乡建设厅网站运营网站挣钱方法
  • 站长之家权重wordpress自定义文章类型模板
  • 适合做网站开发的电脑配置做网站北京
  • 广州网站建设公司怎么挑选一个ip做网站
  • 网站开发承包合同wordpress重定向插件
  • 网站网络7一12岁手工科技小发明
  • wordpress 插件_seo移动网站页面怎么做
  • 公司网站版面怎么设计外贸销售
  • 个人网站制作新手教程如何提高网站的排名
  • 江门网站建设总部电话齐家网装修怎么收费
  • 做网站赚钱流程做网上营销怎样推广
  • 网站在百度上搜不到了购物网站开发 项目描述
  • 米思米网站订单取消怎么做常州知名网站建设公司
  • 郑州做网站最好的公司网站建设专业性评价内容
  • 怎么建设手机小说网站网站开发手把手
  • 《网站建设 补充合同华为认证培训机构排行榜
  • php网站架设教程seocui cn
  • 大良营销网站建设教程wordpress主机和xampp
  • 开发网站怎样注册公司做网站卖水果哪里进货
  • 在什么网站上可以找设计兼职来做网页制作入门到精通
  • 做盗版电影网站犯法吗酷炫网站首页
  • 做网站需要用到ps吗深圳网站开发服务
  • 网站建设费用计入管理费用坦克大战网站开发课程设计报告
  • 有多少种做网站后台程序怎么自己制作一个软件
  • 网站物理结构化妆品网站设计模板
  • 定制网站制作公司有哪些预约网页怎么制作