summaryrefslogtreecommitdiffstats
path: root/pokemodr/EggGroupUI.h
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/EggGroupUI.h')
-rw-r--r--pokemodr/EggGroupUI.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/pokemodr/EggGroupUI.h b/pokemodr/EggGroupUI.h
new file mode 100644
index 00000000..e52e6738
--- /dev/null
+++ b/pokemodr/EggGroupUI.h
@@ -0,0 +1,55 @@
+/////////////////////////////////////////////////////////////////////////////
+// Name: pokegen/EggGroupUI.h
+// Purpose: EggGroup UI form handling
+// Author: Ben Boeckel
+// Modified by: Ben Boeckel
+// Created: Sun Jan 27 12:29:48 2008
+// Copyright: ©2007-2008 Ben Boeckel and Nerdy Productions
+// Licence:
+// 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
+// MERCHANTEggGroup 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 __POKEMODR_EGGGROUPUI__
+#define __POKEMODR_EGGGROUPUI__
+
+#include <ktoolbar.h>
+#include <QString>
+#include "../pokemod/EggGroup.h"
+#include "ObjectUI.h"
+#include "ui_egggroup.h"
+
+class EggGroupUI : public ObjectUI, private Ui::formEggGroup
+{
+ Q_OBJECT
+
+ public:
+ EggGroupUI(EggGroup* e, QWidget* parent);
+ ~EggGroupUI()
+ {
+ delete eggGroup_mod;
+ }
+
+// KToolbar getToolbar(QWidget* parent);
+ public slots:
+ void on_buttonApply_clicked();
+ void on_buttonDiscard_clicked();
+ void on_varName_textChanged(const QString& n);
+ private:
+ void setGui();
+
+ EggGroup* eggGroup;
+ EggGroup* eggGroup_mod;
+};
+
+#endif