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/qgis@8110 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Feb 6, 2008
1 parent 8426cea commit 60f8e46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/gui/qgsquickprint.sip
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 60f8e46

Please sign in to comment.