GITLAB

에프에이리눅스 / 1611_0007_prime_oven

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
a818f21afddff0a08a1cc2487d4aa00ca3eddf04
  • 1611_0007_prime_oven
  • app
  • gui
  • oven_control
  • clock.h
  • 8c2952457   응용 프로그램 추가 Browse Code »
    김태훈
    8 years ago  
clock.h 388 Bytes
edit raw blame history
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
#ifndef CLOCK_H
#define CLOCK_H

#include <QWidget>
#include <QTime>
#include <QImage>

class Clock : public QWidget
{
    Q_OBJECT
public:
    explicit Clock(QWidget *parent = 0);

signals:

public slots:

protected:
    void paintEvent(QPaintEvent *event);

private slots:
    void checkUpdate();

private:
    bool ticking;
    QTime last;
    QImage background;
};

#endif // CLOCK_H