blob: f441318bec82a601817c8189848be8bc77e8ec2b (
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
|
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
Page {
StackLayout {
id: layout
anchors.fill: parent
Page {}
ListView {
model: ticketList
delegate: TicketForm {
width: layout.width
title.text: subject
delegate.onClicked: {
window.ticketHistoryList(id, true)
}
}
ScrollBar.vertical: ScrollBar {}
}
Page {}
}
footer: MainTabBarForm {
width: parent.width
leftTabButton.onClicked: layout.currentIndex = 0
middleTabButton.onClicked: layout.currentIndex = 1
rightTabButton.onClicked: layout.currentIndex = 2
}
}
|