00001
00002
00003 #ifndef IMAGEMAGICKDIALOG_H
00004 #define IMAGEMAGICKDIALOG_H
00005
00006 #include <qfont.h>
00007 #include <qcheckbox.h>
00008 #include "MainWin.h"
00009 #include "Dialog.h"
00010
00011 class ImageMagickDialog: public Dialog
00012 {
00013 Q_OBJECT
00014 public:
00015 ImageMagickDialog(class MainWin *mw, QString fn="out.8bim", int f=0, int sx=800, int sy=600,
00016 double r=0.0, const char *name=0);
00017 public slots:
00018 void OK() { agree(); accept(); }
00019 void agree();
00020 private slots:
00021 void selectFile();
00022 void updateFilename(int index);
00023 private:
00024 class MainWin *mw;
00025 QStringList formats;
00026 KComboBox *format;
00027 KLineEdit *filele, *xle, *yle, *rotle;
00028 };
00029
00030 #endif //IMAGEMAGICKDIALOG_H