Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

hk_kdeclasses/hk_kdeclasses/hk_kdelabel.h

Go to the documentation of this file.
00001 // ****************************************************************************
00002 // copyright (c) 2000-2005 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 #ifndef HK_KDELABEL
00012 #define HK_KDELABEL
00013 #include <hk_label.h>
00014 #include <qlabel.h>
00015 class hk_kdesimpleform;
00022 class hk_kdelabel :public QLabel, public hk_label
00023 {
00024     Q_OBJECT
00025         public:
00026         hk_kdelabel(hk_kdesimpleform* form);
00027 virtual void show_widget(void);
00028 virtual void hide_widget(void);
00029 virtual bool close_widget(void);
00030     protected:
00031      virtual void    widget_specific_tooltip_changed(void);
00032         virtual void    widget_specific_label_changed(void);
00033         virtual bool    widget_specific_coordinates(uint px,uint py,uint pwidth,uint pheight);
00034         virtual void    widget_specific_font_changed(void);
00035         virtual void    widget_specific_alignment(void);
00036         virtual void resizeEvent (QResizeEvent *);
00037         virtual void  moveEvent ( QMoveEvent * ) ;
00038         virtual void            mousePressEvent(QMouseEvent*);
00039         virtual void            mouseDoubleClickEvent(QMouseEvent*);
00040         virtual void widget_specific_backgroundcolour_changed(const hk_colour&);
00041         virtual void widget_specific_foregroundcolour_changed(const hk_colour&);
00042         virtual void drawFrame(QPainter*);
00043         virtual void widget_specific_topline_changed(void);
00044         virtual void widget_specific_bottomline_changed(void);
00045         virtual void widget_specific_leftline_changed(void);
00046         virtual void widget_specific_rightline_changed(void);
00047         virtual void widget_specific_diagonalluro_changed(void);
00048         virtual void widget_specific_diagonalloru_changed(void);
00049         virtual bool    presentationmode_changed(void);
00050 
00051     private:
00052         void    reposition(void);
00053         void    set_borders(void);
00054 
00055 };
00056 #endif

Generated on Thu Mar 9 18:40:41 2006 for hk_classes by  doxygen 1.4.1