Subversion Repositories Scribus

Rev

Rev 14451 | Rev 14737 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
13761 cbradney 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_PDFEXPORT_H
9
#define PREFS_PDFEXPORT_H
10
 
11
#include "ui_prefs_pdfexportbase.h"
14448 cbradney 12
#include "prefs_pane.h"
13761 cbradney 13
#include "scribusapi.h"
14
 
14736 cbradney 15
#include "pdfoptions.h"
14451 cbradney 16
class ScribusDoc;
17
 
14448 cbradney 18
class SCRIBUS_API Prefs_PDFExport : public Prefs_Pane, Ui::Prefs_PDFExport
13761 cbradney 19
{
20
        Q_OBJECT
21
 
22
        public:
23
                Prefs_PDFExport(QWidget* parent=0);
24
                ~Prefs_PDFExport();
14448 cbradney 25
                virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
26
                virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
27
 
14736 cbradney 28
        signals:
29
                void noInfo();
30
                void hasInfo();
31
 
14448 cbradney 32
        public slots:
33
                void languageChange();
14451 cbradney 34
                void unitChange(int);
35
 
36
        protected slots:
37
                void enableRangeControls(bool);
38
                void enableSecurityControls(bool);
39
                void createPageNumberRange();
14736 cbradney 40
                void setMaximumResolution();
41
                void enableProfiles(int);
42
                void enableLPI(int);
43
                void enablePG();
44
                void enablePGI();
45
                void enablePGI2();
46
                void enablePDFX(int);
14451 cbradney 47
 
48
        protected:
14736 cbradney 49
                void setCustomRenderingWidgetsShown(bool);
50
                void setSolidsImagesWidgetsShown(bool);
51
                void setSolidsImagesWidgetsEnabled(bool);
14451 cbradney 52
                bool cmsEnabled;
53
                ScribusDoc* m_doc;
14736 cbradney 54
                QString defaultSolidColorRGBProfile;
55
                PDFOptions Opts;
13761 cbradney 56
};
57
 
58
#endif // PREFS_PDFEXPORT_H