21 lines
529 B
QML
21 lines
529 B
QML
import QtGraphicalEffects 1.0
|
|
import QtQuick 2.7
|
|
import QtQuick.Controls 2.4
|
|
import QtQuick.Controls.Material 2.0
|
|
import QtQuick.Layouts 1.3
|
|
import QtQuick.Window 2.11
|
|
import "theme"
|
|
import "fonts"
|
|
|
|
Label {
|
|
font.pixelSize: gcd.themeScale * size
|
|
wrapMode: Text.WordWrap
|
|
color: Theme.mainTextColor
|
|
textFormat: Text.PlainText
|
|
property real size: 12
|
|
property bool bold: false
|
|
|
|
font.family: bold ? Fonts.applicationFontRegular.name : Fonts.applicationFontBold.name
|
|
font.styleName: bold ? "Bold" : ""
|
|
}
|