kspread

kspread_dlg_resize2.h

00001 /* This file is part of the KDE project
00002    Copyright (C) 2002-2004 Ariya Hidayat <ariya@kde.org>
00003              (C) 2003 Norbert Andres <nandres@web.de>
00004              (C) 2001-2003 Philipp Mueller <philipp.mueller@gmx.de>
00005              (C) 1999-2002 Laurent Montel <montel@kde.org>
00006              (C) 2002 John Dailey <dailey@vt.edu>
00007              (C) 2000 David Faure <faure@kde.org>
00008              (C) 1998-1999 Torben Weis <weis@kde.org>
00009 
00010    This library is free software; you can redistribute it and/or
00011    modify it under the terms of the GNU Library General Public
00012    License as published by the Free Software Foundation; either
00013    version 2 of the License, or (at your option) any later version.
00014 
00015    This library is distributed in the hope that it will be useful,
00016    but WITHOUT ANY WARRANTY; without even the implied warranty of
00017    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00018    Library General Public License for more details.
00019 
00020    You should have received a copy of the GNU Library General Public License
00021    along with this library; see the file COPYING.LIB.  If not, write to
00022    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00023  * Boston, MA 02110-1301, USA.
00024 */
00025 
00026 #ifndef __kspread_dlg_resize2__
00027 #define __kspread_dlg_resize2__
00028 
00029 #include <kdialogbase.h>
00030 
00031 class KDoubleNumInput;
00032 class KoUnitDoubleSpinBox;
00033 
00034 namespace KSpread
00035 {
00036 class View;
00037 
00038 class ResizeRow: public KDialogBase
00039 {
00040   Q_OBJECT
00041 
00042 public:
00043   ResizeRow( View* parent, const char* name = 0 );
00044   double rowHeight;
00045 
00046 protected slots:
00047   virtual void slotOk();
00048   virtual void slotDefault();
00049 
00050 protected:
00051   View* m_pView;
00052   KoUnitDoubleSpinBox *m_pHeight;
00053 };
00054 
00055 class ResizeColumn: public KDialogBase
00056 {
00057   Q_OBJECT
00058 
00059 public:
00060   ResizeColumn( View* parent, const char* name = 0 );
00061   double columnWidth;
00062 
00063 protected slots:
00064   virtual void slotOk();
00065   virtual void slotDefault();
00066 
00067 protected:
00068   View* m_pView;
00069   KoUnitDoubleSpinBox *m_pWidth;
00070 };
00071 
00072 } // namespace KSpread
00073 
00074 #endif
KDE Home | KDE Accessibility Home | Description of Access Keys