Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

ArrangePlotDialog.h

Go to the documentation of this file.
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) {xni->setValue(x); }                           
00018         void setY(int y) {yni->setValue(y); }                           
00019         void setGap(double g) { gaple->setText(QString::number(g)); }   
00020         void setPanel(bool p=true) { panel->setChecked(p); }            
00021         void Apply() { apply_clicked(); }
00022 private:
00023         void applyPanel(int nrx, int nry,  double gap);
00024         void hPanel(Plot *plot[], int nr, double gap);
00025         void vPanel(Plot *plot[], int nr, double gap);
00026         KIntNumInput *xni, *yni;
00027         KLineEdit *gaple;
00028         QCheckBox *panel;
00029 private slots:
00030         void ok_clicked() { apply_clicked(); accept(); }
00031         void saveSettings();
00032         void apply_clicked();
00033         void updatePanelSelected(int state);
00034 };
00035 
00036 #endif //ARRANGEPLOTDIALOG_H

Generated on Sun Apr 2 02:05:09 2006 for LabPlot by  doxygen 1.4.4