00001 //LabPlot : OverlayPlotDialog.h 00002 00003 #ifndef OVERLAYPLOTDIALOG_H 00004 #define OVERLAYPLOTDIALOG_H 00005 00006 #include <qfont.h> 00007 #include <qcheckbox.h> 00008 #include "Worksheet.h" 00009 #include "PlotDialog.h" 00010 00011 class OverlayPlotDialog: public PlotDialog 00012 { 00013 Q_OBJECT 00014 public: 00015 OverlayPlotDialog(MainWin *mw, const char *name); 00016 public slots: 00017 void setFirst(int i) { ani->setValue(i); } 00018 void setSecond(int i) { bni->setValue(i); } 00019 void Apply() { apply_clicked(); } 00020 private: 00021 KIntNumInput *ani, *bni; 00022 private slots: 00023 void ok_clicked() { apply_clicked(); accept(); } 00024 void saveSettings(); 00025 void apply_clicked(); 00026 }; 00027 00028 #endif //OVERLAYPLOTDIALOG_H