5#ifndef QQSTYLEKITPALETTE_P_H
6#define QQSTYLEKITPALETTE_P_H
20#include <QtQuickTemplates2/private/qquicktheme_p.h>
21#include <QtQuick/private/qquickpalette_p.h>
28 Q_PROPERTY(QQuickPalette *system READ system NOTIFY systemChanged FINAL)
86
87
88
89
90
92 mutable std::unique_ptr<QQuickPalette> m_checkBox;
93 mutable std::unique_ptr<QQuickPalette> m_button;
94 mutable std::unique_ptr<QQuickPalette> m_comboBox;
95 mutable std::unique_ptr<QQuickPalette> m_groupBox;
96 mutable std::unique_ptr<QQuickPalette> m_itemDelegate;
97 mutable std::unique_ptr<QQuickPalette> m_label;
98 mutable std::unique_ptr<QQuickPalette> m_radioButton;
99 mutable std::unique_ptr<QQuickPalette> m_spinBox;
100 mutable std::unique_ptr<QQuickPalette> m_switchControl;
101 mutable std::unique_ptr<QQuickPalette> m_tabBar;
102 mutable std::unique_ptr<QQuickPalette> m_textArea;
103 mutable std::unique_ptr<QQuickPalette> m_textField;
104 mutable std::unique_ptr<QQuickPalette> m_toolBar;
108 quint32 m_setMask = 0;
109 bool isSet(QQuickTheme::Scope scope)
const {
return (m_setMask & (1u <<
int(scope))) != 0; }
110 void markSet(QQuickTheme::Scope scope) { m_setMask |= (1u <<
int(scope)); }
Q_INVOKABLE bool styleLoaded() const
void setStyleUrl(const QString &styleUrl)
QQStyleKitStyle * style() const
void transitionsEnabledChanged()
void setStyle(QQStyleKitStyle *style)
void setTransitionsEnabled(bool enabled)
QQStyleKitDebug * debug() const
bool transitionsEnabled() const
void scrollIndicatorChanged()
void componentComplete() override
Invoked after the root component that caused this instantiation has completed construction.
const QList< QObject * > children() const
void abstractButtonChanged()
void itemDelegateChanged()
void progressBarChanged()
void classBegin() override
Invoked after class creation, but before any properties have been set.
QList< QQStyleKitVariation * > variations() const
void radioButtonChanged()
void switchControlChanged()
QQmlListProperty< QObject > data()
void applicationWindowChanged()
void toolSeparatorChanged()
QQmlComponent * theme() const
void setName(const QString &newName)
void setTheme(QQmlComponent *newTheme)
void setFilter(const QString &filter)
void setControl(QQuickItem *item)
static Q_INVOKABLE bool insideControl(const QObject *child)
void setButton(const QFont &font)
QFont switchControl() const
void itemDelegateChanged()
void setCheckBox(const QFont &font)
void radioButtonChanged()
void setSpinBox(const QFont &font)
QQStyleKitFont * fallbackFont() const
void setSystem(const QFont &font)
void setGroupBox(const QFont &font)
void setItemDelegate(const QFont &font)
void setTextField(const QFont &font)
QFont itemDelegate() const
void setLabel(const QFont &font)
void setSwitchControl(const QFont &font)
void switchControlChanged()
void setComboBox(const QFont &font)
QFont radioButton() const
void setToolBar(const QFont &font)
void setRadioButton(const QFont &font)
void setTabBar(const QFont &font)
void setTextArea(const QFont &font)
void fallbackFontChanged()
void setFallbackFont(QQStyleKitFont *fallback)
void switchControlChanged()
QQuickPalette * groupBox() const
QQuickPalette * checkBox() const
QQuickPalette * toolBar() const
QQuickPalette * textField() const
QQuickPalette * spinBox() const
QQuickPalette * system() const
QQuickPalette * switchControl() const
void itemDelegateChanged()
QQuickPalette * comboBox() const
QQuickPalette * itemDelegate() const
QQuickPalette * button() const
QQuickPalette * radioButton() const
QQStyleKitPalette * fallbackPalette() const
void radioButtonChanged()
QQuickPalette * textArea() const
void fallbackPaletteChanged()
QQuickPalette * tabBar() const
void setFallbackPalette(QQStyleKitPalette *fallback)
QQuickPalette * label() const
QQStyleKitPalette * palettes()
static QQStyleKitAttached * qmlAttachedProperties(QObject *obj=nullptr)
Combined button and popup list for selecting options.
#define IMPLEMENT_ACCESSORS(NAME, TYPE)