Back to index

scribus-ng  1.3.4.dfsg+svn20071115
tabprinter.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 #ifndef TABPRINTER_H
00008 #define TABPRINTER_H
00009 
00010 #include "tabprinterbase.h"
00011 #include "scribusapi.h"
00012 
00013 class PrefsContext;
00014 
00015 class SCRIBUS_API TabPrinter : public TabPrinterBase
00016 {
00017        Q_OBJECT
00018 
00019 public:
00020        TabPrinter(QWidget* parent = 0, const char* name = 0);
00021        ~TabPrinter() {};
00022        void restoreDefaults(struct ApplicationPrefs *prefsData);
00023        void storeValues();
00024        void unitChange(QString unit, int docUnitIx, int decimals, double invUnitConversion);
00025 private:
00026        int docUnitIndex;
00027        double unitRatio;
00028        PrefsContext* prefs;
00029 private slots:
00030        void selOtherComm();
00031 };
00032 #endif