1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-20 01:11:47 +02:00
ScreenPlay/qml/Components/Create.qml

41 lines
752 B
QML
Raw Normal View History

import QtQuick 2.7
import QtQuick.Controls 2.2
CustomPage {
id: page
pageName: ""
Rectangle {
id: rectangle
width: 200
height: 46
color: "#ffffff"
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
anchors.topMargin: 30
TextEdit {
id: textEdit
text: qsTr("Text Edit")
anchors.fill: parent
font.pixelSize: 12
}
}
Connections {
target: steamWorkshop
onWorkshopItemCreatedQML: print(eResult,publishedFileId)
}
Button {
id: button
x: 285
y: 173
text: qsTr("Button")
onClicked: steamWorkshop.createWorkshopItem()
}
2017-07-06 14:00:43 +02:00
}