Back to index

scribus-ng  1.3.4.dfsg+svn20071115
createrange.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 #ifndef CREATERANGE
00008 #define CREATERANGE
00009 
00010 #include "scribusapi.h"
00011 #include "createrangebase.h"
00012 #include "usertaskstructs.h"
00013 
00014 #include <qstring.h>
00015 #include <qwidget.h>
00016 
00017 class SCRIBUS_API CreateRange : public CreateRangeBase
00018 {
00019        Q_OBJECT
00020        public:
00021               CreateRange(QString currText, int pageCount, QWidget* parent, const char* name = "" , WFlags fl=0);
00022               ~CreateRange();
00023               void getCreateRangeData(CreateRangeData&);
00024               
00025        protected slots:
00026               void selectRangeType(QWidget *);
00027               void basicAddToRange();
00028               void basicDelFromRange();
00029               void basicMoveUp();
00030               void basicMoveDown();
00031               void basicSelectRangeTypeConsec();
00032               void basicSelectRangeTypeComma();
00033               void basicSelectRangeTypeEven();
00034               void basicSelectRangeTypeOdd();
00035               void basicSelectRangeType(int);
00036               void advSpinChange(int);
00037               
00038        protected:
00039               int m_PageCount;
00040               int m_RangeType;
00041               int m_BasicRangeType;
00042               QString m_PageString;
00043 };
00044 
00045 #endif