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

hk_kdereportconditiondialog.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_KDEREPORTCONDITIONDIALOG_H
00013 #define HK_KDEREPORTCONDITIONDIALOG_H
00014 #include "hk_kdereportconditiondialogbase.h"
00015 #include <hk_string.h>
00016 class hk_form;
00017 class hk_button;
00018 
00019 class hk_kdereportconditiondialog : public hk_kdereportconditiondialogbase
00020 {
00021     Q_OBJECT
00022 
00023         public:
00024         hk_kdereportconditiondialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00025         ~hk_kdereportconditiondialog();
00026         enum enum_type{form,report};
00027         void    set_values(hk_button* button, hk_form* form,const hk_string& r, enum_type t=report);
00028     public slots:
00029         void add_clicked();
00030         void delete_clicked();
00031         void formdatasource_changed();
00032         void check_buttons(void);
00033         virtual void formfield_change();
00034         virtual void reportfield_changed();
00035     protected slots:
00036         virtual void accept(void);
00037 
00038     private:
00039         void set_reportvalues(void);
00040         void set_formvalues(void);
00041         void set_formdatasources(void);
00042         void set_formfields(void);
00043         void set_buttonvalues(void);
00044         hk_form* p_form;
00045         hk_button* p_button;
00046         hk_string p_report;
00047 };
00048 #endif                                            // HK_KDEREPORTCONDITIONDIALOG_H

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