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

hk_kdegrid Class Reference

shows data in a grid without columnheaders. More...

#include <hk_kdegrid.h>

Inheritance diagram for hk_kdegrid:

hk_dsgrid hk_dsvisible hk_visible hk_class List of all members.

Public Slots

void find_clicked (void)
void find_next (void)
void findargument_changed (void)
void print_grid (void)

Public Member Functions

 hk_kdegrid (QWidget *w=0, const char *n=0, WFlags f=0, hk_kdesimpleform *form=NULL)
virtual ~hk_kdegrid ()
void set_datasource (hk_datasource *d)
hk_kdesimplegridsimplegrid (void)
hk_kdegridpart * part (void)
virtual void show_widget (void)
virtual void hide_widget (void)
virtual bool close_widget (void)

Protected Member Functions

virtual bool widget_specific_coordinates (unsigned int px, unsigned int py, unsigned int pwidth, unsigned int pheight)
virtual void widget_specific_presentationdatasource (long p)
virtual void widget_specific_enable_disable (void)
virtual void widget_specific_font_changed (void)
virtual void resizeEvent (QResizeEvent *)
virtual void moveEvent (QMoveEvent *)
virtual void before_row_change (void)
virtual void widget_specific_backgroundcolour_changed (const hk_colour &)
virtual void widget_specific_foregroundcolour_changed (const hk_colour &)
virtual void widget_specific_columns_created (void)
void widget_specific_rowheight_changes (void)
virtual bool presentationmode_changed (void)

Friends

class hk_kdegridpart
class hk_kdesimplegrid

Detailed Description

shows data in a grid without columnheaders.

Version:
Revision
1.32
Author:
Horst Knorr (hk_classes@knoda.org)
This widget shows data of a datasource in a grid. If the data is not readonly you can edit the data just by typing in the cell. It has column and row headers and a rowselector.

Just set the datasource and enable it. For details how you can use it see hk_kdesimplegrid.


Constructor & Destructor Documentation

hk_kdegrid::hk_kdegrid QWidget *  w = 0,
const char *  n = 0,
WFlags  f = 0,
hk_kdesimpleform form = NULL
 

virtual hk_kdegrid::~hk_kdegrid  )  [virtual]
 


Member Function Documentation

virtual void hk_kdegrid::before_row_change void   )  [protected, virtual]
 

FOR WIDGET DEVELOPERS ONLY: called from hk_datasource before it tries to change the row or disable widget can i.e. store changed data there

Reimplemented from hk_dsvisible.

virtual bool hk_kdegrid::close_widget void   )  [virtual]
 

Reimplemented from hk_visible.

void hk_kdegrid::find_clicked void   )  [slot]
 

void hk_kdegrid::find_next void   )  [slot]
 

void hk_kdegrid::findargument_changed void   )  [slot]
 

virtual void hk_kdegrid::hide_widget void   )  [virtual]
 

Reimplemented from hk_visible.

virtual void hk_kdegrid::moveEvent QMoveEvent *   )  [protected, virtual]
 

hk_kdegridpart* hk_kdegrid::part void   )  [inline]
 

virtual bool hk_kdegrid::presentationmode_changed void   )  [protected, virtual]
 

Reimplemented from hk_dsvisible.

void hk_kdegrid::print_grid void   )  [slot]
 

virtual void hk_kdegrid::resizeEvent QResizeEvent *   )  [protected, virtual]
 

void hk_kdegrid::set_datasource hk_datasource d  )  [virtual]
 

the datasource which data it has to show

Reimplemented from hk_dsgrid.

virtual void hk_kdegrid::show_widget void   )  [virtual]
 

Reimplemented from hk_visible.

hk_kdesimplegrid* hk_kdegrid::simplegrid void   )  [inline]
 

returns the use hk_kdesimplegrid. Please don't delete it !

virtual void hk_kdegrid::widget_specific_backgroundcolour_changed const hk_colour  )  [protected, virtual]
 

Reimplemented from hk_visible.

virtual void hk_kdegrid::widget_specific_columns_created void   )  [protected, virtual]
 

Reimplemented from hk_dsgrid.

virtual bool hk_kdegrid::widget_specific_coordinates unsigned int  px,
unsigned int  py,
unsigned int  pwidth,
unsigned int  pheight
[protected, virtual]
 

Reimplemented from hk_visible.

virtual void hk_kdegrid::widget_specific_enable_disable void   )  [protected, virtual]
 

FOR WIDGET DEVELOPERS ONLY: defines whether the widget should be enabled or disabled. Has to be rewritten for a new widget

Reimplemented from hk_dsvisible.

virtual void hk_kdegrid::widget_specific_font_changed void   )  [protected, virtual]
 

Reimplemented from hk_visible.

virtual void hk_kdegrid::widget_specific_foregroundcolour_changed const hk_colour  )  [protected, virtual]
 

Reimplemented from hk_visible.

virtual void hk_kdegrid::widget_specific_presentationdatasource long  p  )  [protected, virtual]
 

FOR WIDGET DEVELOPERS ONLY: will be automatically called before the presentationdatasource will be set

Reimplemented from hk_dsvisible.

void hk_kdegrid::widget_specific_rowheight_changes void   )  [protected, virtual]
 

Reimplemented from hk_dsgrid.


Friends And Related Function Documentation

friend class hk_kdegridpart [friend]
 

friend class hk_kdesimplegrid [friend]
 


The documentation for this class was generated from the following file:
Generated on Thu Mar 9 18:40:42 2006 for hk_classes by  doxygen 1.4.1