/usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Styles/Breeze/DemoPage4.qml is in qml-module-qtquick-controls-styles-breeze 4:5.12.4-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | import QtQuick 2.0
import QtQuick.Controls 1.1
import QtQuick.Layouts 1.1
GridLayout {
SystemPalette { id: sysPalette; colorGroup: SystemPalette.Active }
anchors.fill: parent
anchors.margins: 16
Layout.minimumWidth: 400
Layout.minimumHeight: 300
columns: 1
rows: 1
TableView {
Layout.column: 0
Layout.row: 0
anchors.fill: parent
anchors.margins: 8
style: TableViewStyle{}
ListModel {
id: libraryModel
ListElement{ title: "A Masterpiece" ; author: "Gabriel" }
ListElement{ title: "Brilliance" ; author: "Jens" }
ListElement{ title: "Outstanding" ; author: "Frederik" }
ListElement{ title: "Brilliance" ; author: "Jens" }
ListElement{ title: "Outstanding" ; author: "Frederik" }
ListElement{ title: "Brilliance" ; author: "Jens" }
ListElement{ title: "Outstanding" ; author: "Frederik" }
ListElement{ title: "Brilliance" ; author: "Jens" }
ListElement{ title: "Outstanding" ; author: "Frederik" }
}
TableViewColumn{ role: "title" ; title: "Title" ; width: 100 }
TableViewColumn{ role: "author" ; title: "Author" ; width: 200 }
model: libraryModel
}
}
|