Bring backs most services

This commit is contained in:
quadbyte 2025-08-09 23:42:02 -04:00
parent 71cb79b08b
commit ec3bff68ac
16 changed files with 1038 additions and 13 deletions

View file

View file

View file

View file

@ -25,7 +25,9 @@ PanelWindow {
Item {
anchors.fill: parent
clip: true
// Background fill
Rectangle {
id: bar
anchors.fill: parent
@ -35,9 +37,10 @@ PanelWindow {
Row {
id: leftSection
anchors.left: bar.left
height: parent.height
anchors.left: parent.left
anchors.leftMargin: Style.marginMedium * scaling
anchors.verticalCenter: bar.verticalCenter
anchors.verticalCenter: parent.verticalCenter
spacing: Style.marginMedium * scaling
NText {
@ -47,9 +50,11 @@ PanelWindow {
Row {
id: centerSection
height: parent.height
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: bar.verticalCenter
anchors.verticalCenter: parent.verticalCenter
spacing: Style.marginMedium * scaling
NText {
text: "Center"
}
@ -57,7 +62,7 @@ PanelWindow {
Row {
id: rightSection
height: parent.height
anchors.right: bar.right
anchors.rightMargin: Style.marginMedium * scaling
anchors.verticalCenter: bar.verticalCenter
@ -65,6 +70,7 @@ PanelWindow {
NText {
text: "Right"
Layout.alignment: Qt.AlignVCenter
}
Clock {}

View file

@ -22,7 +22,7 @@ NPanel {
border.color: Colors.backgroundTertiary
border.width: Math.min(1, Style.borderMedium * scaling)
width: 500 * scaling
height: 300
height: 400
anchors.centerIn: parent
@ -33,15 +33,15 @@ NPanel {
ColumnLayout {
anchors.fill: parent
anchors.margins: 16 * scaling
spacing: 12 * scaling
anchors.margins: Style.marginXL * scaling
spacing: Style.marginSmall * scaling
// NIconButton
ColumnLayout {
spacing: 16 * scaling
NText {
text: "NIconButton"
color: Colors.accentSecondary
}
NIconButton {
@ -54,15 +54,18 @@ NPanel {
myTooltip.hide();
}
}
NDivider {Layout.fillWidth: true}
}
// NToggle
ColumnLayout {
spacing: 16 * scaling
spacing: Style.marginLarge * scaling
uniformCellSizes: true
NText {
text: "NToggle + NTooltip"
color: Colors.accentSecondary
}
NToggle {
@ -79,16 +82,24 @@ NPanel {
positionAbove: false
text: "Hello world"
}
NDivider {
Layout.fillWidth: true
}
}
// NSlider
ColumnLayout {
spacing: 16 * scaling
NText {
text: "NSlider"
color: Colors.accentSecondary
}
NSlider {}
NDivider {
Layout.fillWidth: true
}
}
}