mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-05 06:59:50 -05:00
progress maybe, maybe not
This commit is contained in:
parent
ce6c1f410c
commit
83a0ac8899
21 changed files with 1412 additions and 49 deletions
27
shell/experimental-bar/volume/VolumeIndicator.qml
Normal file
27
shell/experimental-bar/volume/VolumeIndicator.qml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
import QtQuick
|
||||
import "../../widgets/" as Widgets
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
||||
required property var popup
|
||||
|
||||
Widgets.FontIconButton {
|
||||
id: button
|
||||
iconName: "volume_up"
|
||||
anchors.fill: parent
|
||||
onClicked: {
|
||||
if (root.popup.content == volumeMenu) {
|
||||
root.popup.hide();
|
||||
return;
|
||||
}
|
||||
|
||||
root.popup.set(this, volumeMenu);
|
||||
root.popup.show();
|
||||
}
|
||||
}
|
||||
|
||||
VolumeControl {
|
||||
id: volumeMenu
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue