initial import
[vym] / extrainfodialog.h
diff --git a/extrainfodialog.h b/extrainfodialog.h
new file mode 100644 (file)
index 0000000..a868954
--- /dev/null
@@ -0,0 +1,30 @@
+#ifndef EXTRAINFODIALOG_H
+#define EXTRAINFODIALOG_H
+
+#include "ui_extrainfodialog.h"
+
+/* \brief Dialog to display and edit map specific information like author, comment, etc. 
+*/
+
+class ExtraInfoDialog : public QDialog
+{
+    Q_OBJECT
+
+public:
+    ExtraInfoDialog(QWidget* parent = 0);
+
+    virtual QString getComment();
+    virtual QString getAuthor();
+    virtual void setStats( const QString & s );
+
+public slots:
+    virtual void setMapName( const QString & s );
+    virtual void setComment( const QString & s );
+    virtual void setAuthor( const QString & s );
+
+private:
+       Ui::ExtraInfoDialog ui;
+
+};
+
+#endif // EXTRAINFODIALOG_H