Files
z-bar-qt/Modules/Settings/SettingsState.qml
T
zach 38b9362515
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 11s
Python / lint-format (pull_request) Successful in 18s
Python / test (pull_request) Successful in 46s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m39s
C++ / build (pull_request) Successful in 2m26s
remove old Settings, rename new
2026-06-30 13:43:34 +02:00

34 lines
684 B
QML

import QtQuick
import Quickshell
import Quickshell.Bluetooth
QtObject {
id: root
property bool animatingContainer
property int currentPageIdx
property bool isWindow
property ShellScreen screen
property bool searchOpen
property DesktopEntry selectedApp
property BluetoothDevice selectedBtDevice
property string selectedWallpaperCategory
property list<int> subPageIdxStack
signal close
signal subPageClosed
signal subPageOpened(idx: int)
function closeSubPage(): void {
subPageClosed();
subPageIdxStack.pop();
}
function openSubPage(idx: int): void {
subPageIdxStack.push(idx);
subPageOpened(idx);
}
onCurrentPageIdxChanged: subPageIdxStack.length = 0
}