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) { nni->setValue(n); } 00015 void setNumber(int n) {setPeriod(n); } 00016 void setOperation(int o) { ocb->setCurrentItem(o); } 00017 int Apply() { return apply_clicked(); } 00018 private: 00019 KComboBox *ocb; 00020 KIntNumInput *nni; 00021 private slots: 00022 void saveSettings(); 00023 int apply_clicked(); 00024 }; 00025 00026 #endif // SEASONALLISTDIALOG_H