kspread
kspread_dlg_validity.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef __kspread_dlg_validity__
00025 #define __kspread_dlg_validity__
00026
00027 #include <kdialogbase.h>
00028
00029 #include "kspread_cell.h"
00030
00031 class QLabel;
00032 class QLineEdit;
00033 class QTextEdit;
00034 class QComboBox;
00035 class QPushButton;
00036 class QCheckBox;
00037
00038 namespace KSpread
00039 {
00040 class Sheet;
00041 class View;
00042
00043 class DlgValidity : public KDialogBase
00044 {
00045 Q_OBJECT
00046 public:
00047 DlgValidity(View* parent, const char* name ,const QRect &_marker );
00048 void init();
00049
00050 public slots:
00051 void OkPressed();
00052 void clearAllPressed();
00053 void changeIndexCond(int);
00054 void changeIndexType(int);
00055 protected:
00056 void displayOrNotListOfValidity( bool _displayList);
00057
00058 View* m_pView;
00059 QRect marker;
00060 QLineEdit *val_max;
00061 QLineEdit *val_min;
00062 QLabel *edit1;
00063 QLabel *edit2;
00064 QComboBox *choose;
00065 QComboBox *chooseAction;
00066 QComboBox *chooseType;
00067 QLineEdit * title;
00068 QTextEdit *message;
00069 Validity result;
00070 QCheckBox *displayMessage;
00071 QCheckBox *allowEmptyCell;
00072 QCheckBox *displayHelp;
00073 QTextEdit *messageHelp;
00074 QLineEdit *titleHelp;
00075 QTextEdit *validityList;
00076 QLabel *validityLabelList;
00077 };
00078
00079 }
00080
00081 #endif
|