kspread

configdlg.h

00001 
00002 /*
00003 
00004  $Id: configdlg.h 466447 2005-10-02 17:54:10Z zander $
00005 
00006 
00007  KCalc
00008 
00009  Copyright (C) Bernd Johannes Wuebben
00010                wuebben@math.cornell.edu
00011            wuebben@kde.org
00012 
00013  This program is free software; you can redistribute it and/or
00014  modify it under the terms of the GNU General Public License
00015  as published by the Free Software Foundation; either version 2
00016  of the License, or (at your option) any later version.
00017 
00018  This program is distributed in the hope that it will be useful,
00019  but WITHOUT ANY WARRANTY; without even the implied warranty of
00020  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00021  GNU General Public License for more details.
00022 
00023  You should have received a copy of the GNU General Public License
00024  along with this program; if not, write to the Free Software
00025  Foundation, Inc., 51 Franklin Street, Fifth Floor,
00026  * Boston, MA 02110-1301, USA.
00027 
00028  */
00029 
00030 
00031 #ifndef _CONFIG_DLG_H_
00032 #define _CONFIG_DLG_H_
00033 
00034 #include <qgroupbox.h>
00035 #include <qcheckbox.h>
00036 #include <qdialog.h>
00037 #include <qlineedit.h>
00038 #include <qpushbutton.h>
00039 #include <qpainter.h>
00040 #include <qlabel.h>
00041 #include <qframe.h>
00042 #include <qspinbox.h>
00043 #include <kcolorbutton.h>
00044 
00045 #include "kcalc.h"
00046 
00047 
00048 
00049 class ConfigDlg : public QDialog {
00050 
00051 Q_OBJECT
00052 
00053 public:
00054 
00055   ConfigDlg(QWidget *parent=0, const char *name=0, DefStruct *defstruct=NULL);
00056 
00057   ~ConfigDlg() {}
00058 
00059   DefStruct *defst ;
00060   QLineEdit *mail;
00061   QLineEdit *print;
00062 
00063 
00064 private slots:
00065 
00066   void okButton();
00067   void cancelbutton();
00068   void set_fore_color(const QColor &);
00069   void set_background_color(const QColor &);
00070   void help();
00071 
00072 signals:
00073   void color_change();
00074 
00075 public:
00076   bool colors_changed;
00077 
00078 private:
00079 
00080 
00081   QGroupBox *box;
00082 
00083   QPushButton *ok;
00084   QPushButton *cancel;
00085 
00086   QLabel *label1;
00087   KColorButton *button1;
00088 
00089   QLabel *label2;
00090   KColorButton *button2;
00091 
00092   QLabel *label3;
00093   QPushButton *button3;
00094   QLabel *label5;
00095 
00096   QGroupBox *gbox;
00097   QCheckBox *cb;
00098   QCheckBox *cb2;
00099   QSpinBox* precspin;
00100   QSpinBox* precspin2;
00101   QCheckBox *mybox;
00102   QCheckBox *frame3d;
00103 
00104   QButtonGroup *stylegroup;
00105   QLabel *stylelabel;
00106   QRadioButton *trigstyle;
00107   QRadioButton *statstyle;
00108   QRadioButton *sheetstyle;
00109 };
00110 #endif
00111 
KDE Home | KDE Accessibility Home | Description of Access Keys