00001 //LabPlot : ArrangePlotDialog.h 00002 00003 #ifndef ARRANGEPLOTDIALOG_H 00004 #define ARRANGEPLOTDIALOG_H 00005 00006 #include <qfont.h> 00007 #include <qcheckbox.h> 00008 #include "Worksheet.h" 00009 #include "PlotDialog.h" 00010 00011 class ArrangePlotDialog: public PlotDialog 00012 { 00013 Q_OBJECT 00014 public: 00015 ArrangePlotDialog(MainWin *mw, const char *name); 00016 public slots: 00017 void setX(int x) {xle->setText(QString::number(x)); } 00018 void setY(int y) {yle->setText(QString::number(y)); } 00019 void setGap(double g) { gaple->setText(QString::number(g)); } 00020 void ok_clicked() { apply_clicked(); accept(); } 00021 void apply_clicked(); 00022 void Apply() { apply_clicked(); } 00023 private: 00024 KLineEdit *xle, *yle, *gaple; 00025 }; 00026 00027 #endif //ARRANGEPLOTDIALOG_H