00001 //LabPlot : AverageListDialog.h 00002 00003 #ifndef AVERAGELISTDIALOG_H 00004 #define AVERAGELISTDIALOG_H 00005 00006 #include "ListDialog.h" 00007 00008 class AverageListDialog : public ListDialog 00009 { 00010 Q_OBJECT 00011 public: 00012 AverageListDialog(MainWin *mw, const char *name); 00013 public slots: 00014 void setN(int n) { nni->setValue(n); } 00015 void Apply() { apply_clicked(); } 00016 private: 00017 KIntNumInput *nni; 00018 private slots: 00019 void saveSettings(); 00020 int apply_clicked(); 00021 }; 00022 00023 #endif // AVERAGELISTDIALOG_H