kspread

kspread_propertyEditor.h
1/* This file is part of the KDE project
2 Copyright (C) 2005 Thorsten Zachmann <zachmann@kde.org>
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18*/
19#ifndef PROPERTYEDITOR_H
20#define PROPERTYEDITOR_H
21
22#include <tqtabdialog.h>
23#include <kspread_generalProperty.h>
24
25class KCommand;
26
27namespace KSpread
28{
29
30class EmbeddedObject;
31class Sheet;
32class Doc;
33// class KPrPenStyleWidget;
34// class KPrBrushProperty;
35// class KPrRectProperty;
36// class KPrPolygonProperty;
37// class KPrPieProperty;
38// class KPrPictureProperty;
39// class KPrTextProperty;
40// class KPrObjectProperties;
41
42class PropertyEditor : public TQTabDialog
43{
44 TQ_OBJECT
45
46
47public:
48 PropertyEditor( TQWidget *parent = 0, const char *name = 0, Sheet *page = 0, Doc *doc = 0 );
49 ~PropertyEditor();
50
51 KCommand * getCommand();
52
53private slots:
54 void slotDone();
55
56private:
57 void setupTabs();
58// void setupTabPen( bool configureLineEnds );
59// void setupTabBrush();
60// void setupTabRect();
61// void setupTabPolygon();
62// void setupTabPie();
63// void setupTabPicture();
64// void setupTabText();
65 void setupTabGeneral();
66
67 GeneralProperty::GeneralValue getGeneralValue();
68
69 Sheet *m_page;
70 Doc *m_doc;
71 TQPtrList<EmbeddedObject> m_objects;
72
73// KPrPenStyleWidget *m_penProperty;
74// KPrBrushProperty *m_brushProperty;
75// KPrRectProperty *m_rectProperty;
76// KPrPolygonProperty *m_polygonProperty;
77// KPrPieProperty *m_pieProperty;
78// KPrPictureProperty *m_pictureProperty;
79// KPrTextProperty *m_textProperty;
80 GeneralProperty *m_generalProperty;
81
82 //KPrObjectProperties *m_objectProperties;
83
84signals:
85 void propertiesOk();
86};
87
88}
89
90#endif /* PROPERTYEDITOR_H */
This class holds the data that makes up a spreadsheet.
Definition kspread_doc.h:98
Contains basic information for every object.
The KSpread namespace.
Definition commands.h:39