feat: dashboard show on hover, media and weather tabs added
This commit is contained in:
@@ -11,10 +11,9 @@ import qs.Services
|
||||
GridLayout {
|
||||
id: root
|
||||
|
||||
required property PersistentProperties dashState
|
||||
readonly property bool dashboardVisible: visibilities.dashboard
|
||||
readonly property bool dashboardVisible: screenState.dashboard
|
||||
property int radius: Tokens.rounding.medium
|
||||
required property PersistentProperties visibilities
|
||||
required property ScreenState screenState
|
||||
|
||||
columnSpacing: Tokens.spacing.small
|
||||
rowSpacing: Tokens.spacing.small
|
||||
@@ -61,7 +60,7 @@ GridLayout {
|
||||
User {
|
||||
id: user
|
||||
|
||||
dashState: root.dashState
|
||||
screenState: root.screenState
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,8 +71,7 @@ GridLayout {
|
||||
Layout.row: 0
|
||||
radius: root.radius
|
||||
|
||||
Weather {
|
||||
}
|
||||
Weather {}
|
||||
}
|
||||
|
||||
Rect {
|
||||
@@ -87,7 +85,7 @@ GridLayout {
|
||||
Calendar {
|
||||
id: calendar
|
||||
|
||||
dashState: root.dashState
|
||||
screenState: root.screenState
|
||||
}
|
||||
}
|
||||
|
||||
@@ -104,20 +102,6 @@ GridLayout {
|
||||
}
|
||||
}
|
||||
|
||||
CustomClippingRect {
|
||||
Layout.column: 0
|
||||
Layout.columnSpan: 5
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: media.implicitHeight
|
||||
Layout.row: 2
|
||||
color: Colors.tPalette.m3surfaceContainer
|
||||
radius: root.radius
|
||||
|
||||
Media {
|
||||
id: media
|
||||
}
|
||||
}
|
||||
|
||||
component Rect: CustomRect {
|
||||
color: Colors.tPalette.m3surfaceContainer
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user