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

hk_kdedate.h

00001 // ****************************************************************************
00002 // copyright (c) 2000-2005 Horst Knorr <hk_classes@knoda.org>
00003 // This file is part of the hk_classes 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 COPYING 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 #ifndef HK_KDEDATE
00012 #define HK_KDEDATE
00013 #include "hk_dsdate.h"
00014 #include <kdatepicker.h>
00015 
00016 class hk_kdedate : public KDatePicker, public hk_dsdate
00017 {
00018 Q_OBJECT
00019 
00020 public:
00021   hk_kdedate(QWidget* wid,hk_form* form=NULL);
00022 virtual void show_widget(void);
00023 virtual void hide_widget(void);
00024 virtual void close_widget(void);
00025         virtual void set_value(const hk_string&);
00026         virtual hk_string value(void);
00027 
00028 
00029 protected:
00030         virtual void  resizeEvent (QResizeEvent *);
00031         virtual void  moveEvent ( QMoveEvent * ) ;
00032         virtual bool  widget_specific_coordinates(uint px,uint py,uint pwidth,uint pheight);
00033         virtual bool  widget_specific_row_change(void);
00034         virtual void  widget_specific_enable_disable(void);
00035         virtual void            mousePressEvent(QMouseEvent*);
00036         virtual void            mouseDoubleClickEvent(QMouseEvent*);
00037      virtual void focusInEvent ( QFocusEvent * );
00038      virtual void focusOutEvent ( QFocusEvent * );
00039         virtual void widget_specific_backgroundcolour_changed(const hk_colour&);
00040         virtual void widget_specific_foregroundcolour_changed(const hk_colour&);
00041         virtual void widget_specific_font_changed(void);
00042         virtual void widget_specific_enabled_changed(void);
00043         virtual bool    presentationmode_changed(void);
00044 
00045     protected slots:
00046         void     slot_data_changed(void);
00047         void slot_table_clicked(void);
00048 
00049 
00050 private:
00051                 void    reposition(void);
00052         bool    p_widget_specific_row_change;
00053 
00054 };
00055 #endif //hk_kdedate

Generated on Tue Sep 13 05:09:15 2005 for Databasehandlingdialogclasses by  doxygen 1.4.4