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:
1 parent
7b7cd3e575
commit
add12ccc76
20 files changed
+29
-29
No files matched your search
@@ -62,14 +62,14 @@ Popout {
|
||||
anchors.left: parent.left
|
||||
spacing: Theme.padS
|
||||
|
||||
P5Button {
|
||||
ActionButton {
|
||||
text: Net.wifiEnabled ? "Wi-Fi On" : "Wi-Fi Off"
|
||||
icon: Net.wifiEnabled ? "" : ""
|
||||
accent: Net.wifiEnabled ? Theme.primary : Theme.muted
|
||||
onClicked: Net.toggleWifi()
|
||||
}
|
||||
|
||||
P5Button {
|
||||
ActionButton {
|
||||
text: "Settings"
|
||||
icon: ""
|
||||
onClicked: Actions.openNetworkSettings()
|
||||
|
||||
Reference in new issue
Block a user