00001 //LabPlot : WaveletListDialog.h 00002 00003 #ifndef WAVELETLISTDIALOG_H 00004 #define WAVELETLISTDIALOG_H 00005 00006 #include "ListDialog.h" 00007 00008 class WaveletListDialog : public ListDialog 00009 { 00010 Q_OBJECT 00011 public: 00012 WaveletListDialog(MainWin *mw, const char *name); 00013 public slots: 00014 void setDirection(int d=0) { transform->setCurrentItem(d); } 00015 void setTransform(int d=0) { setDirection(d); } 00016 void setForm(bool t=false) { form->setCurrentItem(t); } 00017 void setType(int t) { typecb->setCurrentItem(t); } 00018 void setK(int k) { kni->setValue(k); } 00019 int Apply() { return apply_clicked(); } 00020 private: 00021 KComboBox *transform, *form, *typecb; 00022 KIntNumInput *kni; 00023 private slots: 00024 void saveSettings(); 00025 int apply_clicked(); 00026 }; 00027 00028 #endif // WAVELETLISTDIALOG_H