Skip to content

Commit

Permalink
Added ability to set paper size to python api
Browse files Browse the repository at this point in the history
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 503d501
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/gui/qgsquickprint.sip
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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.