Subversion Repositories Scribus

Rev

Rev 13510 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6658 cbradney 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
 
6673 jghali 10
#include "scribusapi.h"
8524 subik 11
#include "ui_createrange.h"
6658 cbradney 12
 
10016 cbradney 13
#include <QString>
14
#include <QWidget>
10601 mrdocs 15
struct CreateRangeData;
6658 cbradney 16
 
8524 subik 17
class SCRIBUS_API CreateRange : public QDialog, Ui::CreateRange
6658 cbradney 18
{
19
        Q_OBJECT
20
        public:
10469 cbradney 21
                CreateRange(QString currText, int pageCount, QWidget* parent, Qt::WFlags fl=0);
6658 cbradney 22
                ~CreateRange();
23
                void getCreateRangeData(CreateRangeData&);
24
 
25
        protected slots:
15409 craig 26
                void selectRangeType(int);
6658 cbradney 27
                void basicAddToRange();
28
                void basicDelFromRange();
29
                void basicMoveUp();
30
                void basicMoveDown();
31
                void basicSelectRangeTypeConsec();
32
                void basicSelectRangeTypeComma();
6667 cbradney 33
                void basicSelectRangeTypeEven();
34
                void basicSelectRangeTypeOdd();
6658 cbradney 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