Commit 350fd124 authored by tanelipe's avatar tanelipe

ListView printing and more properties to text/rect

parent 7df92d25
This diff is collapsed.
......@@ -34,12 +34,14 @@ private:
bool inherits(const QMetaObject *metaObject, const QString &name);
bool isCustomPrintItem(const QString &item);
void changePrinterOrientation(QPrinter& printer, const int& width, const int& height);
public:
explicit QmlPrinter(QObject *parent = 0);
virtual ~QmlPrinter();
void printPDF(const QString &location, QQuickItem *item, bool showPDF = false);
void print(const QPrinterInfo& info, QQuickItem *item);
bool printPDF(const QString &location, QList<QQuickItem *> items, bool showPDF = false);
bool print(const QPrinterInfo& info, QList<QQuickItem*> items);
void addPrintableItem(const QString &item);
signals:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment