8 #ifndef PREFS_DOCUMENTSETUP_H
9 #define PREFS_DOCUMENTSETUP_H
11 #include "ui_prefs_documentsetupbase.h"
12 #include "prefs_pane.h"
13 #include "scribusapi.h"
14 #include "scribusstructs.h"
18 class SCRIBUS_API Prefs_DocumentSetup :
public Prefs_Pane, Ui::Prefs_DocumentSetup
23 Prefs_DocumentSetup(QWidget* parent,
ScribusDoc* doc=NULL);
24 ~Prefs_DocumentSetup();
27 void getResizeDocumentPages(
bool &resizePages,
bool &resizeMasterPages,
bool &resizePageMargins,
bool &resizeMasterPageMargins);
31 void languageChange();
32 void pageLayoutChanged(
int);
35 void setPageWidth(
double);
41 void setPageHeight(
double);
47 void setPageOrientation(
int);
53 void setSize(
const QString & gr);
57 void emitSectionChange();
67 QString prefsPageSizeName;
68 QList<PageSet> pageSets;
71 void changeToOtherSection(
const QString&);
72 void prefsChangeUnits(
int unit);
75 #endif // PREFS_DOCUMENTSETUP_H
Definition: prefsstructs.h:453
the Document Class
Definition: scribusdoc.h:90
Definition: prefs_pane.h:14