MauiKit Controls
csdcontrols.cpp
23 connect(m_themeSettings, &MauiMan::ThemeManager::windowControlsThemeChanged, [this](QString style)
39 auto confFile = QStandardPaths::locate (QStandardPaths::GenericDataLocation, QString(CSDLookupPath).arg(m_styleName));
78#else //Fallback in case FormFactor is not found. and then check for the env var QT_QUICK_CONTROLS_MOBILE
132 // connect(MauiApp::instance()->controls(), &CSDControls::styleNameChanged, this, &CSDButton::setSources);
161 const auto confFile = QStandardPaths::locate (QStandardPaths::GenericDataLocation, QString(CSDLookupPath).arg(m_style));
171 m_sources.insert (CSDButtonState::Backdrop, extractStateValue (conf, CSDButtonState::Backdrop));
172 m_sources.insert (CSDButtonState::Disabled, extractStateValue (conf, CSDButtonState::Disabled));
CSDButton::CSDButtonType mapType(const QString &value)
Maps a based string value convention representing a button type to a CSDButton::CSDButtonType.
Definition csdcontrols.cpp:254
QString style
The style to be used for picking up the image assets and config.
Definition csdcontrols.h:65
The client-side-decorations manager for the MauiKit application.
Definition csdcontrols.h:212
static CSDControls * instance()
Retrieves the single instance of MauiApp.
Definition csdcontrols.cpp:351
QString windowControlsTheme
bool enableCSD
KIOCORE_EXPORT QString dir(const QString &fileClass)
bool exists() const const
iterator insert(const Key &key, const T &value)
T value(const Key &key) const const
Q_EMITQ_EMIT
IniFormat
void beginGroup(QAnyStringView prefix)
void endGroup()
QVariant value(QAnyStringView key) const const
GenericDataLocation
QString locate(StandardLocation type, const QString &fileName, LocateOptions options)
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
QUrl fromLocalFile(const QString &localFile)
QString toLocalFile() const const
QString toString(FormattingOptions options) const const
QString toString() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 3 2025 12:00:17 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 3 2025 12:00:17 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.