...
Code Block |
---|
#ifndef DIALOG_H #define DIALOG_H #include <QtGui/QDialog> #include <QTimer> namespace Ui { class Dialog; } class Dialog : public QDialog { Q_OBJECT public: Dialog(QWidget *parent = 0); ~Dialog(); private slots: void update(); private: Ui::Dialog *ui; QTimer *timer;//osoitin ajastimeen int Arvo; }; #endif // DIALOG_H |