Warning, /system/mycroft-gui/tests/paginationtest.qml is written in an unsupported language. File is not indexed.

0001 import QtQuick 2.5
0002 import QtQuick.Controls 2.4 as Controls
0003 import QtQuick.Layouts 1.3
0004 import Mycroft 1.0 as Mycroft
0005 import org.kde.kirigami 2.5 as Kirigami
0006 
0007 Mycroft.PaginatedDelegate {
0008     id: root
0009     width: 500
0010     height: 500
0011 
0012     Kirigami.ScrollablePage {
0013         Rectangle {
0014             width: page1.width
0015             implicitHeight: page1.height
0016             color: "red"
0017         }
0018     }
0019 
0020     Kirigami.ScrollablePage {
0021         id: page1
0022         Rectangle {
0023             width: page1.width
0024             implicitHeight: page1.height
0025             color: "yellow"
0026         }
0027     }
0028     Kirigami.ScrollablePage {
0029         Rectangle {
0030             width: page1.width
0031             implicitHeight: page1.height
0032             color: "blue"
0033         }
0034     }
0035     Kirigami.ScrollablePage {
0036         Rectangle {
0037             width: page1.width
0038             implicitHeight: page1.height
0039             color: "green"
0040         }
0041     }
0042 }