Kstars

CategoryTitle.qml
1import QtQuick 2.5
2
3Text {
4 property string title
5 property color activeColor:"#e4800d"
6 property color disabledColor:"#6b6660"
7
9 color: activeColor
10 text: title
11 anchors.centerIn: parent
12 font {
13 family: "Cantarell"
14 pixelSize: 16
15 bold: false
16 }
17 renderType: Text.NativeRendering
18
19 states: [
20 State {
21 name: "selected"
22
24 target: categoryTitle
25 font {
26 pixelSize: 21
27 bold: true
28 }
29 }
30 },
31 State {
32 name: "selectedNoBold"
34 target: categoryTitle
35 font {
36 pixelSize: 21
37 bold: false
38 }
39 }
40 },
41 State {
42 name: ""
43
45 target: categoryTitle
46 font {
47 pixelSize: 16
48 bold: false
49 }
50 }
51 }
52 ]
53
54 Behavior on font.pixelSize {
56 duration: 150
57 }
58 }
59}
QString name(StandardAction id)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:48:25 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.