QGCLabel.qml 420 Bytes
Newer Older
Don Gagne's avatar
Don Gagne committed
1 2 3 4 5
import QtQuick 2.2
import QtQuick.Controls 1.2
import QtQuick.Controls.Styles 1.2

import QGroundControl.Palette 1.0
6
import QGroundControl.ScreenTools 1.0
Don Gagne's avatar
Don Gagne committed
7 8

Text {
9 10
    QGCPalette { id: __qgcPal; colorGroupEnabled: enabled }

Don Gagne's avatar
Don Gagne committed
11 12
    property bool enabled: true

Don Gagne's avatar
Don Gagne committed
13
    font.pixelSize: ScreenTools.defaultFontPixelSize
14
    font.family:    ScreenTools.normalFontFamily
15
    color:          __qgcPal.text
16
    antialiasing:   true
Don Gagne's avatar
Don Gagne committed
17
}