Logo Search packages:      
Sourcecode: karamba version File versions  Download package

clickarea.h

#ifndef CLICKAREA_H
#define CLICKAREA_H

#include <qstring.h>
#include <qrect.h>
#include <qevent.h>
#include <qregexp.h>

#include <kprocess.h>
#include <kprocio.h>
#include <krun.h>

#include <meter.h>

/**
 *
 * Hans Karlsson
 **/
00020 class ClickArea : public Meter
{
    Q_OBJECT
public:
    ClickArea(int x, int y, int w, int h );

    ~ClickArea();

    void click( QMouseEvent* );
    void setOnClick( QString );
    void setOnMiddleClick( QString );


    QRect getRectangle();

    void mUpdate( QPainter* );
    void setValue( int );
    void setValue( QString );

    QRect rect;
    QString onClick;
    QString onMiddleClick;
    QString value;
};

#endif

Generated by  Doxygen 1.6.0   Back to index