![]() |
Qt 6.x
The Qt SDK
|
#include <qquickpalettecolorprovider_p.h>
Inheritance diagram for QQuickPaletteColorProvider:
Collaboration diagram for QQuickPaletteColorProvider:Public Member Functions | |
| QQuickPaletteColorProvider () | |
| const QColor & | color (QPalette::ColorGroup group, QPalette::ColorRole role) const |
| bool | setColor (QPalette::ColorGroup group, QPalette::ColorRole role, QColor color) |
| bool | resetColor (QPalette::ColorGroup group, QPalette::ColorRole role) |
| bool | resetColor (QPalette::ColorGroup group) |
| bool | fromQPalette (QPalette p) |
| QPalette | palette () const |
| const QQuickAbstractPaletteProvider * | paletteProvider () const |
| void | setPaletteProvider (const QQuickAbstractPaletteProvider *paletteProvider) |
| bool | copyColorGroup (QPalette::ColorGroup cg, const QQuickPaletteColorProvider &p) |
| bool | reset () |
| bool | inheritPalette (const QPalette &palette) |
Definition at line 28 of file qquickpalettecolorprovider_p.h.
| QQuickPaletteColorProvider::QQuickPaletteColorProvider | ( | ) |
Definition at line 52 of file qquickpalettecolorprovider.cpp.
| const QColor & QQuickPaletteColorProvider::color | ( | QPalette::ColorGroup | group, |
| QPalette::ColorRole | role | ||
| ) | const |
Definition at line 57 of file qquickpalettecolorprovider.cpp.
References adjustCg(), and QPalette::color().
Here is the call graph for this function:| bool QQuickPaletteColorProvider::copyColorGroup | ( | QPalette::ColorGroup | cg, |
| const QQuickPaletteColorProvider & | p | ||
| ) |
Definition at line 146 of file qquickpalettecolorprovider.cpp.
References QPalette::NColorRoles, QPalette::setBrush(), and QPalette::WindowText.
Here is the call graph for this function:| bool QQuickPaletteColorProvider::fromQPalette | ( | QPalette | p | ) |
Definition at line 123 of file qquickpalettecolorprovider.cpp.
References QLazilyAllocated< T, Tag >::value().
Referenced by reset().
Here is the call graph for this function:
Here is the caller graph for this function:| bool QQuickPaletteColorProvider::inheritPalette | ( | const QPalette & | palette | ) |
Merge the given palette with the existing requested palette, remember that it is the inherited palette (in case updateInheritedPalette() is called later), and update the stored palette (to be returned from \l palette()) if the result is different. Returns whether the stored palette got changed.
Definition at line 174 of file qquickpalettecolorprovider.cpp.
References palette(), and QLazilyAllocated< T, Tag >::value().
Here is the call graph for this function:| QPalette QQuickPaletteColorProvider::palette | ( | ) | const |
Definition at line 129 of file qquickpalettecolorprovider.cpp.
Referenced by inheritPalette(), and QQuickPalette::toQPalette().
Here is the caller graph for this function:| const QQuickAbstractPaletteProvider * QQuickPaletteColorProvider::paletteProvider | ( | ) | const |
Definition at line 134 of file qquickpalettecolorprovider.cpp.
References Q_ASSERT.
Referenced by QQuickPalette::paletteProvider(), and setPaletteProvider().
Here is the caller graph for this function:| bool QQuickPaletteColorProvider::reset | ( | ) |
Definition at line 162 of file qquickpalettecolorprovider.cpp.
References fromQPalette().
Here is the call graph for this function:| bool QQuickPaletteColorProvider::resetColor | ( | QPalette::ColorGroup | group | ) |
Definition at line 92 of file qquickpalettecolorprovider.cpp.
References QPalette::Active, QPalette::All, bitPosition(), QPalette::Current, QPalette::currentColorGroup(), QLazilyAllocated< T, Tag >::isAllocated(), QPalette::NColorGroups, QPalette::NColorRoles, QPalette::resolveMask(), QPalette::setResolveMask(), and QPalette::WindowText.
Here is the call graph for this function:| bool QQuickPaletteColorProvider::resetColor | ( | QPalette::ColorGroup | group, |
| QPalette::ColorRole | role | ||
| ) |
Definition at line 70 of file qquickpalettecolorprovider.cpp.
References QPalette::Active, QPalette::All, bitPosition(), QPalette::Current, QPalette::currentColorGroup(), QLazilyAllocated< T, Tag >::isAllocated(), QPalette::NColorGroups, QPalette::resolveMask(), and QPalette::setResolveMask().
Here is the call graph for this function:| bool QQuickPaletteColorProvider::setColor | ( | QPalette::ColorGroup | group, |
| QPalette::ColorRole | role, | ||
| QColor | color | ||
| ) |
Definition at line 62 of file qquickpalettecolorprovider.cpp.
References QPalette::setColor().
Here is the call graph for this function:| void QQuickPaletteColorProvider::setPaletteProvider | ( | const QQuickAbstractPaletteProvider * | paletteProvider | ) |
Definition at line 140 of file qquickpalettecolorprovider.cpp.
References paletteProvider().
Referenced by QQuickPalette::setPaletteProvider().
Here is the call graph for this function:
Here is the caller graph for this function: