kspread Library API Documentation

kspread_dlg_validity.h

00001 /* This file is part of the KDE project
00002    Copyright (C) 2002-2003 Norbert Andres <nandres@web.de>
00003              (C) 2002 John Dailey <dailey@vt.edu>
00004              (C) 2001-2002 Philipp Mueller <philipp.mueller@gmx.de>
00005              (C) 1999-2005 Laurent Montel <montel@kde.org>
00006              (C) 1998-1999 Torben Weis <weis@kde.org>
00007 
00008    This library is free software; you can redistribute it and/or
00009    modify it under the terms of the GNU Library General Public
00010    License as published by the Free Software Foundation; either
00011    version 2 of the License, or (at your option) any later version.
00012 
00013    This library is distributed in the hope that it will be useful,
00014    but WITHOUT ANY WARRANTY; without even the implied warranty of
00015    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016    Library General Public License for more details.
00017 
00018    You should have received a copy of the GNU Library General Public License
00019    along with this library; see the file COPYING.LIB.  If not, write to
00020    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00021    Boston, MA 02111-1307, USA.
00022 */
00023 
00024 #ifndef __kspread_dlg_validity__
00025 #define __kspread_dlg_validity__
00026 
00027 #include "kspread_cell.h"
00028 #include <kdialogbase.h>
00029 class KSpreadView;
00030 class KSpreadSheet;
00031 class QLabel;
00032 class QLineEdit;
00033 class QTextEdit;
00034 class QComboBox;
00035 class QPushButton;
00036 class QCheckBox;
00037 
00038 class KSpreadDlgValidity : public KDialogBase
00039 {
00040   Q_OBJECT
00041 public:
00042 KSpreadDlgValidity(KSpreadView* parent, const char* name ,const QRect &_marker );
00043 void init();
00044 
00045 public slots:
00046  void OkPressed();
00047  void clearAllPressed();
00048  void changeIndexCond(int);
00049  void changeIndexType(int);
00050 protected:
00051     void displayOrNotListOfValidity( bool _displayList);
00052 
00053   KSpreadView* m_pView;
00054   QRect  marker;
00055   QLineEdit *val_max;
00056   QLineEdit *val_min;
00057   QLabel *edit1;
00058   QLabel *edit2;
00059   QComboBox *choose;
00060   QComboBox *chooseAction;
00061   QComboBox *chooseType;
00062   QLineEdit * title;
00063   QTextEdit *message;
00064   KSpreadValidity result;
00065   QCheckBox *displayMessage;
00066   QCheckBox *allowEmptyCell;
00067     QCheckBox *displayHelp;
00068     QTextEdit *messageHelp;
00069     QLineEdit *titleHelp;
00070     QTextEdit *validityList;
00071     QLabel *validityLabelList;
00072 };
00073 
00074 
00075 
00076 #endif
KDE Logo
This file is part of the documentation for kspread Library Version 1.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Feb 13 09:43:03 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003