summaryrefslogtreecommitdiff
path: root/contents/ui/configGeneral.qml
blob: c13b5eac554fb4e4744f07987ba36da11d243263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import org.kde.kirigami 2.5 as Kirigami

Kirigami.FormLayout {
    id: page
    property alias cfg_canvasUrl: canvasUrl.text
    property alias cfg_oauth2Token: oauth2Token.text

    TextField {
        id: canvasUrl
        Kirigami.FormData.label: i18n("Canvas URL:")
        placeholderText: i18n("https://your.canvas.url/")
    }

    TextField {
        id: oauth2Token
        Kirigami.FormData.label: i18n("OAuth2 Token:")
        placeholderText: i18n("")
    }
}