This repository has been archived by the owner. It is now read-only.
Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
AudioGameGUI/TimerDialog.h
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
36 lines (27 sloc)
592 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef TIMERDIALOG_H | |
#define TIMERDIALOG_H | |
#include <QDialog> | |
#include <QTimer> | |
namespace Ui { | |
class TimerDialog; | |
} | |
class TimerDialog : public QDialog | |
{ | |
Q_OBJECT | |
public: | |
explicit TimerDialog(QWidget *parent = 0); | |
~TimerDialog(); | |
int timeValue; | |
void setUpTimer(int); | |
void updateTime(); | |
void startTimer(); | |
void stopTimer(); | |
QTimer *timerDialogTimer; | |
public slots: | |
void removeTimer(); | |
private slots: | |
void onCountDown(); | |
private: | |
Ui::TimerDialog *ui; | |
}; | |
#endif // TIMERDIALOG_H |