Started implementing StringListDelegate.
authorMikko Keinänen <mikko.keinanen@gmail.com>
Tue, 7 Dec 2010 20:42:50 +0000 (22:42 +0200)
committerMikko Keinänen <mikko.keinanen@gmail.com>
Tue, 7 Dec 2010 20:42:50 +0000 (22:42 +0200)
src/delegates/stringlistdelegate.cpp [new file with mode: 0644]
src/delegates/stringlistdelegate.h [new file with mode: 0644]

diff --git a/src/delegates/stringlistdelegate.cpp b/src/delegates/stringlistdelegate.cpp
new file mode 100644 (file)
index 0000000..1833aeb
--- /dev/null
@@ -0,0 +1,25 @@
+// EmuFront
+// Copyright 2010 Mikko Keinänen
+//
+// This file is part of EmuFront.
+//
+//
+// EmuFront is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License version 2 as published by
+// the Free Software Foundation and appearing in the file gpl.txt included in the
+// packaging of this file.
+//
+// EmuFront 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 EmuFront.  If not, see <http://www.gnu.org/licenses/>.
+
+#include "stringlistdelegate.h"
+
+StringListDelegate::StringListDelegate(QObject *parent) :
+    QStyledItemDelegate(parent)
+{
+}
diff --git a/src/delegates/stringlistdelegate.h b/src/delegates/stringlistdelegate.h
new file mode 100644 (file)
index 0000000..e9830c3
--- /dev/null
@@ -0,0 +1,37 @@
+// EmuFront
+// Copyright 2010 Mikko Keinänen
+//
+// This file is part of EmuFront.
+//
+//
+// EmuFront is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License version 2 as published by
+// the Free Software Foundation and appearing in the file gpl.txt included in the
+// packaging of this file.
+//
+// EmuFront 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 EmuFront.  If not, see <http://www.gnu.org/licenses/>.
+
+#ifndef STRINGLISTDELEGATE_H
+#define STRINGLISTDELEGATE_H
+
+#include <QStyledItemDelegate>
+
+class StringListDelegate : public QStyledItemDelegate
+{
+    Q_OBJECT
+public:
+    explicit StringListDelegate(QObject *parent = 0);
+
+signals:
+
+public slots:
+
+};
+
+#endif // STRINGLISTDELEGATE_H