blob: c337062f0412895770ad740a2c4f27f25dec8809 (
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
40
41
42
43
|
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import "larva/features"
import "larva/components"
HomeForm {
//menuButton.onClicked: drawer.open()
//profileButton.onClicked: pageView.push("Profile.qml")
StackLayout {
id: layout
anchors.fill: parent
Page {}
TaskListForm {
listView {
model: ticketList
delegate: ListItemSingleTextForm {
title.text: subject
delegate.onClicked: {
window.ticketHistoryList(id,
true)
}
}
}
}
Page {}
}
contentView.initialItem: TicketList {
title: qsTr("Projects")
}
footer: MainTabBarForm {
width: parent.width
leftTabButton.onClicked: layout.currentIndex = 0
middleTabButton.onClicked: layout.currentIndex = 1
rightTabButton.onClicked: layout.currentIndex = 2
}
}
|