Builds on windows again
This commit is contained in:
parent
33cf39b799
commit
bebb3391c3
160 changed files with 138 additions and 117 deletions
|
|
@ -1,30 +0,0 @@
|
|||
#ifndef STOPWATCH_H
|
||||
#define STOPWATCH_H
|
||||
|
||||
#include <QTimer>
|
||||
#include <QElapsedTimer>
|
||||
|
||||
class QLabel;
|
||||
|
||||
class StopWatch : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
StopWatch();
|
||||
|
||||
void start();
|
||||
qint64 elapsed();
|
||||
void stop();
|
||||
|
||||
void setOutputLabel(QLabel *label);
|
||||
private:
|
||||
QElapsedTimer m_elapsed; // = nullptr; ///< Keeps time
|
||||
QTimer m_timer; ///< triggers updates
|
||||
QLabel* m_output = nullptr;
|
||||
qint64 m_timeTaken = 0LL;
|
||||
|
||||
|
||||
private slots:
|
||||
void updateTimer();
|
||||
};
|
||||
|
||||
#endif // STOPWATCH_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue