promoe/TimeDisplay.h
2006-03-15 16:32:25 -04:00

32 lines
570 B
C++

#ifndef __TIMEDISPLAY_H__
#define __TIMEDISPLAY_H__
class TimeDisplay;
#include "PixWidget.h"
#include "NumberDisplay.h"
class TimeDisplay : public PixWidget
{
Q_OBJECT
public:
TimeDisplay (QWidget *parent, int time);
~TimeDisplay ();
void setTime (int);
void drawMinus();
public slots:
void setPixmaps (Skin *skin);
signals:
void clicked(void);
protected:
void mousePressEvent (QMouseEvent *event);
void mouseReleaseEvent (QMouseEvent *event);
int m_time;
NumberDisplay *m_number_min;
NumberDisplay *m_number_sec;
uint m_w;
};
#endif