ApplyMasterPageDialog Class Reference
#include <applytemplatedialog.h>
Public Member Functions | |
| ApplyMasterPageDialog (QWidget *parent=0) | |
| ~ApplyMasterPageDialog () | |
| virtual void | changeEvent (QEvent *e) |
| virtual void | setup (ScribusDoc *view, QString Nam) |
| virtual QString | getMasterPageName () |
| virtual int | getPageSelection () |
| virtual bool | usingRange () |
| virtual int | getFromPage () |
| virtual int | getToPage () |
Public Attributes | |
| QLabel * | masterPageLabel |
| QComboBox * | masterPageComboBox |
| QGroupBox * | applyToPageButtonGroup |
| QRadioButton * | currentPageRadioButton |
| QRadioButton * | evenPagesRadioButton |
| QRadioButton * | oddPagesRadioButton |
| QRadioButton * | allPagesRadioButton |
| QCheckBox * | useRangeCheckBox |
| QSpinBox * | fromPageSpinBox |
| QLabel * | toPageLabel |
| QSpinBox * | toPageSpinBox |
| QPushButton * | okButton |
| QPushButton * | cancelButton |
Protected Slots | |
| virtual void | languageChange () |
Protected Attributes | |
| QVBoxLayout * | ApplyMasterPageDialogLayout |
| QHBoxLayout * | templateNameLayout |
| QSpacerItem * | spacer2 |
| QVBoxLayout * | applyToPageButtonGroupLayout |
| QHBoxLayout * | rangeLayout |
| QSpacerItem * | spacer3 |
| QHBoxLayout * | layout8 |
| QSpacerItem * | spacer1 |
Private Slots | |
| virtual void | checkRangeFrom () |
| virtual void | checkRangeTo () |
| virtual void | enableRange (bool enabled) |
| virtual void | rangeSelectable () |
| virtual void | singleSelectable () |
Detailed Description
Definition at line 36 of file applytemplatedialog.h.
Constructor & Destructor Documentation
| ApplyMasterPageDialog::ApplyMasterPageDialog | ( | QWidget * | parent = 0 |
) |
Definition at line 49 of file applytemplatedialog.cpp.
References allPagesRadioButton, ApplyMasterPageDialogLayout, applyToPageButtonGroup, applyToPageButtonGroupLayout, cancelButton, checkRangeFrom(), checkRangeTo(), currentPageRadioButton, enableRange(), evenPagesRadioButton, fromPageSpinBox, languageChange(), layout8, loadIcon(), masterPageComboBox, masterPageLabel, oddPagesRadioButton, okButton, rangeLayout, rangeSelectable(), singleSelectable(), spacer1, spacer2, spacer3, templateNameLayout, toPageLabel, toPageSpinBox, tr(), and useRangeCheckBox.
| ApplyMasterPageDialog::~ApplyMasterPageDialog | ( | ) |
Definition at line 149 of file applytemplatedialog.cpp.
Member Function Documentation
| void ApplyMasterPageDialog::changeEvent | ( | QEvent * | e | ) | [virtual] |
| void ApplyMasterPageDialog::setup | ( | ScribusDoc * | view, | |
| QString | Nam | |||
| ) | [virtual] |
Definition at line 154 of file applytemplatedialog.cpp.
References ScribusDoc::currentPage(), evenPagesRadioButton, fromPageSpinBox, ScribusDoc::MasterNames, masterPageComboBox, CommonStrings::masterPageNormal, Page::pageNr(), ScribusDoc::Pages, toPageSpinBox, and CommonStrings::trMasterPageNormal.
| QString ApplyMasterPageDialog::getMasterPageName | ( | ) | [virtual] |
| int ApplyMasterPageDialog::getPageSelection | ( | ) | [virtual] |
Definition at line 182 of file applytemplatedialog.cpp.
References AllPages, CurrentPage, currentPageRadioButton, EvenPages, evenPagesRadioButton, OddPages, and oddPagesRadioButton.
| bool ApplyMasterPageDialog::usingRange | ( | ) | [virtual] |
| int ApplyMasterPageDialog::getFromPage | ( | ) | [virtual] |
Definition at line 240 of file applytemplatedialog.cpp.
References fromPageSpinBox, and useRangeCheckBox.
| int ApplyMasterPageDialog::getToPage | ( | ) | [virtual] |
Definition at line 248 of file applytemplatedialog.cpp.
References toPageSpinBox, and useRangeCheckBox.
| void ApplyMasterPageDialog::languageChange | ( | ) | [protected, virtual, slot] |
Definition at line 265 of file applytemplatedialog.cpp.
References allPagesRadioButton, applyToPageButtonGroup, cancelButton, currentPageRadioButton, evenPagesRadioButton, masterPageLabel, oddPagesRadioButton, okButton, toPageLabel, tr(), CommonStrings::tr_Cancel, CommonStrings::tr_OK, and useRangeCheckBox.
Referenced by ApplyMasterPageDialog(), and changeEvent().
| void ApplyMasterPageDialog::checkRangeFrom | ( | ) | [private, virtual, slot] |
Definition at line 194 of file applytemplatedialog.cpp.
References checkRangeTo(), fromPageSpinBox, and toPageSpinBox.
Referenced by ApplyMasterPageDialog(), and checkRangeTo().
| void ApplyMasterPageDialog::checkRangeTo | ( | ) | [private, virtual, slot] |
Definition at line 204 of file applytemplatedialog.cpp.
References checkRangeFrom(), fromPageSpinBox, and toPageSpinBox.
Referenced by ApplyMasterPageDialog(), and checkRangeFrom().
| void ApplyMasterPageDialog::enableRange | ( | bool | enabled | ) | [private, virtual, slot] |
Definition at line 214 of file applytemplatedialog.cpp.
References fromPageSpinBox, and toPageSpinBox.
Referenced by ApplyMasterPageDialog(), and rangeSelectable().
| void ApplyMasterPageDialog::rangeSelectable | ( | ) | [private, virtual, slot] |
Definition at line 220 of file applytemplatedialog.cpp.
References enableRange(), and useRangeCheckBox.
Referenced by ApplyMasterPageDialog().
| void ApplyMasterPageDialog::singleSelectable | ( | ) | [private, virtual, slot] |
Definition at line 226 of file applytemplatedialog.cpp.
References fromPageSpinBox, toPageSpinBox, and useRangeCheckBox.
Referenced by ApplyMasterPageDialog().
Member Data Documentation
Definition at line 46 of file applytemplatedialog.h.
Referenced by ApplyMasterPageDialog(), and languageChange().
| QComboBox* ApplyMasterPageDialog::masterPageComboBox |
Definition at line 47 of file applytemplatedialog.h.
Referenced by ApplyMasterPageDialog(), getMasterPageName(), and setup().
Definition at line 48 of file applytemplatedialog.h.
Referenced by ApplyMasterPageDialog(), and languageChange().
| QRadioButton* ApplyMasterPageDialog::currentPageRadioButton |
Definition at line 49 of file applytemplatedialog.h.
Referenced by ApplyMasterPageDialog(), getPageSelection(), and languageChange().
| QRadioButton* ApplyMasterPageDialog::evenPagesRadioButton |
Definition at line 50 of file applytemplatedialog.h.
Referenced by ApplyMasterPageDialog(), getPageSelection(), languageChange(), and setup().
| QRadioButton* ApplyMasterPageDialog::oddPagesRadioButton |
Definition at line 51 of file applytemplatedialog.h.
Referenced by ApplyMasterPageDialog(), getPageSelection(), and languageChange().
| QRadioButton* ApplyMasterPageDialog::allPagesRadioButton |
Definition at line 52 of file applytemplatedialog.h.
Referenced by ApplyMasterPageDialog(), and languageChange().
| QCheckBox* ApplyMasterPageDialog::useRangeCheckBox |
Definition at line 53 of file applytemplatedialog.h.
Referenced by ApplyMasterPageDialog(), getFromPage(), getToPage(), languageChange(), rangeSelectable(), singleSelectable(), and usingRange().
| QSpinBox* ApplyMasterPageDialog::fromPageSpinBox |
Definition at line 54 of file applytemplatedialog.h.
Referenced by ApplyMasterPageDialog(), checkRangeFrom(), checkRangeTo(), enableRange(), getFromPage(), setup(), and singleSelectable().
Definition at line 55 of file applytemplatedialog.h.
Referenced by ApplyMasterPageDialog(), and languageChange().
| QSpinBox* ApplyMasterPageDialog::toPageSpinBox |
Definition at line 56 of file applytemplatedialog.h.
Referenced by ApplyMasterPageDialog(), checkRangeFrom(), checkRangeTo(), enableRange(), getToPage(), setup(), and singleSelectable().
| QPushButton* ApplyMasterPageDialog::okButton |
Definition at line 57 of file applytemplatedialog.h.
Referenced by ApplyMasterPageDialog(), and languageChange().
| QPushButton* ApplyMasterPageDialog::cancelButton |
Definition at line 58 of file applytemplatedialog.h.
Referenced by ApplyMasterPageDialog(), and languageChange().
QVBoxLayout* ApplyMasterPageDialog::ApplyMasterPageDialogLayout [protected] |
QHBoxLayout* ApplyMasterPageDialog::templateNameLayout [protected] |
QSpacerItem* ApplyMasterPageDialog::spacer2 [protected] |
QVBoxLayout* ApplyMasterPageDialog::applyToPageButtonGroupLayout [protected] |
QHBoxLayout* ApplyMasterPageDialog::rangeLayout [protected] |
QSpacerItem* ApplyMasterPageDialog::spacer3 [protected] |
QHBoxLayout* ApplyMasterPageDialog::layout8 [protected] |
QSpacerItem* ApplyMasterPageDialog::spacer1 [protected] |
The documentation for this class was generated from the following files:
