summaryrefslogtreecommitdiff
path: root/src/noeditdelegate.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-04-05 15:36:42 +0200
committerTannin <devnull@localhost>2014-04-05 15:36:42 +0200
commitcabed9b268c9f095d5e3b98a6797b0bcdcd38b1f (patch)
tree454b03b0c5664e90fe586e7b39603e34a526d35b /src/noeditdelegate.h
parent98e5e57a845541acddf519a81957261f58008cb9 (diff)
parentc017f4a0d50b67a44e276bd5ae8929ed3990c62c (diff)
Merge with branch1.1
Diffstat (limited to 'src/noeditdelegate.h')
-rw-r--r--src/noeditdelegate.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/noeditdelegate.h b/src/noeditdelegate.h
new file mode 100644
index 00000000..d0ba2f68
--- /dev/null
+++ b/src/noeditdelegate.h
@@ -0,0 +1,12 @@
+#ifndef NOEDITDELEGATE_H
+#define NOEDITDELEGATE_H
+
+#include <QStyledItemDelegate>
+
+class NoEditDelegate: public QStyledItemDelegate {
+public:
+ NoEditDelegate(QObject *parent = NULL);
+ virtual QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const;
+};
+
+#endif // NOEDITDELEGATE_H