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

Signals

void alternateBaseChanged()
void baseChanged()
void brightTextChanged()
void buttonChanged()
void buttonTextChanged()
void darkChanged()
void highlightChanged()
void highlightedTextChanged()
void lightChanged()
void linkChanged()
void linkVisitedChanged()
void midChanged()
void midlightChanged()
void shadowChanged()
void textChanged()
void toolTipBaseChanged()
void toolTipTextChanged()
void windowChanged()
void windowTextChanged()

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.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.0/qquickcolorgroup.html