1
0
mirror of https://github.com/jaredtao/TaoQuick.git synced 2025-01-31 21:22:58 +08:00

rename Qml folder

This commit is contained in:
jared 2020-06-13 00:26:44 +08:00
parent bac8e200de
commit dda912fa12
127 changed files with 138 additions and 188 deletions

View File

@ -2,7 +2,7 @@ import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent
Image { Image {

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent
Image { Image {

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent
Image { Image {

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent
Image { Image {

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent
Image { Image {

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent
ASlowEnter { ASlowEnter {

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent
Image { Image {

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent
Image { Image {

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent
Image { Image {

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent
Image { Image {

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent
Image { Image {

View File

@ -2,7 +2,7 @@ import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
TShaderToy { TShaderToy {
id: r id: r

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
id: r id: r

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
id: r id: r
anchors.fill: parent anchors.fill: parent

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
id: base id: base

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0 import TaoQuick 1.0
import "qrc:/Tao/Qml" import "qrc:/TaoQuick"
Item { Item {
anchors.fill: parent anchors.fill: parent
Rectangle { Rectangle {

View File

@ -1,9 +0,0 @@
<RCC>
<qresource prefix="/Core">
<file>Image/ProgressBar/fail.png</file>
<file>Image/ProgressBar/ok.png</file>
<file>Image/ProgressBar/ok_circle.png</file>
<file>Image/ProgressBar/fail_circle.png</file>
<file>Image/Others/spinner.png</file>
</qresource>
</RCC>

View File

@ -1,52 +1,57 @@
<RCC> <RCC>
<qresource prefix="/Tao"> <qresource prefix="/">
<file>Qml/BasicComponent/Button/TGradientBtn.qml</file> <file>TaoQuick/BasicComponent/Button/TGradientBtn.qml</file>
<file>Qml/BasicComponent/Button/TImageBtn.qml</file> <file>TaoQuick/BasicComponent/Button/TImageBtn.qml</file>
<file>Qml/BasicComponent/Button/TImgTextBtn.qml</file> <file>TaoQuick/BasicComponent/Button/TImgTextBtn.qml</file>
<file>Qml/BasicComponent/Button/TTextBtn.qml</file> <file>TaoQuick/BasicComponent/Button/TTextBtn.qml</file>
<file>Qml/BasicComponent/Mouse/TMoveArea.qml</file> <file>TaoQuick/BasicComponent/Mouse/TMoveArea.qml</file>
<file>Qml/BasicComponent/Mouse/TTransArea.qml</file> <file>TaoQuick/BasicComponent/Mouse/TTransArea.qml</file>
<file>Qml/BasicComponent/Others/TBusyIndicator.qml</file> <file>TaoQuick/BasicComponent/Others/TBusyIndicator.qml</file>
<file>Qml/BasicComponent/Others/TDragItem.qml</file> <file>TaoQuick/BasicComponent/Others/TDragItem.qml</file>
<file>Qml/BasicComponent/Others/TResizeBorder.qml</file> <file>TaoQuick/BasicComponent/Others/TResizeBorder.qml</file>
<file>Qml/BasicComponent/Others/TToolTip.qml</file> <file>TaoQuick/BasicComponent/Others/TToolTip.qml</file>
<file>Qml/BasicComponent/Others/TPopup.qml</file> <file>TaoQuick/BasicComponent/Others/TPopup.qml</file>
<file>Qml/BasicComponent/Progress/TNormalProgress.qml</file> <file>TaoQuick/BasicComponent/Progress/TNormalProgress.qml</file>
<file>Qml/BasicComponent/Progress/TCircleProgress.qml</file> <file>TaoQuick/BasicComponent/Progress/TCircleProgress.qml</file>
<file>Qml/BasicComponent/Others/TDialog.qml</file> <file>TaoQuick/BasicComponent/Others/TDialog.qml</file>
<file>Qml/BasicComponent/Progress/TInOut.qml</file> <file>TaoQuick/BasicComponent/Progress/TInOut.qml</file>
<file>Qml/BasicComponent/Others/TFPS.qml</file> <file>TaoQuick/BasicComponent/Others/TFPS.qml</file>
<file>Qml/qmldir</file> <file>TaoQuick/qmldir</file>
<file>Qml/EffectComponent/Animation/ABoard.qml</file> <file>TaoQuick/EffectComponent/Animation/ABoard.qml</file>
<file>Qml/EffectComponent/Animation/ACircle.qml</file> <file>TaoQuick/EffectComponent/Animation/ACircle.qml</file>
<file>Qml/EffectComponent/Animation/ACleavage.qml</file> <file>TaoQuick/EffectComponent/Animation/ACleavage.qml</file>
<file>Qml/EffectComponent/Animation/ACross.qml</file> <file>TaoQuick/EffectComponent/Animation/ACross.qml</file>
<file>Qml/EffectComponent/Animation/ADiagonal.qml</file> <file>TaoQuick/EffectComponent/Animation/ADiagonal.qml</file>
<file>Qml/EffectComponent/Animation/ADissolve.qml</file> <file>TaoQuick/EffectComponent/Animation/ADissolve.qml</file>
<file>Qml/EffectComponent/Animation/AGrad.qml</file> <file>TaoQuick/EffectComponent/Animation/AGrad.qml</file>
<file>Qml/EffectComponent/Animation/ALouver.qml</file> <file>TaoQuick/EffectComponent/Animation/ALouver.qml</file>
<file>Qml/EffectComponent/Animation/ARhombus.qml</file> <file>TaoQuick/EffectComponent/Animation/ARhombus.qml</file>
<file>Qml/EffectComponent/Animation/ASector.qml</file> <file>TaoQuick/EffectComponent/Animation/ASector.qml</file>
<file>Qml/EffectComponent/Animation/ASlowEnter.qml</file> <file>TaoQuick/EffectComponent/Animation/ASlowEnter.qml</file>
<file>Qml/EffectComponent/Animation/ASquare.qml</file> <file>TaoQuick/EffectComponent/Animation/ASquare.qml</file>
<file>Qml/EffectComponent/Animation/AWheel.qml</file> <file>TaoQuick/EffectComponent/Animation/AWheel.qml</file>
<file>Qml/EffectComponent/PageSwitch/SBoard.qml</file> <file>TaoQuick/EffectComponent/PageSwitch/SBoard.qml</file>
<file>Qml/EffectComponent/PageSwitch/SCircle.qml</file> <file>TaoQuick/EffectComponent/PageSwitch/SCircle.qml</file>
<file>Qml/EffectComponent/PageSwitch/SCleavage.qml</file> <file>TaoQuick/EffectComponent/PageSwitch/SCleavage.qml</file>
<file>Qml/EffectComponent/PageSwitch/SCross.qml</file> <file>TaoQuick/EffectComponent/PageSwitch/SCross.qml</file>
<file>Qml/EffectComponent/PageSwitch/SDiagonal.qml</file> <file>TaoQuick/EffectComponent/PageSwitch/SDiagonal.qml</file>
<file>Qml/EffectComponent/PageSwitch/SDissolve.qml</file> <file>TaoQuick/EffectComponent/PageSwitch/SDissolve.qml</file>
<file>Qml/EffectComponent/PageSwitch/SFadeInOut.qml</file> <file>TaoQuick/EffectComponent/PageSwitch/SFadeInOut.qml</file>
<file>Qml/EffectComponent/PageSwitch/SGrad.qml</file> <file>TaoQuick/EffectComponent/PageSwitch/SGrad.qml</file>
<file>Qml/EffectComponent/PageSwitch/SLouver.qml</file> <file>TaoQuick/EffectComponent/PageSwitch/SLouver.qml</file>
<file>Qml/EffectComponent/PageSwitch/SRhombus.qml</file> <file>TaoQuick/EffectComponent/PageSwitch/SRhombus.qml</file>
<file>Qml/EffectComponent/PageSwitch/SSector.qml</file> <file>TaoQuick/EffectComponent/PageSwitch/SSector.qml</file>
<file>Qml/EffectComponent/PageSwitch/SSquare.qml</file> <file>TaoQuick/EffectComponent/PageSwitch/SSquare.qml</file>
<file>Qml/EffectComponent/PageSwitch/SWheel.qml</file> <file>TaoQuick/EffectComponent/PageSwitch/SWheel.qml</file>
<file>Qml/EffectComponent/Shapes/TKLine.qml</file> <file>TaoQuick/EffectComponent/Shapes/TKLine.qml</file>
<file>Qml/EffectComponent/Shapes/TRoundRect.qml</file> <file>TaoQuick/EffectComponent/Shapes/TRoundRect.qml</file>
<file>Qml/EffectComponent/TCommon.qml</file> <file>TaoQuick/EffectComponent/TCommon.qml</file>
<file>Qml/EffectComponent/TShaderToy.qml</file> <file>TaoQuick/EffectComponent/TShaderToy.qml</file>
<file>Qml/BasicComponent/Others/CallLatter.qml</file> <file>TaoQuick/BasicComponent/Others/CallLatter.qml</file>
<file>TaoQuick/BasicComponent/Others/spinner.png</file>
<file>TaoQuick/BasicComponent/Progress/fail.png</file>
<file>TaoQuick/BasicComponent/Progress/fail_circle.png</file>
<file>TaoQuick/BasicComponent/Progress/ok.png</file>
<file>TaoQuick/BasicComponent/Progress/ok_circle.png</file>
</qresource> </qresource>
</RCC> </RCC>

View File

@ -1,40 +0,0 @@
import QtQuick 2.12
QtObject {
Component {
id: timerComp
Timer {
id: timer
repeat: false
property var _cb: function() {}
onTriggered: {
_cb()
destroy(parent)
}
function setTimeout(callback, delayTime) {
_cb = callback;
interval = delayTime;
start();
}
}
}
function callLatter(callback, delayTime) {
// if (Qt.callLater) {
// Qt.callLater(callback)
// } else {
let timerObj = timerComp.createObject()
timerObj.setTimeout(callback, delayTime)
// }
}
Component.onCompleted: {
callLatter(function() {
console.log("0")
}, 0)
callLatter(function() {
console.log("100")
}, 100)
callLatter(function() {
console.log("50")
}, 50)
}
}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60cff8dcb4bfb1f74f4561c3ecbf53be0390256db08454388e0c0b698ca302dd
size 745

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c2450111cf8fad6bcb0e25160096a5ce6a033b7e9b7138384451ce5a227d1175
size 884

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b2f0d35f9e58d1c030dbfdba2b38902296e179081a25f8e7dfd1a05ee861af33
size 894

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2b5f57401cdf16b7735806d883d50a9d23bb5db8a1dcffbbb5115aaf58493316
size 661

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:51d300447865d725a1f493a1f2e5234b418c53732dd09e08b96916c01bc7a845
size 665

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:07034444253ac59a8b9be3d4c0592a77b94fc2c812e00d449f5b1c239618652f
size 422

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:02c1160ab882e3b399c81cc96e20d8d6b69366fbecf30b4a6819db9d23cb5ee6
size 380

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0e79798fc51be0511406aa8b28fe80826471f187b9742c43e8ae6be15797dc66
size 361

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3d2474d19553a3020fa2d5eef16529018295d662f7c95ebfe1a09c964c6d7c7f
size 674

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d71ec4d684c25a422b98e617d587c9b4b965a3f042af1655abc433c37ed115e7
size 276

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:82a623ec15e53b405526835b2756ca15adf395f0da5d4eacf2f77d9609688b26
size 405

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:516873931f13830ab1b40ffb92d99a49c32d8c6d0ac8923f5f8c327f72d2f181
size 616

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:edc2619659253a67e6bce4826db6a172f5c0aab1c96561c4614a5e4df741ae3a
size 599

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7dd26240813c1d82e9d166d55036af3365c653ee8231868d3cff4dbafd62d6ae
size 405

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:181daffe92e7733e4fd320acc2690a379c5e5583313dd7d7362557073a367351
size 261

View File

@ -4,7 +4,6 @@ HEADERS += \
SOURCES += SOURCES +=
RESOURCES += \ RESOURCES += \
$$PWD/Image.qrc \
$$PWD/Qml.qrc $$PWD/Qml.qrc
# Additional import path used to resolve QML modules in Qt Creator's code model # Additional import path used to resolve QML modules in Qt Creator's code model

View File

@ -18,7 +18,7 @@ uri = $$TARGET
include(../TaoVersion.pri) include(../TaoVersion.pri)
include(../TaoBundle.pri) include(../TaoBundle.pri)
include(TaoQuick.pri) include(TaoQuick.pri)
include(Qml/TaoQuickDesigner.pri) include(TaoQuick/TaoQuickDesigner.pri)
CONFIG(debug, debug|release){ CONFIG(debug, debug|release){
DESTDIR = $${TaoQuick_RUN_TREE}/debug/$${BundlePath}$${uri} DESTDIR = $${TaoQuick_RUN_TREE}/debug/$${BundlePath}$${uri}

View File

@ -0,0 +1,40 @@
import QtQuick 2.12
QtObject {
Component {
id: timerComp
Timer {
id: timer
repeat: false
property var _cb: function() {}
onTriggered: {
_cb()
destroy(parent)
}
function setTimeout(callback, delayTime) {
_cb = callback;
interval = delayTime;
start();
}
}
}
function callLatter(callback, delayTime) {
if (Qt.callLater) {
Qt.callLater(callback)
} else {
let timerObj = timerComp.createObject()
timerObj.setTimeout(callback, delayTime)
}
}
// Component.onCompleted: {
// callLatter(function() {
// console.log("0")
// }, 0)
// callLatter(function() {
// console.log("100")
// }, 100)
// callLatter(function() {
// console.log("50")
// }, 50)
// }
}

View File

@ -1,5 +1,6 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import "../.."
Item { Item {
property int fps: 60 property int fps: 60
@ -7,7 +8,7 @@ Item {
property color textColor: "#f7e08c" property color textColor: "#f7e08c"
Image { Image {
id: spinner id: spinner
source: "qrc:/Core/Image/Others/spinner.png" source: "spinner.png"
width: 32 width: 32
height: 32 height: 32
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -1,7 +1,7 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import QtGraphicalEffects 1.12 import QtGraphicalEffects 1.12
import TaoQuick 1.0
import "../../" import "../../"
Item { Item {
id: r id: r
@ -47,7 +47,7 @@ Item {
} }
Image { Image {
id: image id: image
source: percent === 100 ? "qrc:/Core/Image/ProgressBar/ok.png" : "qrc:/Core/Image/ProgressBar/fail.png" source: percent === 100 ? "ok.png" : "fail.png"
enabled: barType === TCircleProgress.BarType.SucceedOrFailed enabled: barType === TCircleProgress.BarType.SucceedOrFailed
visible: enabled visible: enabled
scale: 2 scale: 2

View File

@ -1,6 +1,5 @@
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import TaoQuick 1.0
import "../../" import "../../"
Item { Item {
id: r id: r
@ -41,7 +40,7 @@ Item {
} }
Image { Image {
id: image id: image
source: percent === 100 ? "qrc:/Core/Image/ProgressBar/ok_circle.png" : "qrc:/Core/Image/ProgressBar/fail_circle.png" source: percent === 100 ? "ok_circle.png" : "fail_circle.png"
height: parent.height height: parent.height
width: height width: height
enabled: barType === TNormalProgress.BarType.SucceedOrFailed enabled: barType === TNormalProgress.BarType.SucceedOrFailed

View File

Before

Width:  |  Height:  |  Size: 176 B

After

Width:  |  Height:  |  Size: 176 B

View File

Before

Width:  |  Height:  |  Size: 299 B

After

Width:  |  Height:  |  Size: 299 B

View File

Before

Width:  |  Height:  |  Size: 216 B

After

Width:  |  Height:  |  Size: 216 B

View File

Before

Width:  |  Height:  |  Size: 278 B

After

Width:  |  Height:  |  Size: 278 B

Some files were not shown because too many files have changed in this diff Show More