Source: scribus/colorchart.h


Annotated List
Files
Globals
Hierarchy
Index
/***************************************************************************
                          colorchart.h  -  description
                             -------------------
    begin                : Sat Sep 15 2001
    copyright            : (C) 2001 by Franz Schmid
    email                : Franz.Schmid@altmuehlnet.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef COLORCHART_H
#define COLORCHART_H

#include 
#include 

/**
  *@author Franz Schmid
  */

class ColorChart : public QLabel  {

Q_OBJECT

public: 
	ColorChart(QWidget *parent);
	~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);
	int Xp;
	int Yp;
	QPixmap pmx;
signals:
	void ColorVal(int h, int s, bool ende);
};

#endif

Generated by: paul on T6.linux on Tue Mar 18 23:32:13 2003, using kdoc 2.0a54.