00001 //LabPlot : FFTListDialog.h 00002 00003 #ifndef FFTLISTDIALOG_H 00004 #define FFTLISTDIALOG_H 00005 00006 #include "ListDialog.h" 00007 00008 class FFTListDialog : public ListDialog 00009 { 00010 Q_OBJECT 00011 public: 00012 FFTListDialog(MainWin *mw, const char *name); 00013 public slots: 00014 void setLibrary(int l) { library->setCurrentItem(l); } 00015 void setDirection(bool d=false) { transform->setCurrentItem(d); } 00016 void setXValues(int v) { xvalues->setCurrentItem(v); } 00017 void setYValues(int v) { yvalues->setCurrentItem(v); } 00018 void setNrThreads(int t) { threadsle->setText(QString::number(t)); } 00019 private slots: 00020 int apply_clicked(); 00021 private: 00022 QComboBox *library, *transform, *xvalues, *yvalues; 00023 KLineEdit *threadsle; 00024 }; 00025 00026 #endif // FFTLISTDIALOG_H