We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import QtQuick 2.0 import Toou2D 1.0
Item { Loader{ id:cac_loader; anchors.fill: parent; asynchronous: true onStatusChanged: bii.visible = status !==Loader.Ready }
Component{ id: cacComponent TFlickable{ anchors.horizontalCenter: parent.horizontalCenter clip: true contentWidth:width; contentHeight: layout.height; scrollBar.horizontal: false; GridView{ id:layout anchors.horizontalCenter: parent.horizontalCenter width: 1024 height: 600 cellWidth: 320 cellHeight: 200 model: cac_model delegate: cac_delegate } } } ListModel { id: cac_model ListElement {name: "空调一"} ListElement {name: "空调二"} ListElement {name: "空调三"} ListElement {name: "空调四"} ListElement {name: "空调五"} ListElement {name: "空调六"} ListElement {name: "空调七"} ListElement {name: "空调八"} } Component{ id: cac_delegate TButton{ label.text: name label.font.bold: true; label.color: "#FFF" background.color: "#6AC044" theme.groupName: "success" width: 300 height: 200 } } TBusyIndicator{ id:bii; anchors.centerIn: parent; } Component.onCompleted: { cac_loader.sourceComponent = cacComponent; }
}
The text was updated successfully, but these errors were encountered:
感谢你报告了该缺陷,这个问题已通过#1f1d922修复了。
Sorry, something went wrong.
No branches or pull requests
import QtQuick 2.0
import Toou2D 1.0
Item {
Loader{
id:cac_loader;
anchors.fill: parent;
asynchronous: true
onStatusChanged: bii.visible = status !==Loader.Ready
}
}
The text was updated successfully, but these errors were encountered: