-
Notifications
You must be signed in to change notification settings - Fork 366
/
Copy pathmain.qml
41 lines (36 loc) · 812 Bytes
/
main.qml
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
import QtQuick 2.12
import QtQuick.Window 2.12
Window {
width: 640
height: 480
visible: true
title: qsTr("龚建波 1992")
Pagination1{
x: 10
y: 10
height: 40
//width: parent.width-20
border.color: "gray"
radius: 4
pageCurrent: 1
itemCount: 99
onRequestPage: {
console.log("Pagination1 request page:",page,"count:",count)
pageCurrent=page;
}
}
Pagination2{
x: 10
y: 60
height: 40
//width: parent.width-20
border.color: "gray"
radius: 4
pageCurrent: 1
itemCount: 31
onRequestPage: {
console.log("Pagination1 request page:",page,"count:",count)
pageCurrent=page;
}
}
}