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 / ui / createrange.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-10-05  |  1.1 KB  |  46 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 CREATERANGE
  8. #define CREATERANGE
  9.  
  10. #include "scribusapi.h"
  11. #include "ui_createrange.h"
  12.  
  13. #include <QString>
  14. #include <QWidget>
  15. struct CreateRangeData;
  16.  
  17. class SCRIBUS_API CreateRange : public QDialog, Ui::CreateRange
  18. {
  19.     Q_OBJECT
  20.     public:
  21.         CreateRange(QString currText, int pageCount, QWidget* parent, Qt::WFlags fl=0);
  22.         ~CreateRange();
  23.         void getCreateRangeData(CreateRangeData&);
  24.         
  25.     protected slots:
  26.         void selectRangeType(QWidget *);
  27.         void basicAddToRange();
  28.         void basicDelFromRange();
  29.         void basicMoveUp();
  30.         void basicMoveDown();
  31.         void basicSelectRangeTypeConsec();
  32.         void basicSelectRangeTypeComma();
  33.         void basicSelectRangeTypeEven();
  34.         void basicSelectRangeTypeOdd();
  35.         void basicSelectRangeType(int);
  36.         void advSpinChange(int);
  37.         
  38.     protected:
  39.         int m_PageCount;
  40.         int m_RangeType;
  41.         int m_BasicRangeType;
  42.         QString m_PageString;
  43. };
  44.  
  45. #endif
  46.