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