Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

ImageListDialog.h

Go to the documentation of this file.
00001 //LabPlot : ImageListDialog.h
00002 
00003 #ifndef IMAGELISTDIALOG_H
00004 #define IMAGELISTDIALOG_H
00005 
00006 #include "ListDialog.h"
00007 
00008 #ifdef HAVE_MAGICK
00009 #include <list>
00010 #include "Magick++.h"
00011 using namespace Magick;
00012 #endif
00013 
00014 
00015 class ImageListDialog : public ListDialog
00016 {
00017         Q_OBJECT
00018 public:
00019         ImageListDialog(MainWin *mw, const char *name);
00020 public slots:
00021         void setType(int t) { typecb->setCurrentItem(t); }              
00022         void setNoise(int n) {noisecb->setCurrentItem(n); }     
00023         void setX(double v) { xle->setText(QString::number(v)); }       
00024         void setY(double v) { yle->setText(QString::number(v)); }       
00025         void setZ(double v) { zle->setText(QString::number(v)); }       
00026 private:
00027 #ifdef HAVE_MAGICK
00028         Color getColor(QColor c);
00029 #endif
00030         KComboBox *typecb, *noisecb;
00031         QLabel *xlabel, *ylabel, *zlabel;
00032         KLineEdit *xle, *yle, *zle;
00033         KColorButton *kcb;
00034 private slots:
00035         void updateOptions(int item);
00036         int apply_clicked();
00037 };
00038 
00039 #endif // IMAGELISTDIALOG_H

Generated on Fri Aug 19 21:34:44 2005 for LabPlot by doxygen 1.3.6