You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
456 B
23 lines
456 B
import QtQuick 2.2
|
|
import QtQuick.Controls 1.1
|
|
import QtQuick.Controls.Styles 1.1
|
|
|
|
TabViewStyle {
|
|
frameOverlap: 1
|
|
tabBar: Rectangle {
|
|
color: "lightgray"
|
|
}
|
|
tab: Rectangle {
|
|
color: "lightsteelblue"
|
|
implicitWidth: Math.max(text.width + 4, 80)
|
|
implicitHeight: 20
|
|
radius: 2
|
|
Text {
|
|
id: text
|
|
anchors.centerIn: parent
|
|
text: styleData.title
|
|
color: styleData.selected ? "white" : "black"
|
|
}
|
|
}
|
|
frame: Rectangle { color: "steelblue" }
|
|
}
|
|
|