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

AxesDialog.h

Go to the documentation of this file.
00001 //LabPlot : AxesDialog.h
00002 
00003 #ifndef AXESDIALOG_H
00004 #define AXESDIALOG_H
00005 
00006 #include <qfont.h>
00007 #include <qcheckbox.h>
00008 #include <qtoolbutton.h>
00009 #include <klistbox.h>
00010 #include "MainWin.h"
00011 #include "Dialog.h"
00012 #include "RichTextWidget.h"
00013 
00014 class AxesDialog: public Dialog
00015 {
00016         Q_OBJECT
00017 public:
00018         AxesDialog(Worksheet *p, const char *name, int axesnr);
00019 public slots:
00020         void selectTicsFont();
00021         void setTicsColor(const QColor &color) { tc = QColor(color); }
00022         void setTicsLabelColor(const QColor &color) { tlc = QColor(color); }
00023         void setGridColor(const QColor &color) { gc = QColor(color); }
00024         void setBorderColor(const QColor &color) { bc = QColor(color); }
00025         void updateAxis();
00026         void update_timeformat();
00027         void updateScale(int i);
00028         void axisEnabled(bool on);
00029         void ok_clicked();
00030         void apply_clicked();
00031 private:
00032         Plot *plot;
00033         int type;
00034         RichTextWidget *rtw;
00035         KLineEdit *scaling, *shift, *ticsfont, *min, *max, *major, *minor, *tlple, *tlgle;
00036         KLineEdit *tlprefix, *tlsuffix, *timeformat, *tlrotation;
00037         KListBox *axeslb;
00038         QCheckBox *cb, *cb2, *cb3, *cb4, *cb5, *cb6;
00039         KColorButton *tcb, *tlcb, *gcb, *bcb;
00040         KComboBox *atlfcb, *ascb, *ticsposcb;
00041         QFont tf;
00042         QColor tc, tlc, gc, bc;
00043         Axis *axis[12];
00044 };
00045 #endif //AXESDIALOG_H

Generated on Sun Nov 28 22:31:16 2004 for LabPlot by doxygen 1.3.6