Skip to content
Permalink
Browse files
Added ability to set paper size to python api
git-svn-id: http://svn.osgeo.org/qgis/trunk@8110 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Feb 6, 2008
1 parent 0a95c07 commit 503d5013a249e9f1c3a52602fc09b51299062d99
Showing with 3 additions and 0 deletions.
  1. +3 −0 python/gui/qgsquickprint.sip
@@ -10,6 +10,8 @@ public:
QgsQuickPrint();
//! Destructor
virtual ~QgsQuickPrint();
static QString pageSizeToString(QPrinter::PageSize theSize);
static QPrinter::PageSize stringToPageSize(QString theSize);

public slots:
void printMap();
@@ -21,5 +23,6 @@ public slots:
void setLogo2(QString theFileName);
void setOutputPdf(QString theFileName);
void setMapCanvas(QgsMapCanvas * thepMapCanvas);
void setPageSize(QPrinter::PageSize theSize);
};

0 comments on commit 503d501

Please sign in to comment.