summaryrefslogtreecommitdiffstats
path: root/archiveddelegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'archiveddelegate.h')
-rw-r--r--archiveddelegate.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/archiveddelegate.h b/archiveddelegate.h
new file mode 100644
index 0000000..a7a4c09
--- /dev/null
+++ b/archiveddelegate.h
@@ -0,0 +1,23 @@
+/*
+ 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
+ 2 of the License, or (at your option) any later version.
+*/
+
+#ifndef ARCHIVEDDELEGATE_H
+#define ARCHIVEDDELEGATE_H
+
+#include <QAbstractItemDelegate>
+
+class ArchivedDelegate : public QAbstractItemDelegate {
+ Q_OBJECT
+ public:
+ ArchivedDelegate(QObject *parent = 0);
+ ~ArchivedDelegate() {};
+ void paint(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const;
+ QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const;
+};
+
+#endif
+