#include <QColor.h>
Collaboration diagram for QColor:

Public Methods | |
| void | setAsCurrent () |
| sets the color as current for drawing context | |
| const void | set (float r, float g, float b, float a) |
| sets the color | |
| virtual float | getR () |
| getter method for R | |
| virtual void | setR (float newValue) |
| setter method for R | |
| virtual float | getG () |
| getter method for G | |
| virtual void | setG (float newValue) |
| setter method for G | |
| virtual float | getB () |
| getter method for B | |
| virtual void | setB (float newValue) |
| setter method for B | |
| virtual float | getA () |
| getter method for A | |
| virtual void | setA (float newValue) |
| setter method for A | |
| void | copyFrom (QColor *from) |
| copy itself from another instance | |
| void | print () |
| prints itself to the cout | |
| QColor () | |
| Constructor. | |
| virtual | ~QColor () |
| Destructor. | |
| void | setAsCurrent () |
| sets the color as current for drawing context | |
| const void | set (float r, float g, float b, float a) |
| sets the color | |
| virtual float | getR () |
| getter method for R | |
| virtual void | setR (float newValue) |
| setter method for R | |
| virtual float | getG () |
| getter method for G | |
| virtual void | setG (float newValue) |
| setter method for G | |
| virtual float | getB () |
| getter method for B | |
| virtual void | setB (float newValue) |
| setter method for B | |
| virtual float | getA () |
| getter method for A | |
| virtual void | setA (float newValue) |
| setter method for A | |
| void | copyFrom (QColor *from) |
| copy itself from another instance | |
| void | print () |
| prints itself to the cout | |
| QColor () | |
| Constructor. | |
| virtual | ~QColor () |
| Destructor. | |
Protected Attributes | |
| float | R |
| red | |
| float | G |
| green | |
| float | B |
| blue | |
| float | A |
| alpha | |
Definition at line 15 of file QColor.h.
|
|
Constructor.
Definition at line 103 of file QColor.cpp. |
|
|
Destructor.
Definition at line 114 of file QColor.cpp. |
|
|
Constructor.
|
|
|
Destructor.
|
|
|
copy itself from another instance
|
|
|
copy itself from another instance
Definition at line 80 of file QColor.cpp. Referenced by QFont::copyFrom(). |
|
|
getter method for A
|
|
|
getter method for A
Definition at line 66 of file QColor.cpp. References A. |
|
|
getter method for B
|
|
|
getter method for B
Definition at line 54 of file QColor.cpp. References B. |
|
|
getter method for G
|
|
|
getter method for G
Definition at line 42 of file QColor.cpp. References G. |
|
|
getter method for R
|
|
|
getter method for R
Definition at line 30 of file QColor.cpp. References R. |
|
|
prints itself to the cout
|
|
|
prints itself to the cout
Definition at line 91 of file QColor.cpp. |
|
||||||||||||||||||||
|
sets the color
|
|
||||||||||||||||||||
|
sets the color
Definition at line 21 of file QColor.cpp. Referenced by QWindow::Init(), and QLookAndFeel::Init(). |
|
|
setter method for A
|
|
|
setter method for A
Definition at line 72 of file QColor.cpp. References A. |
|
|
sets the color as current for drawing context
|
|
|
sets the color as current for drawing context
Definition at line 15 of file QColor.cpp. Referenced by QToolBar::draw(), QTextEdit::draw(), QCaptionButton::draw(), QLookAndFeel::drawBevel(), QLookAndFeel::drawCheckBox(), QWindow::drawFrame(), QFont::drawInternal(), and QLookAndFeel::drawRadioButton(). |
|
|
setter method for B
|
|
|
setter method for B
Definition at line 60 of file QColor.cpp. References B. |
|
|
setter method for G
|
|
|
setter method for G
Definition at line 48 of file QColor.cpp. References G. |
|
|
setter method for R
|
|
|
setter method for R
Definition at line 36 of file QColor.cpp. References R. |
|
|
alpha
Definition at line 30 of file QColor.h. Referenced by getA(), set(), setA(), and setAsCurrent(). |
|
|
blue
Definition at line 27 of file QColor.h. Referenced by getB(), set(), setAsCurrent(), and setB(). |
|
|
green
Definition at line 24 of file QColor.h. Referenced by getG(), set(), setAsCurrent(), and setG(). |
|
|
red
Definition at line 21 of file QColor.h. Referenced by getR(), set(), setAsCurrent(), and setR(). |
1.2.18