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

NoiseListDialog.h

Go to the documentation of this file.
00001 //LabPlot : NoiseListDialog.h
00002 
00003 #ifndef NOISELISTDIALOG_H
00004 #define NOISELISTDIALOG_H
00005 
00006 #include "ListDialog.h"
00007 
00008 class NoiseListDialog : public ListDialog
00009 {
00010         Q_OBJECT
00011 public:
00012         NoiseListDialog(MainWin *mw, const char *name);
00013 public slots:
00014         int Type() { return typecb->currentItem(); }            
00015         void setType(int t) { typecb->setCurrentItem(t); }      
00016         double Parameter1() { return par1le->text().toDouble(); }               
00017         void setParameter1(double p) { par1le->setText(QString::number(p)); }   
00018         double Parameter2() { return par2le->text().toDouble(); }               
00019         void setParameter2(double p) { par2le->setText(QString::number(p)); }   
00020         double Parameter3() { return par3le->text().toDouble(); }               
00021         void setParameter3(double p) { par3le->setText(QString::number(p)); }   
00022         int Apply() { return apply_clicked(); }
00023 private:
00024         KComboBox *typecb;
00025         KLineEdit *par1le, *par2le, *par3le;
00026         QLabel *label1, *label2, *label3;
00027 private slots:
00028         void saveSettings();
00029         int apply_clicked();
00030         void updateType(int);
00031 };
00032 
00033 #endif // NOISELISTDIALOG_H

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