Page setup parameters are now saved in the application configuration after the user has accepted the print preview and restored before the user has chosen a printer.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1920 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2012-08-05 00:23:13 +00:00
parent 326794e62a
commit ba8cd22326
2 changed files with 103 additions and 0 deletions

View File

@@ -51,6 +51,9 @@ class DiagramPrintDialog : public QWidget {
void buildPrintTypeDialog();
void buildDialog();
void saveReloadDiagramParameters(Diagram *, const ExportProperties, bool);
void savePageSetupForCurrentPrinter();
void loadPageSetupForCurrentPrinter();
QString settingsSectionName(const QPrinter *);
private slots:
void print(const QList<Diagram *> &, bool, const ExportProperties);