Kstars

CategoryTitle.qml
1 import QtQuick 2.5
2 
3 Text {
4  property string title
5  property color activeColor:"#e4800d"
6  property color disabledColor:"#6b6660"
7 
8  id: categoryTitle
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 
23  PropertyChanges {
24  target: categoryTitle
25  font {
26  pixelSize: 21
27  bold: true
28  }
29  }
30  },
31  State {
32  name: "selectedNoBold"
33  PropertyChanges {
34  target: categoryTitle
35  font {
36  pixelSize: 21
37  bold: false
38  }
39  }
40  },
41  State {
42  name: ""
43 
44  PropertyChanges {
45  target: categoryTitle
46  font {
47  pixelSize: 16
48  bold: false
49  }
50  }
51  }
52  ]
53 
54  Behavior on font.pixelSize {
55  NumberAnimation {
56  duration: 150
57  }
58  }
59 }
[1]
Definition: dashedshader.h:47
const char * name(StandardAction id)
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 04:00:53 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.