2018-06-21 22:54:21 +01:00
|
|
|
import QtQuick 2.4
|
|
|
|
|
|
|
|
import "."
|
|
|
|
|
|
|
|
Text {
|
2018-06-28 16:42:38 +01:00
|
|
|
id: root
|
2018-06-21 22:54:21 +01:00
|
|
|
font.pixelSize: Style.baseFontPixelSize
|
|
|
|
|
|
|
|
property bool enabled: true
|
|
|
|
property bool hover: false
|
|
|
|
|
|
|
|
color: hover ? Style.themeColor : (root.enabled ? Style.baseTextColor : Style.disabledTextColor)
|
|
|
|
}
|