00001 //LabPlot : PstoEditDialog.h 00002 00003 #ifndef PSTOEDITDIALOG_H 00004 #define PSTOEDITDIALOG_H 00005 00006 #include <qfont.h> 00007 #include <qcheckbox.h> 00008 #include "MainWin.h" 00009 #include "Dialog.h" 00010 00011 class PstoEditDialog: public Dialog 00012 { 00013 Q_OBJECT 00014 public: 00015 PstoEditDialog(MainWin *mw, QString fn=i18n("out.pdf"), int f=4, int s=5, double sc=1.0, 00016 double r=0.0, const char *name=0); 00017 public slots: 00018 void updateFilename(int index); 00019 void selectFile(); 00020 void Apply() { apply_clicked(); accept(); } 00021 private: 00022 KComboBox *format, *pagesize; 00023 KLineEdit *filele, *scalele, *rotle; 00024 private slots: 00025 void apply_clicked(); 00026 }; 00027 00028 #endif //PSTOEDITDIALOG_H