SidePanel: added PowerProfileCard and UtilitiesCard
This commit is contained in:
parent
a11e310580
commit
bfe70e8f46
6 changed files with 85 additions and 70 deletions
34
Modules/SidePanel/Cards/UtilitiesCard.qml
Normal file
34
Modules/SidePanel/Cards/UtilitiesCard.qml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
import Quickshell
|
||||
import qs.Services
|
||||
import qs.Widgets
|
||||
|
||||
// Utilities: record & wallpaper
|
||||
NBox {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredWidth: 1
|
||||
implicitHeight: utilRow.implicitHeight + Style.marginMedium * 2 * scaling
|
||||
RowLayout {
|
||||
id: utilRow
|
||||
anchors.fill: parent
|
||||
anchors.margins: Style.marginSmall * scaling
|
||||
spacing: sidePanel.cardSpacing
|
||||
Item {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
// Record
|
||||
NIconButton {
|
||||
icon: "fiber_manual_record"
|
||||
}
|
||||
// Wallpaper
|
||||
NIconButton {
|
||||
icon: "image"
|
||||
}
|
||||
Item {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue