Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

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>
00011 #include "scribusapi.h"
00012 
00013 class QGridLayout;
00014 class QHBoxLayout;
00015 class QVBoxLayout;
00016 class QCheckBox;
00017 class QComboBox;
00018 class QGroupBox;
00019 class QLabel;
00020 class ScribusDoc;
00021 struct CMSData;
00022 typedef QMap<QString,QString> ProfilesL;
00023 
00024 class SCRIBUS_API CMSPrefs : public QWidget
00025 {
00026     Q_OBJECT
00027 
00028 public:
00029     CMSPrefs( QWidget* parent, CMSData *Vor, ProfilesL *InputProfiles, ProfilesL *InputProfilesCMYK, ProfilesL *PrinterProfiles, ProfilesL *MonitorProfiles);
00030     ~CMSPrefs() {};
00031 
00032     void restoreDefaults(CMSData *prefs, ProfilesL *InputProfiles, ProfilesL *InputProfilesCMYK, ProfilesL *PrinterProfiles, ProfilesL *MonitorProfiles);
00033     void updateDocSettings(ScribusDoc* doc);
00034 
00035     QCheckBox* checkBox1;
00036     QGroupBox* sysProfiles;
00037     QLabel* text2;
00038     QLabel* text1;
00039     QLabel* text1CMYK;
00040     QLabel* text3;
00041     QLabel* text4;
00042     QLabel* text5;
00043     QComboBox* inputPRGBIm;
00044     QComboBox* inputPCMYKIm;
00045     QComboBox* inputPRGB;
00046     QComboBox* inputPCMYK;
00047     QComboBox* monitorP;
00048     QComboBox* printerP;
00049     QGroupBox* render;
00050     QLabel* text22;
00051     QComboBox* imagesI;
00052     QComboBox* colorsI;
00053     QLabel* text21;
00054     QCheckBox* simulate;
00055     QCheckBox* convertAll;
00056     QCheckBox* gamutC;
00057     QCheckBox* blackP;
00058     CMSData *prefs;
00059     bool changed;
00060 
00061 public slots:
00062     virtual void slotCMSon();
00063     virtual void setValues();
00064     virtual void slotSimula();
00065 
00066 signals:
00067     void cmsOn(bool);
00068 
00069 protected:
00070     QVBoxLayout* cmsPrefsLayout;
00071     QGridLayout* sysProfilesLayout;
00072     QGridLayout* renderLayout;
00073     QHBoxLayout* convertLayout;
00074     QHBoxLayout* gamutLayout;
00075 };
00076 
00077 #endif // CMSPREFS_H
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.