Databasehandlingdialogclasses  0.5.3
hk_kdelabel.h
1 // ****************************************************************************
2 // copyright (c) 2000-2005 Horst Knorr <hk_classes@knoda.org>
3 // This file is part of the hk_kdeclasses library.
4 // This file may be distributed and/or modified under the terms of the
5 // GNU Library Public License version 2 as published by the Free Software
6 // Foundation and appearing in the file LGPL included in the
7 // packaging of this file.
8 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
9 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
10 // ****************************************************************************
11 #ifndef HK_KDELABEL
12 #define HK_KDELABEL
13 #include <hk_label.h>
14 #include <qlabel.h>
15 class hk_kdesimpleform;
22 class hk_kdelabel :public QLabel, public hk_label
23 {
24  Q_OBJECT
25  public:
27 virtual void show_widget(void);
28 virtual void hide_widget(void);
29 virtual bool close_widget(void);
30  protected:
31  virtual void widget_specific_tooltip_changed(void);
32  virtual void widget_specific_label_changed(void);
33  virtual bool widget_specific_coordinates(uint px,uint py,uint pwidth,uint pheight);
34  virtual void widget_specific_font_changed(void);
35  virtual void widget_specific_alignment(void);
36  virtual void resizeEvent (QResizeEvent *);
37  virtual void moveEvent ( QMoveEvent * ) ;
38  virtual void mousePressEvent(QMouseEvent*);
39  virtual void mouseDoubleClickEvent(QMouseEvent*);
40  virtual void widget_specific_backgroundcolour_changed(const hk_colour&);
41  virtual void widget_specific_foregroundcolour_changed(const hk_colour&);
42  virtual void drawFrame(QPainter*);
43  virtual void widget_specific_topline_changed(void);
44  virtual void widget_specific_bottomline_changed(void);
45  virtual void widget_specific_leftline_changed(void);
46  virtual void widget_specific_rightline_changed(void);
47  virtual void widget_specific_diagonalluro_changed(void);
48  virtual void widget_specific_diagonalloru_changed(void);
49  virtual bool presentationmode_changed(void);
50 
51  private:
52  void reposition(void);
53  void set_borders(void);
54 
55 };
56 #endif
KDE Widget to display forms.
Definition: hk_kdesimpleform.h:41
KDE Widget to display text in a form.
Definition: hk_kdelabel.h:22