Back to index

scribus-ng  1.3.4.dfsg+svn20071115
cmsprefs.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 CMSPREFS_H
00008 #define CMSPREFS_H
00009 
00010 #include <qwidget.h>
00011 #include <qcheckbox.h>
00012 #include <qcombobox.h>
00013 #include <qgroupbox.h>
00014 #include <qlabel.h>
00015 #include <qlayout.h>
00016 #include <qtooltip.h>
00017 #include "scribusapi.h"
00018 #include "scribusstructs.h"
00019 
00020 class ScribusDoc;
00021 
00022 class SCRIBUS_API CMSPrefs : public QWidget
00023 {
00024        Q_OBJECT
00025 
00026 public:
00027        CMSPrefs( QWidget* parent, CMSData *Vor, ProfilesL *InputProfiles, ProfilesL *InputProfilesCMYK, ProfilesL *PrinterProfiles, ProfilesL *MonitorProfiles);
00028        ~CMSPrefs() {};
00029 
00030        void restoreDefaults(CMSData *prefs, ProfilesL *InputProfiles, ProfilesL *InputProfilesCMYK, ProfilesL *PrinterProfiles, ProfilesL *MonitorProfiles);
00031        void updateDocSettings(ScribusDoc* doc);
00032 
00033        QCheckBox* checkBox1;
00034        QGroupBox* sysProfiles;
00035        QLabel* text2;
00036        QLabel* text1;
00037        QLabel* text1CMYK;
00038        QLabel* text3;
00039        QLabel* text4;
00040        QLabel* text5;
00041        QComboBox* inputPRGBIm;
00042        QComboBox* inputPCMYKIm;
00043        QComboBox* inputPRGB;
00044        QComboBox* inputPCMYK;
00045        QComboBox* monitorP;
00046        QComboBox* printerP;
00047        QGroupBox* render;
00048        QLabel* text22;
00049        QComboBox* imagesI;
00050        QComboBox* colorsI;
00051        QLabel* text21;
00052        QCheckBox* simulate;
00053        QCheckBox* convertAll;
00054        QCheckBox* gamutC;
00055        QCheckBox* blackP;
00056        CMSData *prefs;
00057        bool changed;
00058 
00059 public slots:
00060        virtual void slotCMSon();
00061        virtual void setValues();
00062        virtual void slotSimula();
00063 
00064 signals:
00065        void cmsOn(bool);
00066 
00067 protected:
00068        QVBoxLayout* cmsPrefsLayout;
00069        QGridLayout* sysProfilesLayout;
00070        QGridLayout* renderLayout;
00071        QHBoxLayout* convertLayout;
00072        QHBoxLayout* gamutLayout;
00073 };
00074 
00075 #endif // CMSPREFS_H