| 1 |
import QtQuick 2.4 |
| 2 |
import FlightGear 1.0 |
| 3 |
|
| 4 |
Text { |
| 5 |
id: root |
| 6 |
font.pixelSize: Style.baseFontPixelSize |
| 7 |
|
| 8 |
property bool enabled: true |
| 9 |
property bool hover: false |
| 10 |
|
| 11 |
color: hover ? Style.themeColor : (root.enabled ? Style.baseTextColor : Style.disabledTextColor) |
| 12 |
} |