

The source code is as follows:
The import QtQuick 2.12
The import QtQuick. Windows 2.12
The import QtQuick. Controls 2.5
The Window {
Visible: true
Width: 640
Height: 480
Title: qsTr (" Hello World ")
A Rectangle {
Anchors. The fill: parent
Rotation: 90
GroupBox {
Width: 240
Height: 120
Anchors. CenterIn: parent
Title: qsTr (" Sensor Number ")
ComboBox {
Anchors. The fill: parent
The editable: false
Model: [" 1 ", "2", "3", "4", "5", "6", "7", "eight" and "9", "10", "11", "12",]
}
}
}
}
How to realize the second picture is rotated 90 degrees
CodePudding user response:
In learning technology