Skip to content

Instantly share code, notes, and snippets.

@elsamuko
Created January 28, 2021 11:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elsamuko/a3fd8c0b5c0e17fa490dbda03aa68ce9 to your computer and use it in GitHub Desktop.
Save elsamuko/a3fd8c0b5c0e17fa490dbda03aa68ce9 to your computer and use it in GitHub Desktop.
QML demo
import QtQuick 2.12
import QtQuick.Window 2.12
import QtQuick.Controls 2.12
Window {
visible: true
width: 640
height: 480
title: qsTr("Hello World")
Button {
text: qsTr("Button")
objectName: "button"
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment