kspread
kspread_dlg_series.h
00001 /* This file is part of the KDE project 00002 Copyright (C) 2002-2004 Ariya Hidayat <ariya@kde.org> 00003 (C) 2002-2003 Norbert Andres <nandres@web.de> 00004 (C) 2002 John Dailey <dailey@vt.edu> 00005 (C) 1999-2002 Laurent Montel <montel@kde.org> 00006 (C) 2001-2002 Philipp Mueller <philipp.mueller@gmx.de> 00007 (C) 2000-2001 Werner Trobin <trobin@kde.org> 00008 (C) 1998-2000 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_series__ 00027 #define __kspread_dlg_series__ 00028 00029 #include <kdialogbase.h> 00030 00031 class QRadioButton; 00032 class QCheckBox; 00033 class KDoubleNumInput; 00034 00035 namespace KSpread 00036 { 00037 class Sheet; 00038 class View; 00039 00040 class SeriesDlg : public KDialogBase 00041 { 00042 Q_OBJECT 00043 public: 00044 00045 SeriesDlg(View* parent, const char* name,const QPoint &_marker); 00046 00047 Sheet* sheet; 00048 00049 public slots: 00050 void slotOk(); 00051 protected: 00052 View* m_pView; 00053 KDoubleNumInput *start; 00054 KDoubleNumInput *end; 00055 KDoubleNumInput *step; 00056 00057 QRadioButton* column; 00058 QRadioButton* row; 00059 QRadioButton* linear; 00060 QRadioButton* geometric; 00061 QPoint marker; 00062 }; 00063 00064 } // namespace KSpread 00065 00066 #endif