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 v) {typecb->setCurrentItem(v); }               
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         void setSorted(bool b=true) { sorted->setChecked(b); }          
00021         int Apply() { return apply_clicked(); }
00022 private:
00023         KComboBox *typecb;
00024         KIntNumInput *nrni;
00025         QCheckBox *sorted;
00026 private slots:
00027         void saveSettings();
00028         int apply_clicked();
00029 };
00030 
00031 #endif // INTERPOLATIONLISTDIALOG_H

Generated on Sat Oct 13 21:55:01 2007 for LabPlot by  doxygen 1.4.4