kspread_dlg_reference.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef __kspread_dlg_reference__
00027 #define __kspread_dlg_reference__
00028
00029 #include <kdialogbase.h>
00030
00031 class QComboBox;
00032 class QLabel;
00033 class QLineEdit;
00034 class QPushButton;
00035 class QListBox;
00036 class QListBoxItem;
00037
00038 class KSpreadView;
00039
00040 class KSpreadreference: public QDialog
00041 {
00042 Q_OBJECT
00043 public:
00044 KSpreadreference( KSpreadView* parent, const char* name );
00045
00046
00047 public slots:
00048 void slotOk();
00049 void slotCancel();
00050 void slotDoubleClicked(QListBoxItem *);
00051 void slotRemove();
00052 void slotEdit();
00053 void slotHighlighted(QListBoxItem *);
00054 protected:
00055 KSpreadView * m_pView;
00056
00057 QListBox * m_list;
00058 QPushButton * m_pOk;
00059 QPushButton * m_pCancel;
00060 QPushButton * m_pEdit;
00061 QPushButton * m_pRemove;
00062 QLabel * m_rangeName;
00063
00064 private:
00065 void displayAreaValues(QString const & areaName);
00066 };
00067
00068 class KSpreadEditAreaName : public KDialogBase
00069 {
00070 Q_OBJECT
00071
00072 public:
00073 KSpreadEditAreaName( KSpreadView * parent, const char * name,
00074 QString const & areaname );
00075 ~KSpreadEditAreaName();
00076
00077 public slots:
00078 virtual void slotOk();
00079
00080 private:
00081 KSpreadView * m_pView;
00082
00083 QLineEdit * m_area;
00084 QComboBox * m_sheets;
00085 QLabel * m_areaName;
00086 };
00087
00088 #endif
This file is part of the documentation for kspread Library Version 1.4.2.