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

PeakListDialog.h

Go to the documentation of this file.
00001 //LabPlot : PeakListDialog.h
00002 
00003 #ifndef PEAKLISTDIALOG_H
00004 #define PEAKLISTDIALOG_H
00005 
00006 #include "ListDialog.h"
00007 
00008 class PeakListDialog : public ListDialog
00009 {
00010         Q_OBJECT
00011 public:
00012         PeakListDialog(MainWin *mw, const char *name);
00013 public slots:
00014         void setThreshold(double t) { thresholdle->setText(QString::number(t)); }       
00015         void setAccuracy(int a) { accuni->setValue(a); }                        
00016         void searchNegative(bool n=true) { negativecb->setChecked(n); }         
00017         void enableNegativePeaks(bool e=true) { searchNegative(e); }
00018         int Apply() { return apply_clicked(); }
00019 private:
00020         KLineEdit *thresholdle;
00021         KIntNumInput *accuni;
00022         QCheckBox *negativecb;
00023 private slots:
00024         void saveSettings();
00025         int apply_clicked();
00026 };
00027 
00028 #endif // PEAKLISTDIALOG_H

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