You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can provide a dedicated settings UI for your desktop widget that allows users to configure per-instance options (like show/hide background, layout mode, colors) directly from the widget's settings menu.
168
+
169
+
Register a `desktopWidgetSettings` entrypoint in your `manifest.json`:
@@ -199,9 +199,10 @@ See [Desktop Widget Guide](/development/plugins/desktop-widget/) for details.
199
199
200
200
### `desktopWidgetSettings`
201
201
-**File**: DesktopWidgetSettings.qml
202
-
-**Purpose**: Desktop widget specific data
202
+
-**Purpose**: Per-instance settings UI for desktop widgets
203
203
-**Use cases**:
204
-
- Change widget data of a specific desktop widget
204
+
- Configure individual widgets
205
+
- Per-instance options that differ from plugin-wide settings
205
206
206
207
**Example**:
207
208
```json
@@ -212,6 +213,10 @@ See [Desktop Widget Guide](/development/plugins/desktop-widget/) for details.
212
213
}
213
214
```
214
215
216
+
:::tip
217
+
If `desktopWidgetSettings` is not defined, the system falls back to the `settings` entrypoint (if available) when the user opens the widget settings from the context menu.
218
+
:::
219
+
215
220
See [Desktop Widget Guide](/development/plugins/desktop-widget-settings/) for details.
216
221
217
222
### `controlCenterWidget`
@@ -470,6 +475,7 @@ The PluginRegistry validates manifests with these rules:
0 commit comments