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) { ale->setText(QString::number(i)); } 00018 void setSecond(int i) { ble->setText(QString::number(i)); } 00019 void ok_clicked() { apply_clicked(); accept(); } 00020 void apply_clicked(); 00021 void Apply() { apply_clicked(); } 00022 private: 00023 KLineEdit *ale, *ble; 00024 }; 00025 00026 #endif //OVERLAYPLOTDIALOG_H