Page MenuHomePhorge

Main.qml
No OneTemporary

Size
634 B
Referenced Files
None
Subscribers
None

Main.qml

import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import org.kde.kirigami as Kirigami
import land.lilyis.tusooa.lagerqtdemo.multithreading
Kirigami.ApplicationWindow {
id: root
property DemoApp app: DemoApp {}
pageStack.initialPage: Kirigami.ScrollablePage {
ColumnLayout {
Label {
text: `f(${app.n}) = ${app.fn}`
Layout.fillWidth: true
}
TextField {
id: numInput
Layout.fillWidth: true
text: `${app.n}`
}
Button {
text: 'Set n'
Layout.fillWidth: true
onClicked: app.set(parseInt(numInput.text))
}
}
}
}

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 20, 9:39 AM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
972878
Default Alt Text
Main.qml (634 B)

Event Timeline