10 #include "scribusapi.h"
11 #include "scribusstructs.h"
15 #include "linkbutton.h"
16 #include "marginpresetlayout.h"
40 MarginWidget( QWidget* parent, QString title,
const MarginStruct* margs,
int unitIndex,
bool showChangeAll=
false,
bool showBleeds=
true);
43 void setFacingPages(
bool facing,
int pagetype = 0);
45 void setPageWidthHeight(
double width,
double height);
47 void setPageWidth(
double width);
49 void setPageHeight(
double heigth);
51 void setNewUnit(
int newUnitIndex);
53 void setPageSize(
const QString& pageSize);
63 double bottom()
const;
79 void setMarginPreset(
int p);
80 int getMarginPreset();
84 double topBleed()
const;
87 double bottomBleed()
const;
90 double leftBleed()
const;
93 double rightBleed()
const;
102 bool getMarginsForAllPages()
const;
103 bool getMarginsForAllMasterPages()
const;
125 QLabel* marginsForPages;
130 QCheckBox* marginsForAllPages;
131 QCheckBox* marginsForAllMasterPages;
132 QPushButton* usePrinterMarginsButton;
160 void slotLinkBleeds();
161 void slotLinkMargins();
165 virtual void setMarginsToPrinterMargins();
168 void updateMarginSpinValues();
169 QGridLayout* GroupLayout;
170 QHBoxLayout* marginsForPagesLayout;
171 QGridLayout* BleedGroupLayout;
Pagemargins and bleeds.
Definition: margins.h:25
ScrSpinBox is a Qt4 replacement for our old ScrSpinBox using Qt3.
Definition: scrspinbox.h:21
This is inherited QComboBox widget used in MarginWidget as "Preset List". It contains functionality f...
Definition: marginpresetlayout.h:19