Back to index

scribus-ng  1.3.4.dfsg+svn20071115
dialog.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 EXPORTFORM_H
00008 #define EXPORTFORM_H
00009 
00010 #include <qvariant.h>
00011 #include <qdialog.h>
00012 #include <qradiobutton.h>
00013 
00014 class QVBoxLayout;
00015 class QHBoxLayout;
00016 class QGridLayout;
00017 class QButtonGroup;
00018 class QComboBox;
00019 class QGroupBox;
00020 class QLabel;
00021 class QLineEdit;
00022 class QPushButton;
00023 class QSpinBox;
00024 class PrefsContext;
00025 class MSpinBox;
00026 class ScribusDoc;
00027 
00028 class ExportForm : public QDialog
00029 {
00030        Q_OBJECT
00031 
00032 public:
00033        ExportForm( QWidget* parent, ScribusDoc* doc, int size, int quality, QString type);
00034        ~ExportForm();
00035 
00036        QString bitmapType;
00037 
00038        QLabel* TextLabel1;
00039        QLineEdit* OutputDirectory;
00040        QPushButton* OutputDirectoryButton;
00041        QGroupBox* groupBox1;
00042        QLabel* TextLabel2;
00043        QLabel* textLabel1;
00044        QLabel* textLabel3;
00045        QLabel* textLabel4;
00046        QLabel* textLabel5;
00047        QLabel* textLabel6;
00048        QComboBox* BitmapType;
00049        QSpinBox* QualityBox;
00050        QSpinBox* DPIBox;
00051        MSpinBox* EnlargementBox;
00052        QButtonGroup* ButtonGroup1;
00053        QRadioButton* OnePageRadio;
00054        QRadioButton* AllPagesRadio;
00055        QRadioButton* IntervalPagesRadio;
00056        QLineEdit* RangeVal;
00057        QPushButton* OkButton;
00058        QPushButton* CancelButton;
00059        
00060 
00061 public slots:
00062        virtual void OutputDirectoryButton_pressed();
00063        virtual void OkButton_pressed();
00064        virtual void IntervalPagesRadio_stateChanged( int );
00065        virtual void AllPagesRadio_stateChanged( int );
00066        virtual void OnePageRadio_stateChanged( int );
00067        virtual void computeSize();
00068 
00069 protected:
00070        QVBoxLayout* ExportFormLayout;
00071        QHBoxLayout* layout1;
00072        QHBoxLayout* layout3;
00073        QGridLayout* groupBox1Layout;
00074        QVBoxLayout* ButtonGroup1Layout;
00075        QHBoxLayout* layout2;
00076        QHBoxLayout* layout4;
00077        QHBoxLayout *pageNumberSelectorLayout;
00078        QPushButton* pageNrButton;
00079        PrefsContext* prefs;
00080        ScribusDoc*  m_doc;
00081        int m_PageCount;
00082        
00083 protected slots:
00084        virtual void createPageNumberRange();
00085        virtual void languageChange();
00086        virtual void readConfig();
00087        virtual void writeConfig();
00088 };
00089 
00090 #endif // EXPORTFORM_H