Added clutterbar.
This commit is contained in:
parent
4f3395baae
commit
da993036aa
5 changed files with 109 additions and 1 deletions
36
ClutterBar.h
Normal file
36
ClutterBar.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue