Issue
Code backup
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
RoundButton {
|
||||
x: 876
|
||||
y: 530
|
||||
text: "pippo"
|
||||
onClicked: popupinfo.open()
|
||||
Popup {
|
||||
id: popupinfo
|
||||
width: 300
|
||||
height: 150
|
||||
modal: true
|
||||
focus: true
|
||||
anchors.centerIn: parent
|
||||
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside
|
||||
background: Rectangle {
|
||||
color: "black"
|
||||
radius: 15
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Button {
|
||||
checkable: true
|
||||
text: pressed ? "pressed" : (checked ? "on" : "off")
|
||||
}
|
||||
|
||||
RoundButton {
|
||||
id: rbuttonsize
|
||||
anchors.right: parent.right
|
||||
anchors.top: parent.top
|
||||
anchors.rightMargin: 45
|
||||
anchors.topMargin: 45
|
||||
checkable: true
|
||||
text: checked ? "<>" : "><"
|
||||
onClicked: window.visibility = (checked ? "FullScreen" : "Windowed")
|
||||
palette {button: "grey"}
|
||||
}
|
||||
Reference in New Issue
Block a user