QML Support For KDE KWin Window Decorations
KDE's KWin compositing window manager now has support for QML window decorations.
Martin Gräßlin has written today on his blog about QML support for window decorations.
For the key information relevant to KDE developers and users with this change:
In the current state the decoration consists of 370 lines of QML code and I expect to need an additional 100 lines to finish the buttons (they are already functional, that is the close button closes the window) and add some of the configuration options. The same API in C++ consists of 1500 lines of code. So we do not only get fewer lines of code but also a more readable and easier to maintain codebase. For something like a window decoration a declarative approach is much better suited than the imperative C++ way of painting elements.
Latest Linux News
Latest Articles & Reviews
Most Viewed News This Week