kspread_dlg_format.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_FORMAT
00027 #define KSPREAD_DLG_FORMAT
00028
00029 #include <kdialogbase.h>
00030 #include <qstring.h>
00031 #include <qvaluelist.h>
00032 #include <qcolor.h>
00033 #include <qpen.h>
00034 #include <qfont.h>
00035
00036 class QComboBox;
00037 class QLabel;
00038 class QDomDocument;
00039
00040 class KSpreadView;
00041 class KSpreadFormat;
00042
00043 class KSpreadFormatDlg : public KDialogBase
00044 {
00045 Q_OBJECT
00046 public:
00047 KSpreadFormatDlg( KSpreadView* view, const char* name = 0 );
00048 ~KSpreadFormatDlg();
00049
00050 private slots:
00051 void slotActivated( int index );
00052 void slotOk();
00053
00054 private:
00055 bool parseXML( const QDomDocument& doc );
00056
00057 QComboBox* m_combo;
00058 QLabel* m_label;
00059 KSpreadView* m_view;
00060
00061 struct Entry
00062 {
00063 QString xml;
00064 QString image;
00065 QString config;
00066 QString name;
00067 };
00068 QValueList<Entry> m_entries;
00069
00070 KSpreadFormat* m_cells[ 16 ];
00071 };
00072
00073 #endif
This file is part of the documentation for kspread Library Version 1.4.2.