Warning, /education/kstars/kstars/data/qml/whatisinteresting/CategoryTitle.qml is written in an unsupported language. File is not indexed.

0001 import QtQuick 2.5
0002 
0003 Text {
0004     property string title
0005     property color activeColor:"#e4800d"
0006     property color disabledColor:"#6b6660"
0007 
0008     id: categoryTitle
0009     color: activeColor
0010     text: title
0011     anchors.centerIn: parent
0012     font {
0013         family: "Cantarell"
0014         pixelSize: 16
0015         bold: false
0016     }
0017     renderType: Text.NativeRendering
0018 
0019     states: [
0020         State {
0021             name: "selected"
0022 
0023             PropertyChanges {
0024                 target: categoryTitle
0025                 font {
0026                     pixelSize: 21
0027                     bold: true
0028                 }
0029             }
0030         },
0031         State {
0032             name: "selectedNoBold"
0033             PropertyChanges {
0034                 target: categoryTitle
0035                 font {
0036                     pixelSize: 21
0037                     bold: false
0038                 }
0039             }
0040         },
0041         State {
0042             name: ""
0043 
0044             PropertyChanges {
0045                 target: categoryTitle
0046                 font {
0047                     pixelSize: 16
0048                     bold: false
0049                 }
0050             }
0051         }
0052     ]
0053 
0054     Behavior on font.pixelSize {
0055         NumberAnimation {
0056             duration: 150
0057         }
0058     }
0059 }