From 33db07fbf055148633414d3d0af3783a91d2c630 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Sun, 22 Sep 2019 18:21:32 +0700 Subject: changed `checkBox`to `taskTitle` --- TaskList.qml | 8 +++++++- forms/TaskForm.ui.qml | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/TaskList.qml b/TaskList.qml index 0e682df..d522417 100644 --- a/TaskList.qml +++ b/TaskList.qml @@ -9,7 +9,13 @@ TaskListForm { delegate: TaskForm { width: parent.width height: task.height - checkBox.text: subject + taskTitle.text: subject } } } + +/*##^## +Designer { + D{i:0;autoSize:true;height:480;width:640} +} +##^##*/ diff --git a/forms/TaskForm.ui.qml b/forms/TaskForm.ui.qml index b8c23e5..52c0f02 100644 --- a/forms/TaskForm.ui.qml +++ b/forms/TaskForm.ui.qml @@ -4,7 +4,7 @@ import QtQuick.Layouts 1.12 GridLayout { property alias task: task - property alias checkBox: checkBox + property alias taskTitle: taskTitle id: task width: fillWidth @@ -37,7 +37,7 @@ GridLayout { Layout.fillWidth: true Layout.fillHeight: true Label { - id: checkBox + id: taskTitle text: qsTr("Task title") Layout.columnSpan: 0 Layout.rowSpan: 0 -- cgit v1.2.3