Files
qt-creator/doc/qtdesignstudio/examples/loginui1/Screen01.ui.qml
Leena Miettinen 3d68fa647c Doc: Update info on using Custom Button wizard template
...to create buttons in Qt Design Studio

Update some of the tutorial source files accordingly.

Change-Id: Id8afc9bf66c30129701bf7951cbc48068137e145
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-08-17 08:53:10 +00:00

47 lines
882 B
QML

import QtQuick 2.12
import loginui1 1.0
Rectangle {
width: Constants.width
height: Constants.height
color: "#fdfdfd"
Text {
id: pageTitle
text: qsTr("Qt Account")
font.pixelSize: 24
anchors.verticalCenterOffset: -153
anchors.horizontalCenterOffset: 1
anchors.centerIn: parent
font.family: Constants.font.family
}
Image {
id: logo
x: 13
y: 0
width: 100
height: 100
source: "qt_logo_green_64x64px.png"
fillMode: Image.PreserveAspectFit
}
PushButton {
id: loginButton
x: 262
y: 343
width: 120
height: 40
text: qsTr("Log In")
}
PushButton {
id: registerButton
x: 262
y: 389
width: 120
height: 40
text: qsTr("Create Account")
}
}