Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

ColorChart Class Reference

#include <colorchart.h>

Collaboration diagram for ColorChart:

Collaboration graph
[legend]

List of all members.

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

ScribusDocm_doc


Detailed Description

Author:
Franz Schmid

Definition at line 39 of file colorchart.h.


Constructor & Destructor Documentation

ColorChart::ColorChart ( QWidget *  parent,
ScribusDoc doc 
)

Definition at line 29 of file colorchart.cpp.

References doDrawMark, drawPalette(), Xp, and Yp.

ColorChart::~ColorChart (  )  [inline]

Definition at line 46 of file colorchart.h.


Member Function Documentation

void ColorChart::mouseMoveEvent ( QMouseEvent *  m  ) 

Definition at line 38 of file colorchart.cpp.

References ColorVal(), and drawMark().

void ColorChart::mousePressEvent ( QMouseEvent *  m  ) 

Definition at line 44 of file colorchart.cpp.

References ColorVal(), and drawMark().

void ColorChart::mouseReleaseEvent ( QMouseEvent *  m  ) 

Definition at line 50 of file colorchart.cpp.

References ColorVal(), and drawMark().

void ColorChart::paintEvent ( QPaintEvent *  e  ) 

Definition at line 56 of file colorchart.cpp.

References doDrawMark, p, pmx, Xp, and Yp.

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]


Member Data Documentation

Definition at line 54 of file colorchart.h.

Referenced by ColorChart(), drawMark(), and paintEvent().

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

Definition at line 57 of file colorchart.h.

Referenced by drawPalette(), and paintEvent().

Definition at line 60 of file colorchart.h.

Referenced by drawPalette().


The documentation for this class was generated from the following files:
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.