Back to index

scribus-ng  1.3.4.dfsg+svn20071115
delpages.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 DELPAGES_H
00008 #define DELPAGES_H
00009 
00010 #include "scribusapi.h"
00011 
00012 class QDialog;
00013 class QLabel;
00014 class QLayout;
00015 class QPushbutton;
00016 class QSpinbox;
00017 
00018 class SCRIBUS_API DelPages : public QDialog
00019 { 
00020     Q_OBJECT
00021 
00022 public:
00023     DelPages( QWidget* parent, int currentPage, int maxPage );
00024     ~DelPages() {};
00025 
00026        const int getFromPage();
00027        const int getToPage();
00028 
00029 private:
00030     QVBoxLayout* dialogLayout;
00031     QHBoxLayout* fromToLayout;
00032     QHBoxLayout* okCancelLayout;
00033 
00034     QPushButton* cancelButton;
00035     QPushButton* okButton;
00036     QLabel* fromLabel;
00037     QLabel* toLabel;
00038     QSpinBox* toPageData;
00039     QSpinBox* fromPageData;
00040 
00041 private slots:
00042     virtual void fromChanged(int pageNumber);
00043     virtual void toChanged(int pageNumber);
00044 };
00045 
00046 #endif // DELPAGES_H