![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qquickpalettecolorprovider_p.h>
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 29 of file qquickpalettecolorprovider_p.h.
QQuickPaletteColorProvider::QQuickPaletteColorProvider | ( | ) |
Definition at line 29 of file qquickpalettecolorprovider.cpp.
const QColor & QQuickPaletteColorProvider::color | ( | QPalette::ColorGroup | group, |
QPalette::ColorRole | role ) const |
Definition at line 34 of file qquickpalettecolorprovider.cpp.
bool QQuickPaletteColorProvider::copyColorGroup | ( | QPalette::ColorGroup | cg, |
const QQuickPaletteColorProvider & | p ) |
Definition at line 123 of file qquickpalettecolorprovider.cpp.
bool QQuickPaletteColorProvider::fromQPalette | ( | QPalette | p | ) |
Definition at line 100 of file qquickpalettecolorprovider.cpp.
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 151 of file qquickpalettecolorprovider.cpp.
QPalette QQuickPaletteColorProvider::palette | ( | ) | const |
Definition at line 106 of file qquickpalettecolorprovider.cpp.
const QQuickAbstractPaletteProvider * QQuickPaletteColorProvider::paletteProvider | ( | ) | const |
Definition at line 111 of file qquickpalettecolorprovider.cpp.
bool QQuickPaletteColorProvider::reset | ( | ) |
Definition at line 139 of file qquickpalettecolorprovider.cpp.
bool QQuickPaletteColorProvider::resetColor | ( | QPalette::ColorGroup | group | ) |
Definition at line 69 of file qquickpalettecolorprovider.cpp.
bool QQuickPaletteColorProvider::resetColor | ( | QPalette::ColorGroup | group, |
QPalette::ColorRole | role ) |
Definition at line 47 of file qquickpalettecolorprovider.cpp.
bool QQuickPaletteColorProvider::setColor | ( | QPalette::ColorGroup | group, |
QPalette::ColorRole | role, | ||
QColor | color ) |
Definition at line 39 of file qquickpalettecolorprovider.cpp.
void QQuickPaletteColorProvider::setPaletteProvider | ( | const QQuickAbstractPaletteProvider * | paletteProvider | ) |
Definition at line 117 of file qquickpalettecolorprovider.cpp.