Added clutterbar.

This commit is contained in:
Daniel Svensson 2006-08-12 16:09:46 +02:00
parent 4f3395baae
commit da993036aa
5 changed files with 109 additions and 1 deletions

36
ClutterBar.h Normal file
View file

@ -0,0 +1,36 @@
#ifndef __CLUTTERBAR_H__
#define __CLUTTERBAR_H__
#include <QMouseEvent>
#include "PixWidget.h"
class ClutterBar : public PixWidget
{
Q_OBJECT
public:
ClutterBar (QWidget *parent);
~ClutterBar ();
public slots:
void setPixmaps(Skin *skin);
protected:
void mousePressEvent (QMouseEvent *event);
void mouseReleaseEvent (QMouseEvent *event);
QPixmap m_clutter_off;
QPixmap m_clutter_on;
QPixmap m_clutter_o;
QPixmap m_clutter_a;
QPixmap m_clutter_i;
QPixmap m_clutter_d;
QPixmap m_clutter_v;
bool enabled;
int m_ypos;
};
#endif