Scribus
Open source desktop publishing at your fingertips
createrange.h
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);
22  ~CreateRange();
23  void getCreateRangeData(CreateRangeData&);
24 
25  protected slots:
26  void selectRangeType(int);
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();
37 
38  protected:
39  int m_PageCount;
40  int m_RangeType;
41  int m_BasicRangeType;
42  QString m_PageString;
43 };
44 
45 #endif
Definition: usertaskstructs.h:49
Definition: createrange.h:17