15 #ifndef APPLYMASTERPAGEDIALOG_H
16 #define APPLYMASTERPAGEDIALOG_H
21 #include "scribusapi.h"
22 #include "scribusdoc.h"
24 #include "ui/scrspinbox.h"
45 virtual void changeEvent(QEvent *e);
47 QLabel* masterPageLabel;
48 QComboBox* masterPageComboBox;
49 QGroupBox* applyToPageButtonGroup;
50 QRadioButton* currentPageRadioButton;
51 QRadioButton* evenPagesRadioButton;
52 QRadioButton* oddPagesRadioButton;
53 QRadioButton* allPagesRadioButton;
54 QCheckBox* useRangeCheckBox;
58 QPushButton* okButton;
59 QPushButton* cancelButton;
61 virtual void setup(
ScribusDoc * view, QString Nam );
62 virtual QString getMasterPageName();
63 virtual int getPageSelection();
64 virtual bool usingRange();
65 virtual int getFromPage();
66 virtual int getToPage();
69 QVBoxLayout* ApplyMasterPageDialogLayout;
70 QHBoxLayout* templateNameLayout;
72 QVBoxLayout* applyToPageButtonGroupLayout;
73 QHBoxLayout* rangeLayout;
79 virtual void languageChange();
82 virtual void checkRangeFrom();
83 virtual void checkRangeTo();
84 virtual void enableRange(
bool enabled );
85 virtual void rangeSelectable();
86 virtual void singleSelectable();
90 #endif // APPLYMASTERPAGEDIALOG_H
the Document Class
Definition: scribusdoc.h:90
ScrSpinBox is a Qt4 replacement for our old ScrSpinBox using Qt3.
Definition: scrspinbox.h:21
Definition: applytemplatedialog.h:37