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

InterpolationListDialog.h

Go to the documentation of this file.
00001 //LabPlot : InterpolationListDialog.h
00002 
00003 #ifndef INTERPOLATIONLISTDIALOG_H
00004 #define INTERPOLATIONLISTDIALOG_H
00005 
00006 #include "ListDialog.h"
00007 
00008 class InterpolationListDialog : public ListDialog
00009 {
00010         Q_OBJECT
00011 public:
00012         InterpolationListDialog(MainWin *mw, const char *name);
00013 public slots:
00014         void setType(int type) {typecb->setCurrentItem(type); }         
00015         void setRange(double a, double b) {                                             
00016                 ale->setText(QString::number(a)); ble->setText(QString::number(b)); }
00017         void setFrom(double v) { ale->setText(QString::number(v)); }
00018         void setTo(double v) { ble->setText(QString::number(v)); }
00019         void setNumber(int nr) { nrni->setValue(nr); }                  
00020         int Apply() { return apply_clicked(); }
00021 private:
00022         KComboBox *typecb;
00023         KIntNumInput *nrni;
00024 private slots:
00025         void saveSettings();
00026         int apply_clicked();
00027 };
00028 
00029 #endif // INTERPOLATIONLISTDIALOG_H

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