00001 //LabPlot : CompressListDialog.h 00002 00003 #ifndef COMPRESSLISTDIALOG_H 00004 #define COMPRESSLISTDIALOG_H 00005 00006 #include "ListDialog.h" 00007 00008 class CompressListDialog : public ListDialog 00009 { 00010 Q_OBJECT 00011 public: 00012 CompressListDialog(MainWin *mw, const char *name); 00013 public slots: 00014 void setN(int n) { nle->setText(QString::number(n)); } 00015 void setAverage(bool a=true) { averagecb->setChecked(a); } 00016 private: 00017 KLineEdit *nle; 00018 QCheckBox *averagecb; 00019 private slots: 00020 int apply_clicked(); 00021 }; 00022 00023 #endif // COMPRESSLISTDIALOG_H