summaryrefslogtreecommitdiff
path: root/client/editor
diff options
context:
space:
mode:
Diffstat (limited to 'client/editor')
-rw-r--r--client/editor/editor.cc36
-rw-r--r--client/editor/editor.pro41
2 files changed, 77 insertions, 0 deletions
diff --git a/client/editor/editor.cc b/client/editor/editor.cc
new file mode 100644
index 0000000..de0bac1
--- /dev/null
+++ b/client/editor/editor.cc
@@ -0,0 +1,36 @@
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/***************************************************************************
+ * editor.cc
+ *
+ * Tue Jul 1 09:05:41 CEST 2008
+ * Copyright 2008 Bent Bisballe Nyeng
+ * deva@aasimon.org
+ ****************************************************************************/
+
+/*
+ * This file is part of Pracro.
+ *
+ * Pracro 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 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Pracro 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 Pracro; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+#include <QApplication>
+
+int main(int argc, char *argv[])
+{
+ QApplication app(argc, argv);
+
+
+
+ return app.exec();
+}
diff --git a/client/editor/editor.pro b/client/editor/editor.pro
new file mode 100644
index 0000000..513c977
--- /dev/null
+++ b/client/editor/editor.pro
@@ -0,0 +1,41 @@
+# -*- Makefile -*-
+
+TEMPLATE = app
+TARGET = editor
+DEPENDPATH += . ..
+INCLUDEPATH += . ..
+QT += core gui xml
+
+# For debugging
+QMAKE_CXXFLAGS += -g -Wall -Werror
+
+win32 {
+ LIBPATH += lua/lib
+ INCLUDEPATH += lua/include
+ LIBS += -llua51
+ DEFINES += HOST_WIN32
+}
+
+unix {
+ LIBS += -llua
+}
+
+HEADERS += \
+ widgets.h \
+ widgets/widget.h \
+ widgets/label.h \
+ widgets/lineedit.h \
+ widgets/multilist.h \
+ widgets/textedit.h \
+ widgets/button.h \
+ widgets/combobox.h \
+ widgets/listbox.h \
+ widgets/frame.h \
+ widgets/groupbox.h \
+ widgets/radiobutton.h \
+ widgets/radiobuttons.h \
+ widgets/checkbox.h \
+ widgets/window.h
+
+SOURCES += \
+ editor.cc