4#ifndef QQUICKUNIVERSALSTYLE_P_H
5#define QQUICKUNIVERSALSTYLE_P_H
18#include <QtGui/qcolor.h>
19#include <QtQml/qqml.h>
20#include <QtQuickControls2/qquickattachedpropertypropagator.h>
24class QQuickUniversalStylePrivate;
193 bool m_explicitTheme =
false;
194 bool m_explicitAccent =
false;
195 bool m_explicitForeground =
false;
196 bool m_explicitBackground =
false;
201 bool m_hasForeground =
false;
202 bool m_hasBackground =
false;
The QColor class provides colors based on RGB, HSV or CMYK values.
QObject * parent() const
Returns a pointer to the parent object.
The QQuickAttachedPropertyPropagator class provides a way to propagate attached properties.
QColor chromeBlackHighColor
QColor baseMediumLowColor
QColor chromeBlackLowColor
QColor chromeBlackMediumColor
QColor chromeDisabledHighColor
QColor chromeDisabledLowColor
void inheritBackground(QRgb background, bool has)
QColor chromeBlackMediumLowColor
void propagateBackground()
void setAccent(const QVariant &accent)
void inheritForeground(QRgb foreground, bool has)
QColor chromeMediumLowColor
QColor systemColor(SystemColor role) const
void inheritTheme(Theme theme)
QColor altMediumHighColor
void inheritAccent(QRgb accent)
QColor baseMediumHighColor
static QQuickUniversalStyle * qmlAttachedProperties(QObject *object)
void propagateForeground()
void attachedParentChange(QQuickAttachedPropertyPropagator *newParent, QQuickAttachedPropertyPropagator *oldParent) override
This function is called whenever the attached parent of this QQuickAttachedPropertyPropagator changes...
static void initGlobals()
void setTheme(Theme theme)
void setBackground(const QVariant &background)
Combined button and popup list for selecting options.
#define QML_UNCREATABLE(REASON)
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
#define QML_ATTACHED(ATTACHED_TYPE)
decorationRoleName toolTipRoleName whatsThisRoleName textAlignmentRoleName setForeground
QT_BEGIN_NAMESPACE typedef unsigned int QRgb