1 /* 2 For general Scribus (>=1.3.2) copyright and licensing information please refer 3 to the COPYING file provided with the program. Following this notice may exist 4 a copyright and/or license notice that predates the release of Scribus 1.3.2 5 for which a new license (GPL+exception) is in place. 6 */ 7 8 #ifndef PREFS_PRINTER_H 9 #define PREFS_PRINTER_H 10 11 #include "ui_prefs_printerbase.h" 12 #include "prefs_pane.h" 13 #include "scribusapi.h" 14 15 class SCRIBUS_API Prefs_Printer : public Prefs_Pane, Ui::Prefs_Printer 16 { 17 Q_OBJECT 18 19 public: 20 Prefs_Printer(QWidget* parent, ScribusDoc* doc=nullptr); 21 ~Prefs_Printer(); 22 23 void restoreDefaults(struct ApplicationPrefs *prefsData) override; 24 void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override; 25 26 public slots: 27 void languageChange(); 28 void unitChange(int newIndex); 29 private slots: 30 void selOtherComm(); 31 }; 32 33 #endif // PREFS_PRINTER_H 34