summaryrefslogtreecommitdiffstats
path: root/sigmodr/widgets/MapUI_p.h
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-03-01 15:42:49 -0500
committerBen Boeckel <MathStuf@gmail.com>2009-03-01 15:42:49 -0500
commit211c50f6ca51696b975c85d52283245e3fbefbe1 (patch)
tree040d1f043ce6d603cb87edd7a446f1deaded7c12 /sigmodr/widgets/MapUI_p.h
parent1055a9b2d0a4e065812a048a3fe3390b550f3262 (diff)
downloadsigen-211c50f6ca51696b975c85d52283245e3fbefbe1.tar.gz
sigen-211c50f6ca51696b975c85d52283245e3fbefbe1.tar.xz
sigen-211c50f6ca51696b975c85d52283245e3fbefbe1.zip
Add private widget headers
Diffstat (limited to 'sigmodr/widgets/MapUI_p.h')
-rw-r--r--sigmodr/widgets/MapUI_p.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/sigmodr/widgets/MapUI_p.h b/sigmodr/widgets/MapUI_p.h
new file mode 100644
index 00000000..e6c1847b
--- /dev/null
+++ b/sigmodr/widgets/MapUI_p.h
@@ -0,0 +1,61 @@
+/*
+ * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef SIGMODRWIDGETS_MAPUI_P
+#define SIGMODRWIDGETS_MAPUI_P
+
+// Header include
+#include "MapUI.h"
+
+// Sigmodr widget includes
+#include "ObjectUIPrivate.h"
+
+// Forward declarations
+class KComboBox;
+class KLineEdit;
+
+namespace Sigmodr
+{
+namespace Widgets
+{
+class TileDelegate;
+class TilemapModel;
+
+class MapUI::Private : public ObjectUIPrivate
+{
+ Q_OBJECT
+
+ public:
+ Private(Sigmod::Map* map);
+ ~Private();
+
+ QWidget* makeWidgets(ObjectUI* widget);
+
+ Sigmod::Map* m_map;
+ public slots:
+ void resetGui();
+ protected slots:
+ void nameChanged(const QString& name);
+ void typeChanged(const int type);
+ private:
+ KLineEdit* ui_name;
+ KComboBox* ui_type;
+};
+}
+}
+
+#endif