From 27b2be77d5d7c53a23bfbec57807b2669dc1c163 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Sun, 29 Sep 2019 20:04:32 +0700 Subject: load `TaskHistoryForm.ui.qml` on `TaskDetailForm` --- features/TaskHistoryForm.ui.qml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 features/TaskHistoryForm.ui.qml (limited to 'features/TaskHistoryForm.ui.qml') diff --git a/features/TaskHistoryForm.ui.qml b/features/TaskHistoryForm.ui.qml new file mode 100644 index 0000000..00b0d82 --- /dev/null +++ b/features/TaskHistoryForm.ui.qml @@ -0,0 +1,40 @@ +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Layouts 1.12 + +Page { + id: page + height: ticketHistoryText.height + 16 + background: Rectangle { + color: "#eeeeee" + } + RowLayout { + anchors.fill: parent + spacing: 8 + Text { + id: historyCreator + text: qsTr("Username") + font.weight: Font.Medium + font.pixelSize: 14 + font.family: "Work Sans" + Layout.leftMargin: 16 + width: historyCreator.width + } + Text { + id: ticketHistoryText + text: qsTr("Edit or Commented") + font.pixelSize: 14 + font.family: "Work Sans" + width: ticketHistoryText.width + } + Text { + id: historyTimestamp + text: qsTr("2017-07-25 15:05:30") + Layout.rightMargin: 16 + font.pixelSize: 14 + font.family: "Work Sans" + width: historyTimestamp.width + } + } +} -- cgit v1.2.3