blob: 83e5c90c939e35822d3f03a8c0648941458a190d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
import QtCore
import QtQuick 6.7
import QtQuick.Controls 6 as QQC2
import QtQuick.Layouts 6.7
import org.kde.kirigami as Kirigami
import org.kde.kirigamiaddons.formcard as FormCard
FormCard.FormCardPage {
id: root
actions: [
Kirigami.Action {
id: saveAction
text: "Save"
onTriggered: {
settings.sync()
}
}
]
Settings {
id: settings
property string githubToken: githubTokenField.text
}
FormCard.FormHeader {
title: "Authorization"
}
FormCard.FormCard {
FormCard.FormTextFieldDelegate {
id: githubTokenField
text: settings.githubToken
label: "Github Token"
}
}
}
|