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

CapabilityListDialog.h

Go to the documentation of this file.
00001 //LabPlot : CapabilityListDialog.h
00002 
00003 #ifndef CAPABILITYLISTDIALOG_H
00004 #define CAPABILITYLISTDIALOG_H
00005 
00006 #include <qtextedit.h>
00007 #include "ListDialog.h"
00008 
00009 #ifdef HAVE_GSL
00010 #include <gsl/gsl_multifit_nlin.h>
00011 #endif
00012 
00013 class CapabilityListDialog : public ListDialog
00014 {
00015         Q_OBJECT
00016 public:
00017         CapabilityListDialog(MainWin *mw, const char *name);
00018 public slots:
00019         void setBins(int b) { binni->setValue(b); }
00020         void setLSL(double v) { lslle->setText(QString::number(v)); }
00021         void setUSL(double v) { uslle->setText(QString::number(v)); }
00022         void enableHistogram(bool e=true) { histcb->setChecked(e); }
00023         void enableFit(bool e=true) { fitcb->setChecked(e); }
00024         void enableLabel(bool e=true) { labelcb->setChecked(e); }
00025         QString Info() { return infote->text(); }
00026         int Apply() { return apply_clicked(); }
00027 private:
00028 #ifdef HAVE_GSL
00029         void print_state(int iter, gsl_multifit_fdfsolver * s);
00030 #endif
00031         KIntNumInput *binni;
00032         KLineEdit *lslle, *uslle;
00033         QTextEdit *infote;
00034         QCheckBox *histcb, *fitcb, *labelcb;    
00035 private slots:
00036         void saveSettings();
00037         int apply_clicked();
00038 };
00039 
00040 #endif // CAPABILITYLISTDIALOG_H

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