Skip to content
Permalink
Browse files
Added ability to set paper size to python api
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8110 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Feb 6, 2008
1 parent 8426cea commit 60f8e46b128c9004a7f69df1c0764dcf9a221418
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 60f8e46

Please sign in to comment.