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 / movepage.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-05-06  |  1.3 KB  |  62 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 MOVEPAGES_H
  8. #define MOVEPAGES_H
  9.  
  10. #include <QVBoxLayout>
  11. #include <QGridLayout>
  12. #include <QHBoxLayout>
  13. #include <QDialog>
  14.  
  15. class QComboBox;
  16. class QLabel;
  17. class QPushButton;
  18. class QSpinBox;
  19.  
  20. #include "scribusapi.h"
  21.  
  22. class SCRIBUS_API MovePages : public QDialog
  23.     Q_OBJECT
  24.  
  25. public:
  26.     MovePages( QWidget* parent, int currentPage, int maxPages, bool moving );
  27.     ~MovePages() {};
  28.  
  29.     const int getFromPage();
  30.     const int getToPage();
  31.     const int getWhere();
  32.     const int getWherePage();
  33.     const int getCopyCount();
  34.  
  35.  
  36. private:
  37.     QLabel* moveLabel;
  38.     QLabel* toLabel;
  39.     QLabel* numberOfCopiesLabel;
  40.     QSpinBox* fromPageData;
  41.     QSpinBox* toPageData;
  42.     QSpinBox* numberOfCopiesData;
  43.     QSpinBox* mvWherePageData;
  44.     QComboBox* mvWhereData;
  45.     QPushButton* okButton;
  46.     QPushButton* cancelButton;
  47.     QVBoxLayout* dialogLayout;
  48.     QGridLayout* fromToLayout;
  49.     QHBoxLayout* okCancelLayout;
  50.  
  51.     bool move;
  52.  
  53. private slots:
  54.     virtual void fromChanged(int);
  55.     virtual void toChanged(int);
  56.     void mvWherePageDataDisable(int index);
  57. };
  58.  
  59. #endif // MOVEPAGES_H
  60.  
  61.