ColorChart Class Reference
#include <colorchart.h>

Signals | |
| void | ColorVal (int h, int s, bool ende) |
Public Member Functions | |
| ColorChart (QWidget *parent, ScribusDoc *doc) | |
| ~ColorChart () | |
| void | mouseMoveEvent (QMouseEvent *m) |
| void | mousePressEvent (QMouseEvent *m) |
| void | mouseReleaseEvent (QMouseEvent *m) |
| void | paintEvent (QPaintEvent *e) |
| void | drawMark (int x, int y) |
| void | setMark (int h, int s) |
| void | drawPalette (int val) |
Public Attributes | |
| int | Xp |
| int | Yp |
| bool | doDrawMark |
| QPixmap | pmx |
Protected Attributes | |
| ScribusDoc * | m_doc |
Detailed Description
Definition at line 39 of file colorchart.h.
Constructor & Destructor Documentation
| ColorChart::ColorChart | ( | QWidget * | parent, | |
| ScribusDoc * | doc | |||
| ) |
| ColorChart::~ColorChart | ( | ) | [inline] |
Definition at line 46 of file colorchart.h.
Member Function Documentation
| void ColorChart::mouseMoveEvent | ( | QMouseEvent * | m | ) |
| void ColorChart::mousePressEvent | ( | QMouseEvent * | m | ) |
| void ColorChart::mouseReleaseEvent | ( | QMouseEvent * | m | ) |
| void ColorChart::paintEvent | ( | QPaintEvent * | e | ) |
| void ColorChart::drawMark | ( | int | x, | |
| int | y | |||
| ) |
Definition at line 79 of file colorchart.cpp.
References doDrawMark, Xp, and Yp.
Referenced by mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), and setMark().
| void ColorChart::setMark | ( | int | h, | |
| int | s | |||
| ) |
Definition at line 87 of file colorchart.cpp.
References drawMark().
Referenced by CMYKChoose::CMYKChoose(), and CMYKChoose::setColor().
| void ColorChart::drawPalette | ( | int | val | ) |
Definition at line 92 of file colorchart.cpp.
References m_doc, p, pmx, and ProofImage().
Referenced by CMYKChoose::CMYKChoose(), ColorChart(), and CMYKChoose::setColor().
| void ColorChart::ColorVal | ( | int | h, | |
| int | s, | |||
| bool | ende | |||
| ) | [signal] |
Referenced by mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().
Member Data Documentation
| int ColorChart::Xp |
Definition at line 54 of file colorchart.h.
Referenced by ColorChart(), drawMark(), and paintEvent().
| int ColorChart::Yp |
Definition at line 55 of file colorchart.h.
Referenced by ColorChart(), drawMark(), and paintEvent().
Definition at line 56 of file colorchart.h.
Referenced by ColorChart(), drawMark(), and paintEvent().
| QPixmap ColorChart::pmx |
ScribusDoc* ColorChart::m_doc [protected] |
The documentation for this class was generated from the following files:
