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

FilterListDialog.h

Go to the documentation of this file.
00001 //LabPlot : FilterListDialog.h
00002 
00003 #ifndef FILTERLISTDIALOG_H
00004 #define FILTERLISTDIALOG_H
00005 
00006 #include "ListDialog.h"
00007 
00008 class FilterListDialog : public ListDialog
00009 {
00010         Q_OBJECT
00011 public:
00012         FilterListDialog(MainWin *mw, const char *name);
00013 public slots:
00014         int Type() { return typecb->currentItem(); }            
00015         void setType(int t) { typecb->setCurrentItem(t); }      
00016         int Order() { return orderni->value(); }                
00017         void setOrder(int o) { orderni->setValue(o); }          
00018         double Cuttoff() { return cutoffle->text().toDouble(); }        
00019         void setCutoff(double c) { cutoffle->setText(QString::number(c)); }     
00020         double Bandwidth() { return bandwidthle->text().toDouble(); }   
00021         void setBandwidth(double b) { bandwidthle->setText(QString::number(b)); }       
00022         int Apply() { return apply_clicked(); }
00023 private:
00024         double filter_calculate(double frequency);
00025         KComboBox *typecb;
00026         QLabel *cutofflabel, *bandwidthlabel;
00027         KIntNumInput *orderni;
00028         KLineEdit *cutoffle, *bandwidthle;
00029 private slots:
00030         void saveSettings();
00031         int apply_clicked();
00032         void updateType(int);
00033 };
00034 
00035 #endif // FILTERLISTDIALOG_H

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