mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
36314a86f8
commit
f0bd39c551
2 changed files with 0 additions and 84 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue