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 setThreads(int t) { threadsni->setValue(t); } 00019 void setNrThreads(int t) { setThreads(t); } 00020 int Apply() { return apply_clicked(); } 00021 private slots: 00022 void saveSettings(); 00023 int apply_clicked(); 00024 private: 00025 QComboBox *library, *transform, *xvalues, *yvalues; 00026 KIntNumInput *threadsni; 00027 }; 00028 00029 #endif // FFTLISTDIALOG_H