home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / tabprinter.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-05-30  |  837 b   |  33 lines

  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. #ifndef TABPRINTER_H
  8. #define TABPRINTER_H
  9.  
  10. #include "ui_tabprinter.h"
  11. #include "scribusapi.h"
  12.  
  13. class PrefsContext;
  14.  
  15. class SCRIBUS_API TabPrinter : public QWidget, Ui::TabPrinter
  16. {
  17.     Q_OBJECT
  18.  
  19. public:
  20.     TabPrinter(QWidget* parent = 0, const char* name = 0);
  21.     ~TabPrinter() {};
  22.     void restoreDefaults(struct ApplicationPrefs *prefsData);
  23.     void storeValues();
  24.     void unitChange(QString unit, int docUnitIx, double invUnitConversion);
  25. private:
  26.     int docUnitIndex;
  27.     double unitRatio;
  28.     PrefsContext* prefs;
  29. private slots:
  30.     void selOtherComm();
  31. };
  32. #endif
  33.