QQuickColorGroup Class

The QQuickColorGroup class represents a set of colors. More...

Header: #include <QQuickColorGroup>
CMake: find_package(Qt6 COMPONENTS Quick REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::Quick)
qmake: QT += quick
Since: Qt 6.0
Instantiated By: ColorGroup
Inherits: QObject

Public Functions

QColor alternateBase() const
QColor base() const
QColor brightText() const
QColor button() const
QColor buttonText() const
QColor dark() const
QColor highlight() const
QColor highlightedText() const
QColor light() const
QColor link() const
QColor linkVisited() const
QColor mid() const
QColor midlight() const
void resetAlternateBase()
void resetBase()
void resetBrightText()
void resetButton()
void resetButtonText()
void resetDark()
void resetHighlight()
void resetHighlightedText()
void resetLight()
void resetLink()
void resetLinkVisited()
void resetMid()
void resetMidlight()
void resetShadow()
void resetText()
void resetToolTipBase()
void resetToolTipText()
void resetWindow()
void resetWindowText()
void setAlternateBase(const QColor &color)
void setBase(const QColor &color)
void setBrightText(const QColor &color)
void setButton(const QColor &color)
void setButtonText(const QColor &color)
void setDark(const QColor &color)
void setHighlight(const QColor &color)
void setHighlightedText(const QColor &color)
void setLight(const QColor &color)
void setLink(const QColor &color)
void setLinkVisited(const QColor &color)
void setMid(const QColor &color)
void setMidlight(const QColor &color)
void setShadow(const QColor &color)
void setText(const QColor &color)
void setToolTipBase(const QColor &color)
void setToolTipText(const QColor &color)
void setWindow(const QColor &color)
void setWindowText(const QColor &color)
QColor shadow() const
QColor text() const
QColor toolTipBase() const
QColor toolTipText() const
QColor window() const
QColor windowText() const


Protected Functions

QQuickColorGroup(QQuickPalette &parent)

Detailed Description

Used by QQuickPalette to provide different groups of colors by roles.

See also QPalette::ColorRole.

Member Function Documentation

[protected] QQuickColorGroup::QQuickColorGroup(QQuickPalette &parent)

Construct object in default state.

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.