Warning, /plasma/layer-shell-qt/README.md is written in an unsupported language. File is not indexed.
0001 # LayerShellQt 0002 0003 This component is meant for applications to be able to easily use clients based on wlr-layer-shell. 0004 0005 Here you can read about what the protocol does and how shells work: 0006 https://drewdevault.com/2018/07/29/Wayland-shells.html 0007 0008 Report issues in this component here: 0009 https://bugs.kde.org/enter_bug.cgi?product=layer-shell-qt 0010 0011 ## Usage 0012 0013 ### CMake 0014 0015 To use it from a CMake project you'll need to: 0016 ``` 0017 find_package(LayerShellQt REQUIRED) 0018 ``` 0019 0020 Then it will offer us the target `LayerShellQt::Interface` that we can link to to get access to this framework. 0021 0022 ### C++ 0023 0024 You can use `LayerShellQt::Shell::useLayerShell();` to enable it before any clients are created. 0025 0026 The class `LayerShellQt::Window` will give us access to surface-specific settings. We can get it by using `LayerShellQt::Window::get(window)` on whatever `QWindow` we need to tweak.