новые иконки в OpenBoard
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenBoard/src/gui/UBClockPalette.h

38 lines
654 B

#ifndef UBCLOCKPALLETTE_H_
#define UBCLOCKPALLETTE_H_
class QHBoxLayout;
class QLabel;
#include "UBFloatingPalette.h"
class UBClockPalette : public UBFloatingPalette
{
Q_OBJECT;
public:
UBClockPalette(QWidget *parent = 0);
virtual ~UBClockPalette();
protected:
int radius();
void timerEvent(QTimerEvent *event);
virtual void showEvent ( QShowEvent * event );
virtual void hideEvent ( QShowEvent * event );
protected slots:
void updateTime();
private:
QLabel *mTimeLabel;
int mTimerID;
QString mTimeFormat;
};
#endif /* UBCLOCKPALLETTE_H_ */