00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef HK_KDEPROPERTY_H
00013 #define HK_KDEPROPERTY_H
00014 #include "hk_kdepropertybase.h"
00015 #include <hk_class.h>
00016 class QFontDatabase;
00017 class QScrollView;
00018 class hk_kdesimpleform;
00019 class KColorButton;
00020
00021 class hk_kdeproperty : public hk_kdepropertyeditorbase,public hk_class
00022 {
00023 Q_OBJECT
00024 friend class hk_kdesimpleform;
00025
00026 public:
00027 hk_kdeproperty( hk_kdesimpleform* parent = 0, const char* name = 0, WFlags fl = 0 );
00028 ~hk_kdeproperty();
00029
00030 public slots:
00031 void action_changes();
00032 void actionobject_changes();
00033 void data_changes();
00034 void format_changes();
00035 void geometry_changes();
00036 void set_object(hk_visible*);
00037 hk_visible* object(void);
00038 void focus_resized(void);
00039 void set_datasourcelist(void);
00040 void identifier_changed(void);
00041 virtual void tooltipfield_changed();
00042 virtual void add_formdatasource();
00043 virtual void add_listformdatasource();
00044 void datasource_selected();
00045 void listdatasource_selected();
00046 void set_actionobjectlist(void);
00047 void combomode_changed(void);
00048 void conditionbutton_clicked();
00049 void pushactionbutton_clicked(int rownumber,const hk_string& warningmessage);
00050 void pushactionbutton_clicked(void);
00051 void doubleclickactionbutton_clicked(void);
00052 void doubleclickactionbutton_clicked(int rownumber,const hk_string& warningmessage);
00053 void openactionbutton_clicked(int rownumber,const hk_string& warningmessage);
00054 void openactionbutton_clicked(void);
00055 void closeactionbutton_clicked(int rownumber,const hk_string& warningmessage);
00056 void closeactionbutton_clicked(void);
00057 void beforedeletebutton_clicked(int rownumber,const hk_string& warningmessage);
00058 void beforedeletebutton_clicked(void);
00059 void afterdeletebutton_clicked(int rownumber,const hk_string& warningmessage);
00060 void afterdeletebutton_clicked(void);
00061 void beforeinsertbutton_clicked(int rownumber,const hk_string& warningmessage);
00062 void beforeinsertbutton_clicked(void);
00063 void afterinsertbutton_clicked(int rownumber,const hk_string& warningmessage);
00064 void afterinsertbutton_clicked(void);
00065 void beforeupdatebutton_clicked(int rownumber,const hk_string& warningmessage);
00066 void beforeupdatebutton_clicked(void);
00067 void afterupdatebutton_clicked(int rownumber,const hk_string& warningmessage);
00068 void afterupdatebutton_clicked(void);
00069 void afterrowchangebutton_clicked(int rownumber,const hk_string& warningmessage);
00070 void afterrowchangebutton_clicked(void);
00071 void beforerowchangebutton_clicked(int rownumber,const hk_string& warningmessage);
00072 void beforerowchangebutton_clicked(void);
00073 void ongetfocusbutton_clicked(int rownumber,const hk_string& warningmessage);
00074 void ongetfocusbutton_clicked(void);
00075 void onloosefocusbutton_clicked(int rownumber,const hk_string& warningmessage);
00076 void onloosefocusbutton_clicked(void);
00077 void onkeybutton_clicked(int rownumber,const hk_string& warningmessage);
00078 void onkeybutton_clicked(void);
00079 void onselectbutton_clicked(int rownumber,const hk_string& warningmessage);
00080 void onvaluechangedbutton_clicked(int rownumber,const hk_string& warningmessage);
00081 void onvaluechangedbutton_clicked(void);
00082 virtual void onselectbutton_clicked();
00083 virtual void use_textlist_changed();
00084 virtual void use_textlistbutton_clicked();
00085
00086 virtual void border_changes();
00087 virtual void subformbutton_clicked();
00088 virtual void localimage_selected();
00089 virtual void has_changed();
00090
00091 protected:
00092 bool eventFilter(QObject* object,QEvent* event);
00093
00094
00095 private:
00096 hk_visible* p_visible;
00097
00098 void set_visible(void);
00099 void set_geometry(void);
00100 void set_dsvisible(void);
00101 void set_dsdatavisible(void);
00102 void set_gridvisible(void);
00103 void set_button(void);
00104 void set_subform(void);
00105 void set_labelvisible(void);
00106 void set_imagevisible(void);
00107
00108
00109 void set_objectvisible();
00110 void set_objectdsvisible(void);
00111 void set_objectdsdatavisible(void);
00112 void set_objectsubform(void);
00113 void set_objectimagevisible(void);
00114 void set_objectaction(void);
00115 void set_viewcolumnvalues(void);
00116 void use_editor(QLineEdit* e);
00117 QFontDatabase* p_fontdatabase;
00118 hk_kdesimpleform* p_form;
00119 QString settxt,notsettxt;
00120 QScrollView* p_datascrollview;
00121 QScrollView* p_formatscrollview;
00122 QScrollView* p_framescrollview;
00123 QScrollView* p_actionscrollview;
00124
00125
00126 };
00127 #endif // HK_KDEPROPERTY_H