Skip to content

Commit

Permalink
docs: Improve examples_qtquick_fixed_central_widget.md
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsergio committed Jun 28, 2024
1 parent 10a3162 commit 3fcca4d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/book/src/examples_qtquick_fixed_central_widget.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,11 @@
This example shows a layout with a persistent central widget. This widget can't be detached and
can't be docked over.

In main.qml they key source lines for this mode are:

```
persistentCentralItemFileName: ":/CentralWidget.qml"
options: KDDW.KDDockWidgets.MainWindowOption_HasCentralWidget
```

View the source in [GitHub](https://github.com/KDAB/KDDockWidgets/blob/main/examples/qtquick/fixed_central_widget/main.qml).

0 comments on commit 3fcca4d

Please sign in to comment.