#include <wizard.h>
Public Types | |
enum | Mode { Hue, Saturation, Gamma } |
Public Slots | |
void | setCol (int h, int s, int g) |
Signals | |
void | newHsv (int h, int s, int g) |
Public Member Functions | |
ColorPicker (Mode m) | |
~ColorPicker () | |
Protected Member Functions | |
void | paintEvent (QPaintEvent *) |
void | mouseMoveEvent (QMouseEvent *) |
void | mousePressEvent (QMouseEvent *) |
Private Types | |
enum | { foff = 3, coff = 4 } |
Private Member Functions | |
int | y2hue (int y) |
int | y2sat (int y) |
int | y2gam (int y) |
int | hue2y (int hue) |
int | sat2y (int sat) |
int | gam2y (int gamma) |
void | setHue (int v) |
void | setSat (int v) |
void | setGam (int v) |
Private Attributes | |
QPixmap * | m_pix |
Mode | m_mode |
int | m_gam |
int | m_hue |
int | m_sat |
|
private |
Enumerator | |
---|---|
foff | |
coff |
Definition at line 83 of file wizard.h.
enum ColorPicker::Mode |
Enumerator | |
---|---|
Hue | |
Saturation | |
Gamma |
ColorPicker::ColorPicker | ( | Mode | m | ) |
Definition at line 313 of file wizard.cpp.
ColorPicker::~ColorPicker | ( | ) |
Definition at line 322 of file wizard.cpp.
|
private |
Definition at line 454 of file wizard.cpp.
|
private |
Definition at line 430 of file wizard.cpp.
|
protected |
Definition at line 371 of file wizard.cpp.
|
protected |
Definition at line 378 of file wizard.cpp.
|
signal |
|
protected |
Definition at line 327 of file wizard.cpp.
|
private |
Definition at line 442 of file wizard.cpp.
|
slot |
Definition at line 412 of file wizard.cpp.
|
private |
Definition at line 403 of file wizard.cpp.
|
private |
Definition at line 385 of file wizard.cpp.
|
private |
Definition at line 394 of file wizard.cpp.
|
private |
Definition at line 448 of file wizard.cpp.
|
private |
Definition at line 424 of file wizard.cpp.
|
private |
Definition at line 436 of file wizard.cpp.