Implemented cell monitor screen

This commit is contained in:
Yury Shuvakin
2022-08-17 05:30:25 +03:00
parent a4196df821
commit 4a5a0bcb3a
8 changed files with 188 additions and 4 deletions

View 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
}

View File

@@ -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

View File

@@ -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