00001 //LabPlot : ConvolutionListDialog.h 00002 00003 #ifndef CONVOLUTIONLISTDIALOG_H 00004 #define CONVOLUTIONLISTDIALOG_H 00005 00006 #include "ListDialog.h" 00007 00008 class ConvolutionListDialog : public ListDialog 00009 { 00010 Q_OBJECT 00011 public: 00012 ConvolutionListDialog(MainWin *mw, const char *name); 00013 public slots: 00014 void setType(bool t=false) {type->setCurrentItem(t); } 00015 void setSet1(int s) { set1le->setText(QString::number(s)); } 00016 void setSet2(int s) { set2le->setText(QString::number(s)); } 00017 void setXValues(int v) { xvalue->setCurrentItem(v); } 00018 private: 00019 KLineEdit *set1le, *set2le; 00020 KComboBox *type, *xvalue; 00021 private slots: 00022 int apply_clicked(); 00023 }; 00024 00025 #endif // CONVOLUTIONLISTDIALOG_H