kspread
kspread_dlg_reference.h00001
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 namespace KSpread
00039 {
00040 class View;
00041
00042 class reference: public QDialog
00043 {
00044 Q_OBJECT
00045 public:
00046 reference( View* parent, const char* name );
00047
00048
00049 public slots:
00050 void slotOk();
00051 void slotCancel();
00052 void slotDoubleClicked(QListBoxItem *);
00053 void slotRemove();
00054 void slotEdit();
00055 void slotHighlighted(QListBoxItem *);
00056 protected:
00057 View * m_pView;
00058
00059 QListBox * m_list;
00060 QPushButton * m_pOk;
00061 QPushButton * m_pCancel;
00062 QPushButton * m_pEdit;
00063 QPushButton * m_pRemove;
00064 QLabel * m_rangeName;
00065
00066 private:
00067 void displayAreaValues(QString const & areaName);
00068 };
00069
00070 class EditAreaName : public KDialogBase
00071 {
00072 Q_OBJECT
00073
00074 public:
00075 EditAreaName( View * parent, const char * name,
00076 QString const & areaname );
00077 ~EditAreaName();
00078
00079 public slots:
00080 virtual void slotOk();
00081
00082 private:
00083 View * m_pView;
00084
00085 QLineEdit * m_area;
00086 QComboBox * m_sheets;
00087 QLabel * m_areaName;
00088 };
00089
00090 }
00091
00092 #endif
|