clickmap.h

00001 /***************************************************************************
00002  *   Copyright (C) 2003 by Ralph M. Churchill                              *
00003  *   mrchucho@yahoo.com                                                    *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  ***************************************************************************/
00010 
00011 #ifndef CLICKMAP_H
00012 #define CLICKMAP_H
00013 
00014 #include <meter.h>
00015 #include "clickable.h"
00016 #include "textfield.h"
00017 
00018 
00023 class ClickMap : public Meter
00024 {
00025 Q_OBJECT
00026 public:
00027     ClickMap(karamba* k, int x, int y, int w, int h);
00028     ~ClickMap();
00029 
00030     virtual bool click( QMouseEvent* );
00031     void mUpdate( QPainter* );
00032     void setValue( QString );
00033     void setValue( long );
00034     void setTextProps( TextField * );
00035 
00036 private:
00037     TextField text;
00038 
00039     QStringList links;
00040     QStringList displays;
00041 };
00042 
00043 #endif
KDE Home | KDE Accessibility Home | Description of Access Keys