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 / tabcheckdoc.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-06-11  |  1.7 KB  |  73 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 TABCHECKDOC_H
  8. #define TABCHECKDOC_H
  9.  
  10. #include <QWidget>
  11. class QGridLayout;
  12. class QVBoxLayout;
  13. class QHBoxLayout;
  14. class QCheckBox;
  15. class QGroupBox;
  16. class QLabel;
  17. class QComboBox;
  18. class QPushButton;
  19. class QSpinBox;
  20.  
  21. #include "scribusapi.h"
  22. #include "prefsstructs.h"
  23.  
  24.  
  25. /*! \brief A setup widget for checking Profiles (for Preflight Verifier constraints)
  26. */
  27. class SCRIBUS_API TabCheckDoc : public QWidget
  28. {
  29.     Q_OBJECT
  30.  
  31. public:
  32.     TabCheckDoc( QWidget* parent, CheckerPrefsList prefsData, QString prefProfile );
  33.     ~TabCheckDoc() {};
  34.     void restoreDefaults(CheckerPrefsList *prefsData, QString prefProfile);
  35.  
  36.     QComboBox* curCheckProfile;
  37.     QCheckBox* ignoreErrors;
  38.     QCheckBox* automaticCheck;
  39.     QCheckBox* missingGlyphs;
  40.     QCheckBox* checkOrphans;
  41.     QCheckBox* textOverflow;
  42.     QCheckBox* tranparentObjects;
  43.     QCheckBox* missingPictures;
  44.     QCheckBox* useAnnotations;
  45.     QCheckBox* rasterPDF;
  46.     QCheckBox* checkForGIF;
  47.     QCheckBox* ignoreOffLayers;
  48.     QGroupBox* pictResolution;
  49.     QLabel* textLabel1;
  50.     QSpinBox* resolutionValue;
  51.     QLabel* textLabel1m;
  52.     QSpinBox* resolutionValueM;
  53.     QPushButton* addProfile;
  54.     QPushButton* removeProfile;
  55.     CheckerPrefsList checkerProfile;
  56.     QString currentProfile;
  57.     void updateProfile(const QString& name);
  58.  
  59. public slots:
  60.     void putProfile();
  61.     void setProfile(const QString& name);
  62.     void addProf();
  63.     void delProf();
  64.  
  65. protected:
  66.     QVBoxLayout* TabCheckDocLayout;
  67.     QGridLayout* pictResolutionLayout;
  68.     QHBoxLayout* layout1;
  69.     QString tempNewProfileName;
  70. };
  71.  
  72. #endif // TABCHECKDOC_H
  73.