refactor(quickshell): drop the Persona names from the primitives

P5Panel, P5Button, P5Slider and P5Tooltip become Panel, ActionButton,
LevelSlider and Tooltip. ActionButton and LevelSlider avoid clashing
with QtQuick.Controls, which the ask panel imports.
This commit is contained in:
nvrl committed 2026-10-04 23:39:51 +02:00
1 parent 7b7cd3e575
commit add12ccc76
20 files changed
+29 -29

No files matched your search

@@ -48,7 +48,7 @@ FocusScope {
implicitWidth: wide ? 260 : (row.implicitWidth + panel.contentPad * 2)
implicitHeight: 44
P5Panel {
Panel {
id: panel
anchors.fill: parent
lean: root.lean
+1 -1
View File
@@ -4,7 +4,7 @@ import "root:/components"
// Calm, permanent-chrome preset. It is deliberately flat and opaque: one
// neutral hairline, no texture, no ticks, and no accent unless active.
P5Panel {
Panel {
property bool active: false
property color tone: Theme.treatmentActiveMark
File renamed without changes.
File renamed without changes.
+3 -3
View File
@@ -3,7 +3,7 @@ import QtQuick.Shapes
import "root:/config"
import "root:/components"
// A small block — the small-scale counterpart to P5Panel. Upright and rounded
// A small block — the small-scale counterpart to Panel. Upright and rounded
// under the YoRHa theme; it still leans if given a lean.
//
// Every tick, rule, meter segment and slider rail in this shell leans at
@@ -23,12 +23,12 @@ Shape {
property color borderColor: "transparent"
property real borderWidth: 0
// Lean of the vertical edges as a fraction of height, matching P5Panel.
// Lean of the vertical edges as a fraction of height, matching Panel.
property real lean: Theme.skew
property bool leanLeft: false
// Wide, short pieces — the rail's hairline rules — slant their horizontal
// edges by a fraction of width instead, exactly as P5Panel does for the
// edges by a fraction of width instead, exactly as Panel does for the
// rail slab.
property bool vertical: false
File renamed without changes.