kspread

configdlg.h
1
2/*
3
4 $Id: configdlg.h 466447 2005-10-02 17:54:10Z zander $
5
6
7 KCalc
8
9 Copyright (C) Bernd Johannes Wuebben
10 wuebben@math.cornell.edu
11 wuebben@kde.org
12
13 This program is free software; you can redistribute it and/or
14 modify it under the terms of the GNU General Public License
15 as published by the Free Software Foundation; either version 2
16 of the License, or (at your option) any later version.
17
18 This program is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 GNU General Public License for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with this program; if not, write to the Free Software
25 Foundation, Inc., 51 Franklin Street, Fifth Floor,
26 * Boston, MA 02110-1301, USA.
27
28 */
29
30
31#ifndef _CONFIG_DLG_H_
32#define _CONFIG_DLG_H_
33
34#include <tqgroupbox.h>
35#include <tqcheckbox.h>
36#include <tqdialog.h>
37#include <tqlineedit.h>
38#include <tqpushbutton.h>
39#include <tqpainter.h>
40#include <tqlabel.h>
41#include <tqframe.h>
42#include <tqspinbox.h>
43#include <kcolorbutton.h>
44
45#include "kcalc.h"
46
47
48
49class ConfigDlg : public TQDialog {
50
51TQ_OBJECT
52
53
54public:
55
56 ConfigDlg(TQWidget *parent=0, const char *name=0, DefStruct *defstruct=NULL);
57
58 ~ConfigDlg() {}
59
60 DefStruct *defst ;
61 TQLineEdit *mail;
62 TQLineEdit *print;
63
64
65private slots:
66
67 void okButton();
68 void cancelbutton();
69 void set_fore_color(const TQColor &);
70 void set_background_color(const TQColor &);
71 void help();
72
73signals:
74 void color_change();
75
76public:
77 bool colors_changed;
78
79private:
80
81
82 TQGroupBox *box;
83
84 TQPushButton *ok;
85 TQPushButton *cancel;
86
87 TQLabel *label1;
88 KColorButton *button1;
89
90 TQLabel *label2;
91 KColorButton *button2;
92
93 TQLabel *label3;
94 TQPushButton *button3;
95 TQLabel *label5;
96
97 TQGroupBox *gbox;
98 TQCheckBox *cb;
99 TQCheckBox *cb2;
100 TQSpinBox* precspin;
101 TQSpinBox* precspin2;
102 TQCheckBox *mybox;
103 TQCheckBox *frame3d;
104
105 TQButtonGroup *stylegroup;
106 TQLabel *stylelabel;
107 TQRadioButton *trigstyle;
108 TQRadioButton *statstyle;
109 TQRadioButton *sheetstyle;
110};
111#endif
112