Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | 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         void setColor(QColor c) { kcb->setColor(c); }
00027         void setColor(QString c) { kcb->setColor(QColor(c)); }
00028         int Apply() { return apply_clicked(); }
00029 private:
00030 #ifdef HAVE_MAGICK
00031         Color getColor(QColor c);
00032 #endif
00033         KComboBox *typecb, *noisecb;
00034         QLabel *xlabel, *ylabel, *zlabel;
00035         KLineEdit *xle, *yle, *zle;
00036         KColorButton *kcb;
00037 private slots:
00038         void updateOptions(int item);
00039         void saveSettings();
00040         int apply_clicked();
00041 };
00042 
00043 #endif // IMAGELISTDIALOG_H

Generated on Sun Apr 2 02:05:09 2006 for LabPlot by  doxygen 1.4.4