Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQuickMaterialStyle Class Reference

#include <qquickmaterialstyle_p.h>

+ Inheritance diagram for QQuickMaterialStyle:
+ Collaboration diagram for QQuickMaterialStyle:

Public Types

enum  Theme { Light , Dark , System }
 
enum  Variant { Normal , Dense }
 
enum  Color {
  Red , Pink , Purple , DeepPurple ,
  Indigo , Blue , LightBlue , Cyan ,
  Teal , Green , LightGreen , Lime ,
  Yellow , Amber , Orange , DeepOrange ,
  Brown , Grey , BlueGrey
}
 
enum  Shade {
  Shade50 , Shade100 , Shade200 , Shade300 ,
  Shade400 , Shade500 , Shade600 , Shade700 ,
  Shade800 , Shade900 , ShadeA100 , ShadeA200 ,
  ShadeA400 , ShadeA700
}
 
enum class  RoundedScale {
  NotRounded , ExtraSmallScale = 4 , SmallScale = 8 , MediumScale = 12 ,
  LargeScale = 16 , ExtraLargeScale = 28 , FullScale = 0xFF
}
 
enum class  ContainerStyle { Filled , Outlined }
 

Signals

void themeChanged ()
 
void primaryChanged ()
 
void accentChanged ()
 
void foregroundChanged ()
 
void backgroundChanged ()
 
void elevationChanged ()
 
void themeOrAccentChanged ()
 
void primaryHighlightedTextColorChanged ()
 
void dialogColorChanged ()
 
void tooltipColorChanged ()
 
void toolBarColorChanged ()
 
void toolTextColorChanged ()
 
void roundedScaleChanged ()
 
void containerStyleChanged ()
 
- Signals inherited from QObject
void destroyed (QObject *=nullptr)
 This signal is emitted immediately before the object obj is destroyed, after any instances of QPointer have been notified, and cannot be blocked.
 
void objectNameChanged (const QString &objectName, QPrivateSignal)
 This signal is emitted after the object's name has been changed.
 

Public Member Functions

 QQuickMaterialStyle (QObject *parent=nullptr)
 
Theme theme () const
 
void setTheme (Theme theme)
 
void inheritTheme (Theme theme)
 
void propagateTheme ()
 
void resetTheme ()
 
void themeChange ()
 
QVariant primary () const
 
void setPrimary (const QVariant &accent)
 
void inheritPrimary (uint primary, bool custom)
 
void propagatePrimary ()
 
void resetPrimary ()
 
void primaryChange ()
 
QVariant accent () const
 
void setAccent (const QVariant &accent)
 
void inheritAccent (uint accent, bool custom)
 
void propagateAccent ()
 
void resetAccent ()
 
void accentChange ()
 
QVariant foreground () const
 
void setForeground (const QVariant &foreground)
 
void inheritForeground (uint foreground, bool custom, bool has)
 
void propagateForeground ()
 
void resetForeground ()
 
void foregroundChange ()
 
QVariant background () const
 
void setBackground (const QVariant &background)
 
void inheritBackground (uint background, bool custom, bool has)
 
void propagateBackground ()
 
void resetBackground ()
 
void backgroundChange ()
 
int elevation () const
 
void setElevation (int elevation)
 
void resetElevation ()
 
void elevationChange ()
 
RoundedScale roundedScale () const
 
void setRoundedScale (RoundedScale roundedScale)
 
void resetRoundedScale ()
 
ContainerStyle containerStyle () const
 
void setContainerStyle (ContainerStyle containerStyle)
 
void resetContainerStyle ()
 
QColor primaryColor () const
 
QColor accentColor () const
 
QColor backgroundColor () const
 
QColor primaryTextColor () const
 
QColor primaryHighlightedTextColor () const
 
QColor secondaryTextColor () const
 
QColor hintTextColor () const
 
QColor textSelectionColor () const
 
QColor dropShadowColor () const
 
QColor dividerColor () const
 
QColor iconColor () const
 
QColor iconDisabledColor () const
 
Q_INVOKABLE QColor buttonColor (Theme theme, const QVariant &background, const QVariant &accent, bool enabled, bool flat, bool highlighted, bool checked) const
 
QColor frameColor () const
 
QColor rippleColor () const
 
QColor highlightedRippleColor () const
 
QColor switchUncheckedTrackColor () const
 
QColor switchCheckedTrackColor () const
 
QColor switchDisabledUncheckedTrackColor () const
 
QColor switchDisabledCheckedTrackColor () const
 
QColor switchDisabledUncheckedTrackBorderColor () const
 
QColor switchUncheckedHandleColor () const
 
QColor switchUncheckedHoveredHandleColor () const
 
QColor switchCheckedHandleColor () const
 
QColor switchDisabledUncheckedHandleColor () const
 
QColor switchDisabledCheckedHandleColor () const
 
QColor switchDisabledCheckedIconColor () const
 
QColor switchDisabledUncheckedIconColor () const
 
QColor scrollBarColor () const
 
QColor scrollBarHoveredColor () const
 
QColor scrollBarPressedColor () const
 
QColor dialogColor () const
 
QColor backgroundDimColor () const
 
QColor listHighlightColor () const
 
QColor tooltipColor () const
 
QColor toolBarColor () const
 
QColor toolTextColor () const
 
QColor spinBoxDisabledIconColor () const
 
QColor sliderDisabledColor () const
 
QColor textFieldFilledContainerColor () const
 
Q_INVOKABLE QColor color (Color color, Shade shade=Shade500) const
 
Q_INVOKABLE QColor shade (const QColor &color, Shade shade) const
 
int touchTarget () const
 
int buttonHeight () const
 
int delegateHeight () const
 
int dialogButtonBoxHeight () const
 
int frameVerticalPadding () const
 
int menuItemHeight () const
 
int menuItemVerticalPadding () const
 
int switchDelegateVerticalPadding () const
 
int textFieldHeight () const
 
int textFieldHorizontalPadding () const
 
int textFieldVerticalPadding () const
 
int tooltipHeight () const
 
- Public Member Functions inherited from QQuickAttachedPropertyPropagator
 QQuickAttachedPropertyPropagator (QObject *parent=nullptr)
 Constructs a QQuickAttachedPropertyPropagator with the given parent.
 
 ~QQuickAttachedPropertyPropagator ()
 Destroys the QQuickAttachedPropertyPropagator.
 
QList< QQuickAttachedPropertyPropagator * > attachedChildren () const
 This function returns the attached children of this attached object.
 
QQuickAttachedPropertyPropagatorattachedParent () const
 This function returns the attached parent of this attached object.
 
- Public Member Functions inherited from QObject
Q_INVOKABLE QObject (QObject *parent=nullptr)
 Constructs an object with parent object parent.
 
virtual ~QObject ()
 Destroys the object, deleting all its child objects.
 
virtual bool event (QEvent *event)
 This virtual function receives events to an object and should return true if the event e was recognized and processed.
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 Filters events if this object has been installed as an event filter for the watched object.
 
QString objectName () const
 
Q_WEAK_OVERLOAD void setObjectName (const QString &name)
 Sets the object's name to name.
 
void setObjectName (QAnyStringView name)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
QBindable< QStringbindableObjectName ()
 
bool isWidgetType () const
 Returns true if the object is a widget; otherwise returns false.
 
bool isWindowType () const
 Returns true if the object is a window; otherwise returns false.
 
bool isQuickItemType () const
 Returns true if the object is a QQuickItem; otherwise returns false.
 
bool signalsBlocked () const noexcept
 Returns true if signals are blocked; otherwise returns false.
 
bool blockSignals (bool b) noexcept
 If block is true, signals emitted by this object are blocked (i.e., emitting a signal will not invoke anything connected to it).
 
QThreadthread () const
 Returns the thread in which the object lives.
 
void moveToThread (QThread *thread)
 Changes the thread affinity for this object and its children.
 
int startTimer (int interval, Qt::TimerType timerType=Qt::CoarseTimer)
 This is an overloaded function that will start a timer of type timerType and a timeout of interval milliseconds.
 
int startTimer (std::chrono::milliseconds time, Qt::TimerType timerType=Qt::CoarseTimer)
 
void killTimer (int id)
 Kills the timer with timer identifier, id.
 
template<typename T >
findChild (const QString &aName=QString(), Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 Returns the child of this object that can be cast into type T and that is called name, or \nullptr if there is no such object.
 
template<typename T >
QList< T > findChildren (const QString &aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects.
 
template<typename T >
QList< T > findChildren (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
const QObjectListchildren () const
 Returns a list of child objects.
 
void setParent (QObject *parent)
 Makes the object a child of parent.
 
void installEventFilter (QObject *filterObj)
 Installs an event filter filterObj on this object.
 
void removeEventFilter (QObject *obj)
 Removes an event filter object obj from this object.
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const
 
bool disconnect (const char *signal=nullptr, const QObject *receiver=nullptr, const char *member=nullptr) const
 
bool disconnect (const QObject *receiver, const char *member=nullptr) const
 
void dumpObjectTree () const
 Dumps a tree of children to the debug output.
 
void dumpObjectInfo () const
 Dumps information about signal connections, etc.
 
bool setProperty (const char *name, const QVariant &value)
 Sets the value of the object's name property to value.
 
bool setProperty (const char *name, QVariant &&value)
 
QVariant property (const char *name) const
 Returns the value of the object's name property.
 
QList< QByteArraydynamicPropertyNames () const
 
QBindingStoragebindingStorage ()
 
const QBindingStoragebindingStorage () const
 
QObjectparent () const
 Returns a pointer to the parent object.
 
bool inherits (const char *classname) const
 Returns true if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false.
 

Static Public Member Functions

static QQuickMaterialStyleqmlAttachedProperties (QObject *object)
 
static void initGlobals ()
 
static Variant variant ()
 
- Static Public Member Functions inherited from QObject
static QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
 \threadsafe
 
static QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::ContextTypeForFunctor< Func2 >::ContextType *context, Func2 &&slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 &&slot)
 
static bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
 \threadsafe
 
static bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member)
 
static bool disconnect (const QMetaObject::Connection &)
 Disconnect a connection.
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot)
 
template<typename Func1 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *receiver, void **zero)
 

Protected Member Functions

void attachedParentChange (QQuickAttachedPropertyPropagator *newParent, QQuickAttachedPropertyPropagator *oldParent) override
 This function is called whenever the attached parent of this QQuickAttachedPropertyPropagator changes from oldParent to newParent.
 
- Protected Member Functions inherited from QQuickAttachedPropertyPropagator
void initialize ()
 Finds and sets the attached parent for this attached object, and then does the same for its children.
 
virtual void attachedParentChange (QQuickAttachedPropertyPropagator *newParent, QQuickAttachedPropertyPropagator *oldParent)
 This function is called whenever the attached parent of this QQuickAttachedPropertyPropagator changes from oldParent to newParent.
 
- Protected Member Functions inherited from QObject
QObjectsender () const
 Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; otherwise it returns \nullptr.
 
int senderSignalIndex () const
 
int receivers (const char *signal) const
 Returns the number of receivers connected to the signal.
 
bool isSignalConnected (const QMetaMethod &signal) const
 
virtual void timerEvent (QTimerEvent *event)
 This event handler can be reimplemented in a subclass to receive timer events for the object.
 
virtual void childEvent (QChildEvent *event)
 This event handler can be reimplemented in a subclass to receive child events.
 
virtual void customEvent (QEvent *event)
 This event handler can be reimplemented in a subclass to receive custom events.
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
 QObject (QObjectPrivate &dd, QObject *parent=nullptr)
 

Properties

Theme theme
 
QVariant primary
 
QVariant accent
 
QVariant foreground
 
QVariant background
 
int elevation
 
RoundedScale roundedScale
 
ContainerStyle containerStyle
 
QColor primaryColor
 
QColor accentColor
 
QColor backgroundColor
 
QColor primaryTextColor
 
QColor primaryHighlightedTextColor
 
QColor secondaryTextColor
 
QColor hintTextColor
 
QColor textSelectionColor
 
QColor dropShadowColor
 
QColor dividerColor
 
QColor iconColor
 
QColor iconDisabledColor
 
QColor frameColor
 
QColor rippleColor
 
QColor highlightedRippleColor
 
QColor switchUncheckedTrackColor
 
QColor switchCheckedTrackColor
 
QColor switchUncheckedHandleColor
 
QColor switchUncheckedHoveredHandleColor
 
QColor switchDisabledUncheckedTrackColor
 
QColor switchDisabledCheckedTrackColor
 
QColor switchDisabledUncheckedTrackBorderColor
 
QColor switchCheckedHandleColor
 
QColor switchDisabledUncheckedHandleColor
 
QColor switchDisabledCheckedHandleColor
 
QColor switchDisabledCheckedIconColor
 
QColor switchDisabledUncheckedIconColor
 
QColor scrollBarColor
 
QColor scrollBarHoveredColor
 
QColor scrollBarPressedColor
 
QColor dialogColor
 
QColor backgroundDimColor
 
QColor listHighlightColor
 
QColor tooltipColor
 
QColor toolBarColor
 
QColor toolTextColor
 
QColor spinBoxDisabledIconColor
 
QColor sliderDisabledColor
 
QColor textFieldFilledContainerColor
 
int touchTarget
 
int buttonHeight
 
int delegateHeight
 
int dialogButtonBoxHeight
 
int frameVerticalPadding
 
int menuItemHeight
 
int menuItemVerticalPadding
 
int switchDelegateVerticalPadding
 
int textFieldHeight
 
int textFieldHorizontalPadding
 
int textFieldVerticalPadding
 
int tooltipHeight
 
- Properties inherited from QObject
QString objectName
 the name of this object
 

Additional Inherited Members

- Public Slots inherited from QObject
void deleteLater ()
 \threadsafe
 
- Protected Attributes inherited from QObject
QScopedPointer< QObjectDatad_ptr
 

Detailed Description

Definition at line 24 of file qquickmaterialstyle_p.h.

Member Enumeration Documentation

◆ Color

Enumerator
Red 
Pink 
Purple 
DeepPurple 
Indigo 
Blue 
LightBlue 
Cyan 
Teal 
Green 
LightGreen 
Lime 
Yellow 
Amber 
Orange 
DeepOrange 
Brown 
Grey 
BlueGrey 

Definition at line 108 of file qquickmaterialstyle_p.h.

◆ ContainerStyle

Enumerator
Filled 
Outlined 

Definition at line 157 of file qquickmaterialstyle_p.h.

◆ RoundedScale

Enumerator
NotRounded 
ExtraSmallScale 
SmallScale 
MediumScale 
LargeScale 
ExtraLargeScale 
FullScale 

Definition at line 147 of file qquickmaterialstyle_p.h.

◆ Shade

Enumerator
Shade50 
Shade100 
Shade200 
Shade300 
Shade400 
Shade500 
Shade600 
Shade700 
Shade800 
Shade900 
ShadeA100 
ShadeA200 
ShadeA400 
ShadeA700 

Definition at line 130 of file qquickmaterialstyle_p.h.

◆ Theme

Enumerator
Light 
Dark 
System 

Definition at line 97 of file qquickmaterialstyle_p.h.

◆ Variant

Enumerator
Normal 
Dense 

Definition at line 103 of file qquickmaterialstyle_p.h.

Constructor & Destructor Documentation

◆ QQuickMaterialStyle()

QQuickMaterialStyle::QQuickMaterialStyle ( QObject parent = nullptr)
explicit

Definition at line 437 of file qquickmaterialstyle.cpp.

References QQuickAttachedPropertyPropagator::initialize().

+ Here is the call graph for this function:

Member Function Documentation

◆ accent()

QVariant QQuickMaterialStyle::accent ( ) const

Definition at line 594 of file qquickmaterialstyle.cpp.

References accentColor.

◆ accentChange()

void QQuickMaterialStyle::accentChange ( )

Definition at line 651 of file qquickmaterialstyle.cpp.

References accentChanged(), emit, and themeOrAccentChanged().

Referenced by inheritAccent(), inheritTheme(), setAccent(), and setTheme().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ accentChanged

void QQuickMaterialStyle::accentChanged ( )
signal

Referenced by accentChange().

+ Here is the caller graph for this function:

◆ accentColor()

QColor QQuickMaterialStyle::accentColor ( ) const

Definition at line 874 of file qquickmaterialstyle.cpp.

References accentColor.

◆ attachedParentChange()

void QQuickMaterialStyle::attachedParentChange ( QQuickAttachedPropertyPropagator newParent,
QQuickAttachedPropertyPropagator oldParent 
)
overrideprotectedvirtual

This function is called whenever the attached parent of this QQuickAttachedPropertyPropagator changes from oldParent to newParent.

Subclasses should reimplement this function to inherit attached properties from newParent.

\quotefromfile ../../examples/quickcontrols/attachedstyleproperties/MyStyle/mystyle.cpp \skipto attachedParentChange \printuntil } \printuntil }

Reimplemented from QQuickAttachedPropertyPropagator.

Definition at line 1439 of file qquickmaterialstyle.cpp.

References inheritAccent(), inheritBackground(), inheritForeground(), inheritPrimary(), inheritTheme(), Q_UNUSED, and theme.

+ Here is the call graph for this function:

◆ background()

QVariant QQuickMaterialStyle::background ( ) const

Definition at line 728 of file qquickmaterialstyle.cpp.

References backgroundColor.

◆ backgroundChange()

void QQuickMaterialStyle::backgroundChange ( )

Definition at line 785 of file qquickmaterialstyle.cpp.

References backgroundChanged(), dialogColorChanged(), emit, toolBarColorChanged(), and tooltipColorChanged().

Referenced by inheritBackground(), inheritTheme(), setBackground(), and setTheme().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ backgroundChanged

void QQuickMaterialStyle::backgroundChanged ( )
signal

Referenced by backgroundChange().

+ Here is the caller graph for this function:

◆ backgroundColor()

QColor QQuickMaterialStyle::backgroundColor ( ) const

Definition at line 891 of file qquickmaterialstyle.cpp.

References backgroundColor.

◆ backgroundDimColor()

QColor QQuickMaterialStyle::backgroundDimColor ( ) const

Definition at line 1096 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), and Light.

+ Here is the call graph for this function:

◆ buttonColor()

QColor QQuickMaterialStyle::buttonColor ( Theme  theme,
const QVariant background,
const QVariant accent,
bool  enabled,
bool  flat,
bool  highlighted,
bool  checked 
) const

Definition at line 945 of file qquickmaterialstyle.cpp.

References accent, accentColor, background, backgroundColor, QColor::fromRgba(), Light, Q_UNUSED, raisedButtonColorDark, raisedButtonColorLight, raisedButtonDisabledColorDark, raisedButtonDisabledColorLight, shade(), Shade100, theme, and Qt::transparent.

+ Here is the call graph for this function:

◆ buttonHeight()

int QQuickMaterialStyle::buttonHeight ( ) const

Definition at line 1272 of file qquickmaterialstyle.cpp.

References Dense, and globalVariant.

◆ color()

QColor QQuickMaterialStyle::color ( QQuickMaterialStyle::Color  color,
QQuickMaterialStyle::Shade  shade = Shade500 
) const

Definition at line 1171 of file qquickmaterialstyle.cpp.

References colors, and shade().

+ Here is the call graph for this function:

◆ containerStyle()

QQuickMaterialStyle::ContainerStyle QQuickMaterialStyle::containerStyle ( ) const

Definition at line 836 of file qquickmaterialstyle.cpp.

◆ containerStyleChanged

void QQuickMaterialStyle::containerStyleChanged ( )
signal

Referenced by setContainerStyle().

+ Here is the caller graph for this function:

◆ delegateHeight()

int QQuickMaterialStyle::delegateHeight ( ) const

Definition at line 1278 of file qquickmaterialstyle.cpp.

References Dense, and globalVariant.

◆ dialogButtonBoxHeight()

int QQuickMaterialStyle::dialogButtonBoxHeight ( ) const

Definition at line 1284 of file qquickmaterialstyle.cpp.

References Dense, and globalVariant.

◆ dialogColor()

QColor QQuickMaterialStyle::dialogColor ( ) const

Definition at line 1089 of file qquickmaterialstyle.cpp.

References backgroundColor, dialogColorDark, dialogColorLight, QColor::fromRgba(), and Light.

+ Here is the call graph for this function:

◆ dialogColorChanged

void QQuickMaterialStyle::dialogColorChanged ( )
signal

Referenced by backgroundChange(), and themeChange().

+ Here is the caller graph for this function:

◆ dividerColor()

QColor QQuickMaterialStyle::dividerColor ( ) const

Definition at line 930 of file qquickmaterialstyle.cpp.

References dividerColorDark, dividerColorLight, QColor::fromRgba(), and Light.

+ Here is the call graph for this function:

◆ dropShadowColor()

QColor QQuickMaterialStyle::dropShadowColor ( ) const

Definition at line 925 of file qquickmaterialstyle.cpp.

References QColor::fromRgba().

+ Here is the call graph for this function:

◆ elevation()

int QQuickMaterialStyle::elevation ( ) const

Definition at line 793 of file qquickmaterialstyle.cpp.

◆ elevationChange()

void QQuickMaterialStyle::elevationChange ( )

Definition at line 812 of file qquickmaterialstyle.cpp.

References elevationChanged(), and emit.

Referenced by setElevation().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ elevationChanged

void QQuickMaterialStyle::elevationChanged ( )
signal

Referenced by elevationChange().

+ Here is the caller graph for this function:

◆ foreground()

QVariant QQuickMaterialStyle::foreground ( ) const

Definition at line 657 of file qquickmaterialstyle.cpp.

References BlueGrey, colors, QColor::fromRgba(), Light, primaryTextColorDark, primaryTextColorLight, and Shade500.

+ Here is the call graph for this function:

◆ foregroundChange()

void QQuickMaterialStyle::foregroundChange ( )

Definition at line 720 of file qquickmaterialstyle.cpp.

References emit, foregroundChanged(), and primaryHighlightedTextColorChanged().

Referenced by inheritForeground(), inheritTheme(), setForeground(), and setTheme().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ foregroundChanged

void QQuickMaterialStyle::foregroundChanged ( )
signal

Referenced by foregroundChange().

+ Here is the caller graph for this function:

◆ frameColor()

QColor QQuickMaterialStyle::frameColor ( ) const

Definition at line 987 of file qquickmaterialstyle.cpp.

References frameColorDark, frameColorLight, QColor::fromRgba(), and Light.

+ Here is the call graph for this function:

◆ frameVerticalPadding()

int QQuickMaterialStyle::frameVerticalPadding ( ) const

Definition at line 1289 of file qquickmaterialstyle.cpp.

References Dense, and globalVariant.

◆ highlightedRippleColor()

QColor QQuickMaterialStyle::highlightedRippleColor ( ) const

Definition at line 997 of file qquickmaterialstyle.cpp.

References accentColor, Light, and QColor::setAlpha().

+ Here is the call graph for this function:

◆ hintTextColor()

QColor QQuickMaterialStyle::hintTextColor ( ) const

Definition at line 913 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), hintTextColorDark, hintTextColorLight, and Light.

+ Here is the call graph for this function:

◆ iconColor()

QColor QQuickMaterialStyle::iconColor ( ) const

Definition at line 935 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), iconColorDark, iconColorLight, and Light.

+ Here is the call graph for this function:

◆ iconDisabledColor()

QColor QQuickMaterialStyle::iconDisabledColor ( ) const

Definition at line 940 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), iconDisabledColorDark, iconDisabledColorLight, and Light.

+ Here is the call graph for this function:

◆ inheritAccent()

void QQuickMaterialStyle::inheritAccent ( uint  accent,
bool  custom 
)

Definition at line 616 of file qquickmaterialstyle.cpp.

References accent, accentChange(), and propagateAccent().

Referenced by attachedParentChange(), propagateAccent(), and resetAccent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inheritBackground()

void QQuickMaterialStyle::inheritBackground ( uint  background,
bool  custom,
bool  has 
)

Definition at line 751 of file qquickmaterialstyle.cpp.

References background, backgroundChange(), and propagateBackground().

Referenced by attachedParentChange(), propagateBackground(), and resetBackground().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inheritForeground()

void QQuickMaterialStyle::inheritForeground ( uint  foreground,
bool  custom,
bool  has 
)

Definition at line 686 of file qquickmaterialstyle.cpp.

References foreground, foregroundChange(), and propagateForeground().

Referenced by attachedParentChange(), propagateForeground(), and resetForeground().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inheritPrimary()

void QQuickMaterialStyle::inheritPrimary ( uint  primary,
bool  custom 
)

Definition at line 552 of file qquickmaterialstyle.cpp.

References primary, primaryChange(), and propagatePrimary().

Referenced by attachedParentChange(), propagatePrimary(), and resetPrimary().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inheritTheme()

void QQuickMaterialStyle::inheritTheme ( Theme  theme)

Definition at line 483 of file qquickmaterialstyle.cpp.

References accentChange(), backgroundChange(), foregroundChange(), propagateTheme(), theme, and themeChange().

Referenced by attachedParentChange(), propagateTheme(), and resetTheme().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initGlobals()

void QQuickMaterialStyle::initGlobals ( )
static

Definition at line 1355 of file qquickmaterialstyle.cpp.

References effectiveTheme(), QColor::fromString(), globalAccent, globalAccentCustom, globalBackground, globalBackgroundCustom, globalForeground, globalForegroundCustom, globalPrimary, globalPrimaryCustom, globalTheme, globalVariant, hasGlobalBackground, hasGlobalForeground, QByteArray::isEmpty(), ok, QStringLiteral, qWarning, resolveSetting(), settings, and QQuickStylePrivate::settings().

Referenced by QtQuickControls2MaterialStylePlugin::initializeTheme().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ listHighlightColor()

QColor QQuickMaterialStyle::listHighlightColor ( ) const

Definition at line 1101 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), and Light.

+ Here is the call graph for this function:

◆ menuItemHeight()

int QQuickMaterialStyle::menuItemHeight ( ) const

Definition at line 1294 of file qquickmaterialstyle.cpp.

References Dense, and globalVariant.

◆ menuItemVerticalPadding()

int QQuickMaterialStyle::menuItemVerticalPadding ( ) const

Definition at line 1300 of file qquickmaterialstyle.cpp.

References Dense, and globalVariant.

◆ primary()

QVariant QQuickMaterialStyle::primary ( ) const

Definition at line 530 of file qquickmaterialstyle.cpp.

References primaryColor.

◆ primaryChange()

void QQuickMaterialStyle::primaryChange ( )

Definition at line 587 of file qquickmaterialstyle.cpp.

References emit, primaryChanged(), toolBarColorChanged(), and toolTextColorChanged().

Referenced by inheritPrimary(), and setPrimary().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ primaryChanged

void QQuickMaterialStyle::primaryChanged ( )
signal

Referenced by primaryChange().

+ Here is the caller graph for this function:

◆ primaryColor()

QColor QQuickMaterialStyle::primaryColor ( ) const

Definition at line 855 of file qquickmaterialstyle.cpp.

References BlueGrey, colors, QColor::fromRgba(), and Shade500.

+ Here is the call graph for this function:

◆ primaryHighlightedTextColor()

QColor QQuickMaterialStyle::primaryHighlightedTextColor ( ) const

Definition at line 901 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), primaryTextColor, and primaryTextColorDark.

+ Here is the call graph for this function:

◆ primaryHighlightedTextColorChanged

void QQuickMaterialStyle::primaryHighlightedTextColorChanged ( )
signal

Referenced by foregroundChange().

+ Here is the caller graph for this function:

◆ primaryTextColor()

QColor QQuickMaterialStyle::primaryTextColor ( ) const

Definition at line 896 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), Light, primaryTextColorDark, and primaryTextColorLight.

+ Here is the call graph for this function:

◆ propagateAccent()

void QQuickMaterialStyle::propagateAccent ( )

Definition at line 627 of file qquickmaterialstyle.cpp.

References QQuickAttachedPropertyPropagator::attachedChildren(), child, and inheritAccent().

Referenced by inheritAccent(), and setAccent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ propagateBackground()

void QQuickMaterialStyle::propagateBackground ( )

Definition at line 763 of file qquickmaterialstyle.cpp.

References QQuickAttachedPropertyPropagator::attachedChildren(), child, and inheritBackground().

Referenced by inheritBackground(), and setBackground().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ propagateForeground()

void QQuickMaterialStyle::propagateForeground ( )

Definition at line 698 of file qquickmaterialstyle.cpp.

References QQuickAttachedPropertyPropagator::attachedChildren(), child, and inheritForeground().

Referenced by inheritForeground(), and setForeground().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ propagatePrimary()

void QQuickMaterialStyle::propagatePrimary ( )

Definition at line 563 of file qquickmaterialstyle.cpp.

References QQuickAttachedPropertyPropagator::attachedChildren(), child, and inheritPrimary().

Referenced by inheritPrimary(), and setPrimary().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ propagateTheme()

void QQuickMaterialStyle::propagateTheme ( )

Definition at line 499 of file qquickmaterialstyle.cpp.

References QQuickAttachedPropertyPropagator::attachedChildren(), child, and inheritTheme().

Referenced by inheritTheme(), and setTheme().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qmlAttachedProperties()

QQuickMaterialStyle * QQuickMaterialStyle::qmlAttachedProperties ( QObject object)
static

Definition at line 453 of file qquickmaterialstyle.cpp.

◆ resetAccent()

void QQuickMaterialStyle::resetAccent ( )

Definition at line 637 of file qquickmaterialstyle.cpp.

References QQuickAttachedPropertyPropagator::attachedParent(), globalAccent, and inheritAccent().

+ Here is the call graph for this function:

◆ resetBackground()

void QQuickMaterialStyle::resetBackground ( )

Definition at line 773 of file qquickmaterialstyle.cpp.

References QQuickAttachedPropertyPropagator::attachedParent(), globalBackground, and inheritBackground().

+ Here is the call graph for this function:

◆ resetContainerStyle()

void QQuickMaterialStyle::resetContainerStyle ( )

Definition at line 850 of file qquickmaterialstyle.cpp.

References Filled, and setContainerStyle().

+ Here is the call graph for this function:

◆ resetElevation()

void QQuickMaterialStyle::resetElevation ( )

Definition at line 807 of file qquickmaterialstyle.cpp.

References setElevation().

+ Here is the call graph for this function:

◆ resetForeground()

void QQuickMaterialStyle::resetForeground ( )

Definition at line 708 of file qquickmaterialstyle.cpp.

References QQuickAttachedPropertyPropagator::attachedParent(), globalForeground, and inheritForeground().

+ Here is the call graph for this function:

◆ resetPrimary()

void QQuickMaterialStyle::resetPrimary ( )

Definition at line 573 of file qquickmaterialstyle.cpp.

References QQuickAttachedPropertyPropagator::attachedParent(), globalPrimary, and inheritPrimary().

+ Here is the call graph for this function:

◆ resetRoundedScale()

void QQuickMaterialStyle::resetRoundedScale ( )

Definition at line 831 of file qquickmaterialstyle.cpp.

References NotRounded, and setRoundedScale().

+ Here is the call graph for this function:

◆ resetTheme()

void QQuickMaterialStyle::resetTheme ( )

Definition at line 509 of file qquickmaterialstyle.cpp.

References QQuickAttachedPropertyPropagator::attachedParent(), globalTheme, inheritTheme(), and theme.

+ Here is the call graph for this function:

◆ rippleColor()

QColor QQuickMaterialStyle::rippleColor ( ) const

Definition at line 992 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), Light, rippleColorDark, and rippleColorLight.

+ Here is the call graph for this function:

◆ roundedScale()

QQuickMaterialStyle::RoundedScale QQuickMaterialStyle::roundedScale ( ) const

Definition at line 817 of file qquickmaterialstyle.cpp.

◆ roundedScaleChanged

void QQuickMaterialStyle::roundedScaleChanged ( )
signal

Referenced by setRoundedScale().

+ Here is the caller graph for this function:

◆ scrollBarColor()

QColor QQuickMaterialStyle::scrollBarColor ( ) const

Definition at line 1074 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), and Light.

+ Here is the call graph for this function:

◆ scrollBarHoveredColor()

QColor QQuickMaterialStyle::scrollBarHoveredColor ( ) const

Definition at line 1079 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), and Light.

+ Here is the call graph for this function:

◆ scrollBarPressedColor()

QColor QQuickMaterialStyle::scrollBarPressedColor ( ) const

Definition at line 1084 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), and Light.

+ Here is the call graph for this function:

◆ secondaryTextColor()

QColor QQuickMaterialStyle::secondaryTextColor ( ) const

Definition at line 908 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), Light, secondaryTextColorDark, and secondaryTextColorLight.

+ Here is the call graph for this function:

◆ setAccent()

void QQuickMaterialStyle::setAccent ( const QVariant accent)

Definition at line 599 of file qquickmaterialstyle.cpp.

References accent, accentChange(), propagateAccent(), QRgb, and var.

+ Here is the call graph for this function:

◆ setBackground()

void QQuickMaterialStyle::setBackground ( const QVariant background)

Definition at line 733 of file qquickmaterialstyle.cpp.

References background, backgroundChange(), propagateBackground(), QRgb, and var.

+ Here is the call graph for this function:

◆ setContainerStyle()

void QQuickMaterialStyle::setContainerStyle ( ContainerStyle  containerStyle)

Definition at line 841 of file qquickmaterialstyle.cpp.

References containerStyle, containerStyleChanged(), and emit.

Referenced by resetContainerStyle().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setElevation()

void QQuickMaterialStyle::setElevation ( int  elevation)

Definition at line 798 of file qquickmaterialstyle.cpp.

References elevation, and elevationChange().

Referenced by resetElevation().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setForeground()

void QQuickMaterialStyle::setForeground ( const QVariant foreground)

Definition at line 668 of file qquickmaterialstyle.cpp.

References foreground, foregroundChange(), propagateForeground(), QRgb, and var.

+ Here is the call graph for this function:

◆ setPrimary()

void QQuickMaterialStyle::setPrimary ( const QVariant accent)

Definition at line 535 of file qquickmaterialstyle.cpp.

References primary, primaryChange(), propagatePrimary(), QRgb, and var.

+ Here is the call graph for this function:

◆ setRoundedScale()

void QQuickMaterialStyle::setRoundedScale ( RoundedScale  roundedScale)

Definition at line 822 of file qquickmaterialstyle.cpp.

References emit, roundedScale, and roundedScaleChanged().

Referenced by resetRoundedScale().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setTheme()

void QQuickMaterialStyle::setTheme ( Theme  theme)

Definition at line 463 of file qquickmaterialstyle.cpp.

References accentChange(), backgroundChange(), Dark, foregroundChange(), QQuickStylePrivate::isDarkSystemTheme(), Light, propagateTheme(), System, theme, and themeChange().

+ Here is the call graph for this function:

◆ shade()

QColor QQuickMaterialStyle::shade ( const QColor color,
Shade  shade 
) const

Definition at line 1230 of file qquickmaterialstyle.cpp.

References darkerShade(), Light, lighterShade(), shade(), Shade100, Shade200, Shade300, Shade400, Shade50, Shade500, Shade600, Shade700, Shade800, Shade900, ShadeA100, ShadeA200, ShadeA400, and ShadeA700.

Referenced by buttonColor(), color(), and shade().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sliderDisabledColor()

QColor QQuickMaterialStyle::sliderDisabledColor ( ) const

Definition at line 1161 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), Light, sliderDisabledColorDark, and sliderDisabledColorLight.

+ Here is the call graph for this function:

◆ spinBoxDisabledIconColor()

QColor QQuickMaterialStyle::spinBoxDisabledIconColor ( ) const

Definition at line 1156 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), Light, spinBoxDisabledIconColorDark, and spinBoxDisabledIconColorLight.

+ Here is the call graph for this function:

◆ switchCheckedHandleColor()

QColor QQuickMaterialStyle::switchCheckedHandleColor ( ) const

Definition at line 1043 of file qquickmaterialstyle.cpp.

References accentColor, QColor::fromRgb(), Light, and Shade800.

+ Here is the call graph for this function:

◆ switchCheckedTrackColor()

QColor QQuickMaterialStyle::switchCheckedTrackColor ( ) const

Definition at line 1009 of file qquickmaterialstyle.cpp.

References accentColor, Light, and Shade100.

◆ switchDelegateVerticalPadding()

int QQuickMaterialStyle::switchDelegateVerticalPadding ( ) const

Definition at line 1305 of file qquickmaterialstyle.cpp.

References Dense, and globalVariant.

◆ switchDisabledCheckedHandleColor()

QColor QQuickMaterialStyle::switchDisabledCheckedHandleColor ( ) const

Definition at line 1058 of file qquickmaterialstyle.cpp.

References QColor::fromRgb(), and Light.

+ Here is the call graph for this function:

◆ switchDisabledCheckedIconColor()

QColor QQuickMaterialStyle::switchDisabledCheckedIconColor ( ) const

Definition at line 1063 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), and Light.

+ Here is the call graph for this function:

◆ switchDisabledCheckedTrackColor()

QColor QQuickMaterialStyle::switchDisabledCheckedTrackColor ( ) const

Definition at line 1020 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), Light, switchDisabledCheckedTrackColorDark, and switchDisabledCheckedTrackColorLight.

+ Here is the call graph for this function:

◆ switchDisabledUncheckedHandleColor()

QColor QQuickMaterialStyle::switchDisabledUncheckedHandleColor ( ) const

Definition at line 1048 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), Grey, Light, QColor::setAlphaF(), and Shade800.

+ Here is the call graph for this function:

◆ switchDisabledUncheckedIconColor()

QColor QQuickMaterialStyle::switchDisabledUncheckedIconColor ( ) const

Definition at line 1068 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), Light, switchDisabledUncheckedIconColorDark, and switchDisabledUncheckedIconColorLight.

+ Here is the call graph for this function:

◆ switchDisabledUncheckedTrackBorderColor()

QColor QQuickMaterialStyle::switchDisabledUncheckedTrackBorderColor ( ) const

Definition at line 1026 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), Light, switchDisabledUncheckedTrackBorderColorDark, and switchDisabledUncheckedTrackBorderColorLight.

+ Here is the call graph for this function:

◆ switchDisabledUncheckedTrackColor()

QColor QQuickMaterialStyle::switchDisabledUncheckedTrackColor ( ) const

Definition at line 1014 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), Light, switchDisabledUncheckedTrackColorDark, and switchDisabledUncheckedTrackColorLight.

+ Here is the call graph for this function:

◆ switchUncheckedHandleColor()

QColor QQuickMaterialStyle::switchUncheckedHandleColor ( ) const

Definition at line 1032 of file qquickmaterialstyle.cpp.

References Grey, Light, Shade400, and Shade600.

◆ switchUncheckedHoveredHandleColor()

QColor QQuickMaterialStyle::switchUncheckedHoveredHandleColor ( ) const

Definition at line 1037 of file qquickmaterialstyle.cpp.

References Light, and switchUncheckedHandleColor.

◆ switchUncheckedTrackColor()

QColor QQuickMaterialStyle::switchUncheckedTrackColor ( ) const

Definition at line 1004 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), Light, switchUncheckedTrackColorDark, and switchUncheckedTrackColorLight.

+ Here is the call graph for this function:

◆ textFieldFilledContainerColor()

QColor QQuickMaterialStyle::textFieldFilledContainerColor ( ) const

Definition at line 1166 of file qquickmaterialstyle.cpp.

References QColor::fromRgba(), Light, textFieldFilledContainerColorDark, and textFieldFilledContainerColorLight.

+ Here is the call graph for this function:

◆ textFieldHeight()

int QQuickMaterialStyle::textFieldHeight ( ) const

Definition at line 1312 of file qquickmaterialstyle.cpp.

References Dense, and globalVariant.

◆ textFieldHorizontalPadding()

int QQuickMaterialStyle::textFieldHorizontalPadding ( ) const

Definition at line 1318 of file qquickmaterialstyle.cpp.

References Dense, and globalVariant.

◆ textFieldVerticalPadding()

int QQuickMaterialStyle::textFieldVerticalPadding ( ) const

Definition at line 1322 of file qquickmaterialstyle.cpp.

References Dense, and globalVariant.

◆ textSelectionColor()

QColor QQuickMaterialStyle::textSelectionColor ( ) const

Definition at line 918 of file qquickmaterialstyle.cpp.

References accentColor.

◆ theme()

QQuickMaterialStyle::Theme QQuickMaterialStyle::theme ( ) const

Definition at line 458 of file qquickmaterialstyle.cpp.

◆ themeChange()

void QQuickMaterialStyle::themeChange ( )

Definition at line 519 of file qquickmaterialstyle.cpp.

References dialogColorChanged(), emit, primaryHighlightedTextColor, themeChanged(), themeOrAccentChanged(), toolBarColorChanged(), toolTextColorChanged(), and tooltipColorChanged().

Referenced by inheritTheme(), and setTheme().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ themeChanged

void QQuickMaterialStyle::themeChanged ( )
signal

Referenced by themeChange().

+ Here is the caller graph for this function:

◆ themeOrAccentChanged

void QQuickMaterialStyle::themeOrAccentChanged ( )
signal

Referenced by accentChange(), and themeChange().

+ Here is the caller graph for this function:

◆ toolBarColor()

QColor QQuickMaterialStyle::toolBarColor ( ) const

Definition at line 1113 of file qquickmaterialstyle.cpp.

References backgroundColor, and primaryColor.

◆ toolBarColorChanged

void QQuickMaterialStyle::toolBarColorChanged ( )
signal

Referenced by backgroundChange(), primaryChange(), and themeChange().

+ Here is the caller graph for this function:

◆ toolTextColor()

QColor QQuickMaterialStyle::toolTextColor ( ) const

Definition at line 1120 of file qquickmaterialstyle.cpp.

References Amber, Blue, BlueGrey, Brown, Cyan, DeepOrange, DeepPurple, QColor::fromRgba(), Green, Grey, Indigo, LightBlue, LightGreen, Lime, Orange, Pink, primaryTextColor, primaryTextColorDark, primaryTextColorLight, Purple, Red, Teal, and Yellow.

+ Here is the call graph for this function:

◆ toolTextColorChanged

void QQuickMaterialStyle::toolTextColorChanged ( )
signal

Referenced by primaryChange(), and themeChange().

+ Here is the caller graph for this function:

◆ tooltipColor()

QColor QQuickMaterialStyle::tooltipColor ( ) const

Definition at line 1106 of file qquickmaterialstyle.cpp.

References backgroundColor, Grey, and Shade700.

◆ tooltipColorChanged

void QQuickMaterialStyle::tooltipColorChanged ( )
signal

Referenced by backgroundChange(), and themeChange().

+ Here is the caller graph for this function:

◆ tooltipHeight()

int QQuickMaterialStyle::tooltipHeight ( ) const

Definition at line 1327 of file qquickmaterialstyle.cpp.

References Dense, and globalVariant.

◆ touchTarget()

int QQuickMaterialStyle::touchTarget ( ) const

Definition at line 1266 of file qquickmaterialstyle.cpp.

References Dense, and globalVariant.

◆ variant()

QQuickMaterialStyle::Variant QQuickMaterialStyle::variant ( )
static

Definition at line 1333 of file qquickmaterialstyle.cpp.

References globalVariant.

Referenced by QQuickMaterialTheme::initialize().

+ Here is the caller graph for this function:

Property Documentation

◆ accent

QVariant QQuickMaterialStyle::accent
readwrite

Definition at line 344 of file qquickmaterialstyle_p.h.

Referenced by buttonColor(), inheritAccent(), and setAccent().

◆ accentColor

◆ background

QVariant QQuickMaterialStyle::background
readwrite

Definition at line 344 of file qquickmaterialstyle_p.h.

Referenced by buttonColor(), inheritBackground(), and setBackground().

◆ backgroundColor

QColor QQuickMaterialStyle::backgroundColor
read

◆ backgroundDimColor

QColor QQuickMaterialStyle::backgroundDimColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ buttonHeight

int QQuickMaterialStyle::buttonHeight
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ containerStyle

ContainerStyle QQuickMaterialStyle::containerStyle
readwrite

Definition at line 344 of file qquickmaterialstyle_p.h.

Referenced by setContainerStyle().

◆ delegateHeight

int QQuickMaterialStyle::delegateHeight
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ dialogButtonBoxHeight

int QQuickMaterialStyle::dialogButtonBoxHeight
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ dialogColor

QColor QQuickMaterialStyle::dialogColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ dividerColor

QColor QQuickMaterialStyle::dividerColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ dropShadowColor

QColor QQuickMaterialStyle::dropShadowColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ elevation

int QQuickMaterialStyle::elevation
readwrite

Definition at line 344 of file qquickmaterialstyle_p.h.

Referenced by setElevation().

◆ foreground

QVariant QQuickMaterialStyle::foreground
readwrite

Definition at line 344 of file qquickmaterialstyle_p.h.

Referenced by inheritForeground(), and setForeground().

◆ frameColor

QColor QQuickMaterialStyle::frameColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ frameVerticalPadding

int QQuickMaterialStyle::frameVerticalPadding
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ highlightedRippleColor

QColor QQuickMaterialStyle::highlightedRippleColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ hintTextColor

QColor QQuickMaterialStyle::hintTextColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ iconColor

QColor QQuickMaterialStyle::iconColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ iconDisabledColor

QColor QQuickMaterialStyle::iconDisabledColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ listHighlightColor

QColor QQuickMaterialStyle::listHighlightColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ menuItemHeight

int QQuickMaterialStyle::menuItemHeight
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ menuItemVerticalPadding

int QQuickMaterialStyle::menuItemVerticalPadding
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ primary

QVariant QQuickMaterialStyle::primary
readwrite

Definition at line 344 of file qquickmaterialstyle_p.h.

Referenced by inheritPrimary(), and setPrimary().

◆ primaryColor

QColor QQuickMaterialStyle::primaryColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

Referenced by primary(), and toolBarColor().

◆ primaryHighlightedTextColor

QColor QQuickMaterialStyle::primaryHighlightedTextColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

Referenced by themeChange().

◆ primaryTextColor

QColor QQuickMaterialStyle::primaryTextColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

Referenced by primaryHighlightedTextColor(), and toolTextColor().

◆ rippleColor

QColor QQuickMaterialStyle::rippleColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ roundedScale

RoundedScale QQuickMaterialStyle::roundedScale
readwrite

Definition at line 344 of file qquickmaterialstyle_p.h.

Referenced by setRoundedScale().

◆ scrollBarColor

QColor QQuickMaterialStyle::scrollBarColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ scrollBarHoveredColor

QColor QQuickMaterialStyle::scrollBarHoveredColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ scrollBarPressedColor

QColor QQuickMaterialStyle::scrollBarPressedColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ secondaryTextColor

QColor QQuickMaterialStyle::secondaryTextColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ sliderDisabledColor

QColor QQuickMaterialStyle::sliderDisabledColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ spinBoxDisabledIconColor

QColor QQuickMaterialStyle::spinBoxDisabledIconColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ switchCheckedHandleColor

QColor QQuickMaterialStyle::switchCheckedHandleColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ switchCheckedTrackColor

QColor QQuickMaterialStyle::switchCheckedTrackColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ switchDelegateVerticalPadding

int QQuickMaterialStyle::switchDelegateVerticalPadding
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ switchDisabledCheckedHandleColor

QColor QQuickMaterialStyle::switchDisabledCheckedHandleColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ switchDisabledCheckedIconColor

QColor QQuickMaterialStyle::switchDisabledCheckedIconColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ switchDisabledCheckedTrackColor

QColor QQuickMaterialStyle::switchDisabledCheckedTrackColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ switchDisabledUncheckedHandleColor

QColor QQuickMaterialStyle::switchDisabledUncheckedHandleColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ switchDisabledUncheckedIconColor

QColor QQuickMaterialStyle::switchDisabledUncheckedIconColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ switchDisabledUncheckedTrackBorderColor

QColor QQuickMaterialStyle::switchDisabledUncheckedTrackBorderColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ switchDisabledUncheckedTrackColor

QColor QQuickMaterialStyle::switchDisabledUncheckedTrackColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ switchUncheckedHandleColor

QColor QQuickMaterialStyle::switchUncheckedHandleColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

Referenced by switchUncheckedHoveredHandleColor().

◆ switchUncheckedHoveredHandleColor

QColor QQuickMaterialStyle::switchUncheckedHoveredHandleColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ switchUncheckedTrackColor

QColor QQuickMaterialStyle::switchUncheckedTrackColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ textFieldFilledContainerColor

QColor QQuickMaterialStyle::textFieldFilledContainerColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ textFieldHeight

int QQuickMaterialStyle::textFieldHeight
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ textFieldHorizontalPadding

int QQuickMaterialStyle::textFieldHorizontalPadding
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ textFieldVerticalPadding

int QQuickMaterialStyle::textFieldVerticalPadding
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ textSelectionColor

QColor QQuickMaterialStyle::textSelectionColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ theme

Theme QQuickMaterialStyle::theme
readwrite

◆ toolBarColor

QColor QQuickMaterialStyle::toolBarColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ toolTextColor

QColor QQuickMaterialStyle::toolTextColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ tooltipColor

QColor QQuickMaterialStyle::tooltipColor
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ tooltipHeight

int QQuickMaterialStyle::tooltipHeight
read

Definition at line 344 of file qquickmaterialstyle_p.h.

◆ touchTarget

int QQuickMaterialStyle::touchTarget
read

Definition at line 344 of file qquickmaterialstyle_p.h.


The documentation for this class was generated from the following files: