Implemented cell monitor screen
This commit is contained in:
12
qml/Controls/AvailabilityIndicator.qml
Normal file
12
qml/Controls/AvailabilityIndicator.qml
Normal file
@@ -0,0 +1,12 @@
|
||||
import QtQuick 2.12
|
||||
|
||||
import Utils 1.0
|
||||
|
||||
Rectangle {
|
||||
property bool enabled: false
|
||||
|
||||
implicitWidth: 18
|
||||
implicitHeight: 18
|
||||
radius: implicitWidth / 2
|
||||
color: enabled ? Palette.alternativeBackgroundColor : Palette.borderColor
|
||||
}
|
||||
@@ -10,7 +10,7 @@ TextField {
|
||||
selectionColor: Palette.alternativeBackgroundColor
|
||||
|
||||
background: Rectangle {
|
||||
color: Palette.backgroundColor
|
||||
color: enabled ? Palette.backgroundColor : Palette.hoveredBackgroundColor
|
||||
border.color: Palette.borderColor
|
||||
border.width: 1
|
||||
radius: 8
|
||||
|
||||
@@ -11,3 +11,4 @@ TitleLabel 1.0 TitleLabel.qml
|
||||
SubtitleLabel 1.0 SubtitleLabel.qml
|
||||
ContentLabel 1.0 ContentLabel.qml
|
||||
DotSeparator 1.0 DotSeparator.qml
|
||||
AvailabilityIndicator 1.0 AvailabilityIndicator.qml
|
||||
|
||||
Reference in New Issue
Block a user