Welcome dialog added.
[speedfreak] / Client / welcomedialog.h
diff --git a/Client/welcomedialog.h b/Client/welcomedialog.h
new file mode 100644 (file)
index 0000000..788a7ad
--- /dev/null
@@ -0,0 +1,36 @@
+/*
+ * Welcome dialog
+ *
+ * @author     Toni Jussila <toni.jussila@fudeco.com>
+ * @copyright  (c) 2010 Speed Freak team
+ * @license    http://opensource.org/licenses/gpl-license.php GNU Public License
+ */
+
+#ifndef WELCOMEDIALOG_H
+#define WELCOMEDIALOG_H
+
+#include <QDialog>
+#include <QMovie>
+
+namespace Ui {
+    class WelcomeDialog;
+}
+
+class WelcomeDialog : public QDialog {
+    Q_OBJECT
+public:
+    WelcomeDialog(QWidget *parent = 0);
+    ~WelcomeDialog();
+
+protected:
+    void changeEvent(QEvent *e);
+
+private:
+    Ui::WelcomeDialog *ui;
+    QMovie *movie;
+
+private slots:
+    void stop(int currentFrame);
+};
+
+#endif // WELCOMEDIALOG_H