QQC2-Desktop-Style

QQC2-Desktop-Style

Introduction

QQC2-Desktop-Style is a style for Qt Quick Controls 2 (QQC2) which uses QStyle to paint the controls in order to give them native look and feel.

This framework has no public API, applications should not (and can not) use it directly. Instead, developers should add this framework as a dependency of their desktop apps.

Style name is "org.kde.desktop". It can be enabled like any other QQC2 style, e.g.:

  • via environment variable QT_QUICK_CONTROLS_STYLE=org.kde.desktop
  • from the C++ code:
#include <QQuickStyle>
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
QQuickStyle::setStyle("org.kde.desktop");
// ...
}
Author(s):
Marco Martin <notma[email protected][email protected][email protected]mail.[email protected]com>
Maintainer(s):
Marco Martin <notma[email protected][email protected][email protected]mail.[email protected]com>
License(s):
LGPLv2
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Jul 10 2020 22:41:35 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.