diff options
| author | ATMDA <atdma2600@gmail.com> | 2025-11-19 21:07:19 -0500 |
|---|---|---|
| committer | ATMDA <atdma2600@gmail.com> | 2025-11-19 21:07:19 -0500 |
| commit | 978a3f430226ae6cead3284329b4dcb309e979ee (patch) | |
| tree | 716c94756a86320eddd07c37e2651b5fb9709bf5 /modules/controlcenter/components/DeviceList.qml | |
| parent | refactor: ToggleButton Tooltips and DeviceList (diff) | |
| download | caelestia-shell-978a3f430226ae6cead3284329b4dcb309e979ee.tar.gz caelestia-shell-978a3f430226ae6cead3284329b4dcb309e979ee.tar.bz2 caelestia-shell-978a3f430226ae6cead3284329b4dcb309e979ee.zip | |
cleanup: removed comments
Diffstat (limited to 'modules/controlcenter/components/DeviceList.qml')
| -rw-r--r-- | modules/controlcenter/components/DeviceList.qml | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/modules/controlcenter/components/DeviceList.qml b/modules/controlcenter/components/DeviceList.qml index bf7126f..a6821d8 100644 --- a/modules/controlcenter/components/DeviceList.qml +++ b/modules/controlcenter/components/DeviceList.qml @@ -10,40 +10,6 @@ import Quickshell import QtQuick import QtQuick.Layouts -/** - * DeviceList - * - * A reusable base component for displaying lists of devices/networks with a standardized - * structure. Provides a header with action buttons, title/subtitle, and a scrollable list - * with customizable delegates. - * - * This component eliminates duplication across WirelessList, EthernetList, and Bluetooth DeviceList - * by providing a common structure while allowing full customization of headers and delegates. - * - * Usage: - * ```qml - * DeviceList { - * session: root.session - * title: qsTr("Networks (%1)").arg(Nmcli.networks.length) - * description: qsTr("All available WiFi networks") - * model: ScriptModel { - * values: [...Nmcli.networks].sort(...) - * } - * activeItem: session.network.active - * onItemSelected: (item) => { - * session.network.active = item; - * } - * headerComponent: Component { - * RowLayout { - * // Custom header buttons - * } - * } - * delegate: Component { - * // Custom delegate for each item - * } - * } - * ``` - */ ColumnLayout { id: root |