#include "qpalette.h"
#include "qapplication.h"
#include "qdatastream.h"
#include "qvariant.h"
Go to the source code of this file.
◆ qt_mix_colors()
Definition at line 60 of file qpalette.cpp.
Referenced by QPalette::setColorGroup().
The QColor class provides colors based on RGB, HSV or CMYK values.
ushort red
Returns the red color component of this color.
ushort blue
Returns the blue color component of this color.
ushort alpha
Returns the alpha color component of this color.
ushort green
Returns the green color component of this color.
◆ qt_palette_from_color()
static void qt_palette_from_color |
( |
QPalette & |
pal, |
|
|
const QColor & |
button |
|
) |
| |
|
static |
Definition at line 681 of file qpalette.cpp.
Referenced by QPalette::QPalette().
The QColor class provides colors based on RGB, HSV or CMYK values.
void getHsv(int *h, int *s, int *v, int *a=0) const
Sets the contents pointed to by h, s, v, and a, to the hue, saturation, value, and alpha-channel (tra...
void setColorGroup(ColorGroup cr, const QBrush &windowText, const QBrush &button, const QBrush &light, const QBrush &dark, const QBrush &mid, const QBrush &text, const QBrush &bright_text, const QBrush &base, const QBrush &window)
Sets a the group at cg.
The QBrush class defines the fill pattern of shapes drawn by QPainter.
◆ readV1ColorGroup()
Definition at line 1174 of file qpalette.cpp.
Referenced by QPalette::operator>>().
The QColor class provides colors based on RGB, HSV or CMYK values.
ColorRole
The ColorRole enum defines the different symbolic color roles used in current GUIs.
static const int NumOldRoles
void setColor(ColorGroup cg, ColorRole cr, const QColor &color)
Sets the color in the specified color group, used for the given color role, to the specified solid co...
static const int oldRoles[7]
◆ NumOldRoles
const int NumOldRoles = 7 |
|
static |
◆ oldRoles
◆ qt_palette_count