mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-18 01:07:58 +00:00
33 lines
535 B
C++
33 lines
535 B
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
#include <memory>
|
|
#include "timer.h"
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
namespace Ui { class MainWindow; }
|
|
QT_END_NAMESPACE
|
|
|
|
class MainWindow : public QMainWindow {
|
|
Q_OBJECT
|
|
|
|
void createActions();
|
|
|
|
public:
|
|
MainWindow(QWidget *parent = nullptr);
|
|
~MainWindow();
|
|
|
|
private:
|
|
std::unique_ptr<Ui::MainWindow> ui;
|
|
std::unique_ptr<QTimer> qTimer;
|
|
std::unique_ptr<QThread> timerThread;
|
|
std::unique_ptr<Timer> timer;
|
|
|
|
|
|
private slots:
|
|
void open();
|
|
};
|
|
|
|
#endif // MAINWINDOW_H
|