Main Page | Class Hierarchy | Class List | Directories | File List | Class Members

hk_kdeproperty.h

00001 // ****************************************************************************
00002 // copyright (c) 2000-2004 Horst Knorr <hk_classes@knoda.org>  
00003 // This file is part of the hk_kdeclasses library.
00004 // This file may be distributed and/or modified under the terms of the
00005 // GNU Library Public License version 2 as published by the Free Software
00006 // Foundation and appearing in the file LGPL included in the
00007 // packaging of this file.
00008 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00009 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
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 hk_kdesimpleform;
00018 class KColorButton;
00019 
00020 class hk_kdeproperty : public hk_kdepropertyeditorbase,public hk_class
00021 {
00022     Q_OBJECT
00023     friend class hk_kdesimpleform;
00024 
00025         public:
00026         hk_kdeproperty( hk_kdesimpleform* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00027         ~hk_kdeproperty();
00028 
00029     public slots:
00030         void action_changes();
00031         void actionobject_changes();
00032         void data_changes();
00033         void format_changes();
00034         void geometry_changes();
00035         void set_object(hk_visible*);
00036         hk_visible* object(void);
00037         void focus_resized(void);
00038         void set_datasourcelist(void);
00039         void identifier_changed(void);
00040         virtual void add_formdatasource();
00041         virtual void add_listformdatasource();
00042         void datasource_selected();
00043         void listdatasource_selected();
00044         void set_actionobjectlist(void);
00045         void combomode_changed(void);
00046         void conditionbutton_clicked();
00047         void pushactionbutton_clicked(int rownumber,const hk_string& warningmessage);
00048         void pushactionbutton_clicked(void);
00049         void doubleclickactionbutton_clicked(void);
00050         void doubleclickactionbutton_clicked(int rownumber,const hk_string& warningmessage);
00051         void openactionbutton_clicked(int rownumber,const hk_string& warningmessage);
00052         void openactionbutton_clicked(void);
00053         void closeactionbutton_clicked(int rownumber,const hk_string& warningmessage);
00054         void closeactionbutton_clicked(void);
00055         void beforedeletebutton_clicked(int rownumber,const hk_string& warningmessage);
00056         void beforedeletebutton_clicked(void);
00057         void afterdeletebutton_clicked(int rownumber,const hk_string& warningmessage);
00058         void afterdeletebutton_clicked(void);
00059         void beforeinsertbutton_clicked(int rownumber,const hk_string& warningmessage);
00060         void beforeinsertbutton_clicked(void);
00061         void afterinsertbutton_clicked(int rownumber,const hk_string& warningmessage);
00062         void afterinsertbutton_clicked(void);
00063         void beforeupdatebutton_clicked(int rownumber,const hk_string& warningmessage);
00064         void beforeupdatebutton_clicked(void);
00065         void afterupdatebutton_clicked(int rownumber,const hk_string& warningmessage);
00066         void afterupdatebutton_clicked(void);
00067         void afterrowchangebutton_clicked(int rownumber,const hk_string& warningmessage);
00068         void afterrowchangebutton_clicked(void);
00069         void beforerowchangebutton_clicked(int rownumber,const hk_string& warningmessage);
00070         void beforerowchangebutton_clicked(void);
00071     virtual void border_changes();
00072     virtual void subformbutton_clicked();
00073 
00074     private:
00075         hk_visible* p_visible;
00076 // change the propertyfields when hk_visible changes
00077         void set_visible(void);
00078         void set_geometry(void);
00079         void set_dsvisible(void);
00080         void set_dsdatavisible(void);
00081         void set_gridvisible(void);
00082         void set_button(void);
00083         void set_subform(void);
00084         void set_labelvisible(void);
00085 
00086 //change values in hk_visible when the property fields changes
00087         void set_objectvisible();
00088         void set_objectdsvisible(void);
00089         void set_objectdsdatavisible(void);
00090         void set_objectsubform(void);
00091         void set_objectaction(void);
00092         void set_viewcolumnvalues(void);
00093         QFontDatabase* p_fontdatabase;
00094         hk_kdesimpleform* p_form;
00095                 QString  settxt,notsettxt;
00096 
00097 
00098 };
00099 #endif                                            // HK_KDEPROPERTY_H

Generated on Tue Mar 22 23:28:15 2005 for Databasehandlingdialogclasses by  doxygen 1.4.1