diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-20 16:37:34 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-20 16:37:34 +0700 |
commit | f3571973017ac8c0b4bc42d3b16dde771f0d361d (patch) | |
tree | 2db1be09d615fb0ca2fb3552482e5966b90dcbe4 /Profile.qml | |
parent | e97be359c0eb00f5e3f9ff3fe16ddd146572923b (diff) |
add `title` and `edit`
Diffstat (limited to 'Profile.qml')
-rw-r--r-- | Profile.qml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Profile.qml b/Profile.qml index 381f486..1011a51 100644 --- a/Profile.qml +++ b/Profile.qml @@ -21,8 +21,36 @@ Page { pageView.pop() } } + Label { + text: contentView.currentItem.title + Layout.leftMargin: 16 + verticalAlignment: Text.AlignVCenter + horizontalAlignment: Text.AlignLeft + wrapMode: Text.WordWrap + font.family: "Work Sans" + font.weight: Font.Medium + font.pointSize: 20 + color: "#000000" + Layout.fillWidth: true + } + ToolButton { + text: qsTr("Edit") + font.weight: Font.Medium + display: AbstractButton.TextOnly + font.family: "Work Sans" + font.capitalization: Font.MixedCase + flat: false + highlighted: true + Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter + + } } } + StackView { + id: contentView + anchors.fill: parent + initialItem: ProfileForm {} + } } /*##^## |