configdlg.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef _CONFIG_DLG_H_
00031 #define _CONFIG_DLG_H_
00032
00033 #include <qgroupbox.h>
00034 #include <qcheckbox.h>
00035 #include <qdialog.h>
00036 #include <qlineedit.h>
00037 #include <qpushbutton.h>
00038 #include <qpainter.h>
00039 #include <qlabel.h>
00040 #include <qframe.h>
00041 #include <qspinbox.h>
00042 #include <kcolorbutton.h>
00043
00044 #include "kcalc.h"
00045
00046
00047
00048 class ConfigDlg : public QDialog {
00049
00050 Q_OBJECT
00051
00052 public:
00053
00054 ConfigDlg(QWidget *parent=0, const char *name=0, DefStruct *defstruct=NULL);
00055
00056 ~ConfigDlg() {}
00057
00058 DefStruct *defst ;
00059 QLineEdit *mail;
00060 QLineEdit *print;
00061
00062
00063 private slots:
00064
00065 void okButton();
00066 void cancelbutton();
00067 void set_fore_color(const QColor &);
00068 void set_background_color(const QColor &);
00069 void help();
00070
00071 signals:
00072 void color_change();
00073
00074 public:
00075 bool colors_changed;
00076
00077 private:
00078
00079
00080 QGroupBox *box;
00081
00082 QPushButton *ok;
00083 QPushButton *cancel;
00084
00085 QLabel *label1;
00086 KColorButton *button1;
00087
00088 QLabel *label2;
00089 KColorButton *button2;
00090
00091 QLabel *label3;
00092 QPushButton *button3;
00093 QLabel *label5;
00094
00095 QGroupBox *gbox;
00096 QCheckBox *cb;
00097 QCheckBox *cb2;
00098 QSpinBox* precspin;
00099 QSpinBox* precspin2;
00100 QCheckBox *mybox;
00101 QCheckBox *frame3d;
00102
00103 QButtonGroup *stylegroup;
00104 QLabel *stylelabel;
00105 QRadioButton *trigstyle;
00106 QRadioButton *statstyle;
00107 QRadioButton *sheetstyle;
00108 };
00109 #endif
00110
This file is part of the documentation for kspread Library Version 1.4.2.