summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/modeldelegates.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-11-09 20:42:12 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-10 09:08:16 -0800
commitf0bd39c55103969c3e30df88f51846f70cd6d56f (patch)
tree12fd5534efb45b784c5faef538aa992023fe6246 /desktop-widgets/modeldelegates.h
parent36314a86f817c0d2c56aeca497ce3e29ba8db54a (diff)
downloadsubsurface-f0bd39c55103969c3e30df88f51846f70cd6d56f.tar.gz
modeldelegates: remove printing related delegates
Remove HTMLDelegate and ProfilePrintDelagate as these are obosolete. The print related rendering at the moment happens via QWebView. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/modeldelegates.h')
-rw-r--r--desktop-widgets/modeldelegates.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/desktop-widgets/modeldelegates.h b/desktop-widgets/modeldelegates.h
index 95701775a..34012aa2a 100644
--- a/desktop-widgets/modeldelegates.h
+++ b/desktop-widgets/modeldelegates.h
@@ -90,16 +90,6 @@ slots:
void revertModelData(QWidget *widget, QAbstractItemDelegate::EndEditHint hint);
};
-/* ProfilePrintDelagate:
- * this delegate is used to modify the look of the table that is printed
- * bellow profiles.
- */
-class ProfilePrintDelegate : public QStyledItemDelegate {
-public:
- explicit ProfilePrintDelegate(QObject *parent = 0);
- void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
-};
-
class SpinBoxDelegate : public QStyledItemDelegate {
Q_OBJECT
public:
@@ -122,14 +112,6 @@ private:
double step;
};
-class HTMLDelegate : public ProfilePrintDelegate {
- Q_OBJECT
-public:
- explicit HTMLDelegate(QObject *parent = 0);
- virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
- virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const;
-};
-
class LocationFilterDelegate : public QStyledItemDelegate {
Q_OBJECT
public: