home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / inspage.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-09-02  |  1.8 KB  |  77 lines

  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. #ifndef INSPAGE_H
  8. #define INSPAGE_H
  9.  
  10. #include "scribusapi.h"
  11. #include <QDialog>
  12. #include <QList>
  13. #include <QStringList>
  14. #include <QGridLayout>
  15. #include <QHBoxLayout>
  16. #include <QVBoxLayout>
  17.  
  18. class QLabel;
  19. class QPushButton;
  20. class QSpinBox;
  21. class QGroupBox;
  22. class QCheckBox;
  23. class QComboBox;
  24. class ScrSpinBox;
  25. class ScribusDoc;
  26.  
  27. class SCRIBUS_API InsPage : public QDialog
  28. {
  29.     Q_OBJECT
  30.  
  31. public:
  32.     InsPage( QWidget* parent, ScribusDoc* currentDoc, int currentPage, int maxPages );
  33.     ~InsPage() {};
  34.     QGroupBox* dsGroupBox7;
  35.     QGroupBox* masterPageGroup;
  36.     ScrSpinBox* widthSpinBox;
  37.     ScrSpinBox* heightSpinBox;
  38.     QLabel*    widthQLabel;
  39.     QLabel*    heightQLabel;
  40.     QLabel* TextLabel1;
  41.     QLabel* TextLabel2;
  42.     QComboBox* sizeQComboBox;
  43.     QComboBox* orientationQComboBox;
  44.     QCheckBox* moveObjects;
  45.     double unitRatio;
  46.     QString prefsPageSizeName;
  47.     QList<QComboBox*> masterPageCombos;
  48.  
  49.     const QStringList getMasterPages();
  50.     const QString getMasterPageN(uint n);
  51.     int getWhere() const;
  52.     int getWherePage() const;
  53.     int getCount() const;
  54.  
  55. private:
  56.     QLabel* insCountLabel;
  57.     QLabel* masterPageLabel;
  58.     QLabel* pagesLabel;
  59.     QPushButton* cancelButton;
  60.     QPushButton* okButton;
  61.     QComboBox* insWhereData;
  62.     QSpinBox* insWherePageData;
  63.     QSpinBox* insCountData;
  64.     QVBoxLayout* dialogLayout;
  65.     QGridLayout* whereLayout;
  66.     QGridLayout* masterPageLayout;
  67.     QHBoxLayout* okCancelLayout;
  68.     QGridLayout* dsGroupBox7Layout;
  69.  
  70. private slots:
  71.     void insWherePageDataDisable (int index);
  72.     void setSize(const QString &);
  73.     void setOrien(int ori);
  74. };
  75.  
  76. #endif // INSPAGE_H
  77.