kspread

kspread_dlg_resize2.h
1/* This file is part of the KDE project
2 Copyright (C) 2002-2004 Ariya Hidayat <ariya@kde.org>
3 (C) 2003 Norbert Andres <nandres@web.de>
4 (C) 2001-2003 Philipp Mueller <philipp.mueller@gmx.de>
5 (C) 1999-2002 Laurent Montel <montel@kde.org>
6 (C) 2002 John Dailey <dailey@vt.edu>
7 (C) 2000 David Faure <faure@kde.org>
8 (C) 1998-1999 Torben Weis <weis@kde.org>
9
10 This library is free software; you can redistribute it and/or
11 modify it under the terms of the GNU Library General Public
12 License as published by the Free Software Foundation; either
13 version 2 of the License, or (at your option) any later version.
14
15 This library is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Library General Public License for more details.
19
20 You should have received a copy of the GNU Library General Public License
21 along with this library; see the file COPYING.LIB. If not, write to
22 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23 * Boston, MA 02110-1301, USA.
24*/
25
26#ifndef __kspread_dlg_resize2__
27#define __kspread_dlg_resize2__
28
29#include <kdialogbase.h>
30
31class KDoubleNumInput;
32class KoUnitDoubleSpinBox;
33
34namespace KSpread
35{
36class View;
37
38class ResizeRow: public KDialogBase
39{
40 TQ_OBJECT
41
42
43public:
44 ResizeRow( View* parent, const char* name = 0 );
45 double rowHeight;
46
47protected slots:
48 virtual void slotOk();
49 virtual void slotDefault();
50
51protected:
52 View* m_pView;
53 KoUnitDoubleSpinBox *m_pHeight;
54};
55
56class ResizeColumn: public KDialogBase
57{
58 TQ_OBJECT
59
60
61public:
62 ResizeColumn( View* parent, const char* name = 0 );
63 double columnWidth;
64
65protected slots:
66 virtual void slotOk();
67 virtual void slotDefault();
68
69protected:
70 View* m_pView;
71 KoUnitDoubleSpinBox *m_pWidth;
72};
73
74} // namespace KSpread
75
76#endif
The View class displays a KSpread document.
The KSpread namespace.
Definition commands.h:39