kspread Library API Documentation

configdlg.h

00001 
00002 /*
00003 
00004  $Id: configdlg.h 399247 2005-03-20 16:49:54Z johnflux $
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., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
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 
KDE Logo
This file is part of the documentation for kspread Library Version 1.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Feb 13 09:42:44 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003