/usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Styles/Breeze/Breeze.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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | import QtQuick 2.2
import QtQuick.Controls 1.1
import QtQuick.Layouts 1.1
ApplicationWindow {
width: 640
height: 300
title: "Breeze Style Demo"
style: ApplicationWindowStyle{} //Commented out to see if works when QT_QUICK_CONTROLS_STYLE=Breeze is set
TabView {
id: tabView
anchors.fill: parent
anchors.leftMargin: 8
anchors.topMargin: 12
anchors.rightMargin: 8
anchors.bottomMargin: 52
style: TabViewStyle{} //Commented out to see if works when QT_QUICK_CONTROLS_STYLE=Breeze is set
frameVisible: true
Component.onCompleted: {
addTab("Tab 1", page1)
addTab("Tab 2", page2)
addTab("Tab 3", page3)
addTab("Tab 4", page4)
}
Component {
id: page1
DemoPage1 {}
}
Component {
id: page2
DemoPage2 {}
}
Component {
id: page3
DemoPage3 {}
}
Component {
id: page4
DemoPage4 {}
}
}
Item {
anchors.top: tabView.bottom
anchors.left:parent.left
anchors.bottom: parent.bottom
anchors.right: parent.right
anchors.margins: 8
Button {
focus: true
anchors.right: parent.right
anchors.bottom: parent.bottom
style: ButtonStyle{} //Commented out to see if works when QT_QUICK_CONTROLS_STYLE=Breeze is set
text: "Close"
onClicked: Qt.quit()
}
}
}
|