00001 //LabPlot : SeasonalListDialog.h 00002 00003 #ifndef SEASONALLISTDIALOG_H 00004 #define SEASONALLISTDIALOG_H 00005 00006 #include "ListDialog.h" 00007 00008 class SeasonalListDialog : public ListDialog 00009 { 00010 Q_OBJECT 00011 public: 00012 SeasonalListDialog(MainWin *mw, const char *name); 00013 public slots: 00014 void setPeriod(int n) { nle->setText(QString::number(n)); } 00015 void setNumber(int n) {setPeriod(n); } 00016 void setOperation(int o) { ocb->setCurrentItem(o); } 00017 private: 00018 KLineEdit *nle; 00019 KComboBox *ocb; 00020 private slots: 00021 int apply_clicked(); 00022 }; 00023 00024 #endif // SEASONALLISTDIALOG_H