Databasehandlingdialogclasses  0.5.3
hk_kdereportdata.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 
12 #ifndef HK_KDEREPORTDATA_H
13 #define HK_KDEREPORTDATA_H
14 #include <hk_reportdata.h>
15 #include <qwidget.h>
17 class hk_kdesimplereport;
18 class hk_kdereportdata:public QWidget, public hk_reportdata
19 {
20 
21  Q_OBJECT
22 
23  public:
24  hk_kdereportdata( hk_kdereportsection* s, const char* name = 0, WFlags fl = 0 );
25  virtual ~hk_kdereportdata();
26 
27  hk_kdereportsection* section(void);
28 
29  protected:
30  void paintEvent(QPaintEvent* e);
31  virtual void resizeEvent (QResizeEvent *);
32  virtual void moveEvent ( QMoveEvent * ) ;
33  virtual bool widget_specific_coordinates(uint px,uint py,uint pwidth,uint pheight);
34  virtual void widget_specific_backgroundcolour_changed(const hk_colour&);
35  virtual void widget_specific_foregroundcolour_changed(const hk_colour&);
36 
37  private:
38  void reposition(void);
39  hk_kdereportsection* p_kdesection;
40  double pix_je_cm ;
41 };
42 #endif
Definition: hk_kdereportdata.h:18
Definition: hk_kdereportsection.h:21
KDE Widget to design and execute reports.
Definition: hk_kdesimplereport.h:42