Main Page | Class List | Directories | File List | Class Members | File Members | Related Pages

sample.h

Go to the documentation of this file.
00001 // $Id: sample.h,v 1.1 2005/06/06 13:26:20 rcr_muc Exp $
00002 // displays a colorsample on a white background with black chars
00003 // 2005-06-03 rcr
00004 
00005 #ifndef SAMPLE_H
00006 #define SAMPLE_H
00007 
00008 #include <qpixmap.h>
00009 #include <qstring.h>
00010 #include <qsize.h>
00011 #include <qframe.h>
00012 
00013 #include "rcolor.h"
00014 
00015 class QPainter;
00016 
00017 class Sample : public QFrame
00018 {
00019   Q_OBJECT
00020 
00021   QSize frSize, txtSize;
00022   QString text;
00023   QPixmap bg, fg, txt;
00024 public:
00025   Sample( QWidget* parent = 0, const char* name = 0, WFlags f = 0 );
00026   ~Sample();
00027   void setColor( const rColor& );
00028 
00029 };
00030 
00031 #endif // SAMPLE_H

Go back to rwm - the window manager's - Home page.
created 13 Jun 2005 for colordlg $Revision:1.1$ by Rolf C. Rönnau using doxygen 1.4.2