Scribus
Open source desktop publishing at your fingertips
prefs_colormanagement.h
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 
8 #ifndef PREFS_COLORMANAGEMENT_H
9 #define PREFS_COLORMANAGEMENT_H
10 
11 #include "ui_prefs_colormanagementbase.h"
12 #include "prefs_pane.h"
13 #include "scribusapi.h"
14 
15 class ScribusDoc;
16 
17 typedef QMap<QString,QString> ProfilesL;
18 
19 class SCRIBUS_API Prefs_ColorManagement : public Prefs_Pane, Ui::Prefs_ColorManagement
20 {
21  Q_OBJECT
22 
23  public:
24  Prefs_ColorManagement(QWidget* parent, ScribusDoc* doc=NULL);
26  virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
27  void setProfiles(struct ApplicationPrefs *prefsData, ProfilesL *inputProfiles, ProfilesL *inputProfilesCMYK, ProfilesL *printerProfiles, ProfilesL *monitorProfiles);
28  virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
29  bool cmActive();
30  protected:
31  bool m_canChangeMonitorProfile;
32  ScribusDoc *m_Doc;
33 
34  public slots:
35  void languageChange();
36 
37  protected slots:
38  void cmActivated(bool);
39  void simulatePrinter(bool);
40 
41 };
42 
43 #endif // PREFS_COLORMANAGEMENT_H
Definition: prefsstructs.h:453
Definition: prefs_colormanagement.h:19
the Document Class
Definition: scribusdoc.h:90
Definition: prefs_pane.h:14