Tons of small changes, add SidePanel, NCard, NCircleStat, NSystemMnitor
This commit is contained in:
parent
b0ff67e2e4
commit
92e121b356
12 changed files with 579 additions and 5 deletions
18
Widgets/NCard.qml
Normal file
18
Widgets/NCard.qml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import QtQuick
|
||||
import qs.Services
|
||||
|
||||
// Generic themed card container
|
||||
Rectangle {
|
||||
id: root
|
||||
|
||||
readonly property real scaling: Scaling.scale(screen)
|
||||
|
||||
implicitWidth: childrenRect.width
|
||||
implicitHeight: childrenRect.height
|
||||
|
||||
color: Colors.backgroundSecondary
|
||||
radius: Style.radiusMedium * scaling
|
||||
border.color: Colors.backgroundTertiary
|
||||
border.width: Math.min(1, Style.borderThin * scaling)
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue