mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add the HTML Delegate to printing.
This patch just adds the HTML Delegate to print the text. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
30499fdb30
commit
7a70f15f9b
3 changed files with 7 additions and 1 deletions
|
@ -113,6 +113,7 @@ private:
|
|||
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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue