Back to index

scribus-ng  1.3.4.dfsg+svn20071115
tabcheckdoc.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 TABCHECKDOC_H
00008 #define TABCHECKDOC_H
00009 
00010 #include <qvariant.h>
00011 #include <qwidget.h>
00012 
00013 #include "scribusapi.h"
00014 #include "prefsstructs.h"
00015 class QVBoxLayout;
00016 class QHBoxLayout;
00017 class QGridLayout;
00018 class QComboBox;
00019 class QCheckBox;
00020 class QGroupBox;
00021 class QLabel;
00022 class QSpinBox;
00023 class QPushButton;
00024 
00025 
00028 class SCRIBUS_API TabCheckDoc : public QWidget
00029 {
00030        Q_OBJECT
00031 
00032 public:
00033        TabCheckDoc( QWidget* parent, CheckerPrefsList prefsData, QString prefProfile );
00034        ~TabCheckDoc() {};
00035        void restoreDefaults(CheckerPrefsList *prefsData, QString prefProfile);
00036 
00037        QComboBox* curCheckProfile;
00038        QCheckBox* ignoreErrors;
00039        QCheckBox* automaticCheck;
00040        QCheckBox* missingGlyphs;
00041        QCheckBox* checkOrphans;
00042        QCheckBox* textOverflow;
00043        QCheckBox* tranparentObjects;
00044        QCheckBox* missingPictures;
00045        QCheckBox* useAnnotations;
00046        QCheckBox* rasterPDF;
00047        QCheckBox* checkForGIF;
00048        QCheckBox* ignoreOffLayers;
00049        QGroupBox* pictResolution;
00050        QLabel* textLabel1;
00051        QSpinBox* resolutionValue;
00052        QLabel* textLabel1m;
00053        QSpinBox* resolutionValueM;
00054        QPushButton* addProfile;
00055        QPushButton* removeProfile;
00056        CheckerPrefsList checkerProfile;
00057        QString currentProfile;
00058        void updateProfile(const QString& name);
00059 
00060 public slots:
00061        void putProfile();
00062        void setProfile(const QString& name);
00063        void addProf();
00064        void delProf();
00065 
00066 protected:
00067        QVBoxLayout* TabCheckDocLayout;
00068        QGridLayout* pictResolutionLayout;
00069        QHBoxLayout* layout1;
00070        QString tempNewProfileName;
00071 };
00072 
00073 #endif // TABCHECKDOC_H