#include <hk_dsdatavisible.h>
Inheritance diagram for hk_dsdatavisible:
Public Member Functions | |
hk_dsdatavisible (hk_presentation *p=NULL) | |
virtual | ~hk_dsdatavisible () |
void | set_columnname (const hk_string &c, bool registerchange=true) |
void | set_columnname (const hk_string &c, bool registerchange, int coloccurance) |
hk_column * | column (void) |
hk_string | columnname (void) |
virtual void | set_datasource (hk_datasource *d) |
hk_datasource * | datasource (void) |
virtual void | savedata (ostream &s) |
virtual void | loaddata (const hk_string &definition) |
bool | use_defaultvalue (void) |
void | set_defaultvalue (const hk_string &def, bool registerchange=true) |
hk_string | raw_defaultvalue (void) |
hk_string | defaultvalue (void) |
void | reset_default (bool registerchange=true) |
void | set_numberformat (bool use_numberseparator=false, int commadigits=-1, bool registerchange=true) |
void | set_numberformat (bool use_numberseparator, int commadigits, bool registerchange, bool force_setting) |
bool | use_numberseparator (void) |
int | commadigits (void) |
int | precision (void) |
virtual hk_string | value_at (unsigned long row) |
virtual hk_string | value (void) |
virtual void | set_value (const hk_string &) |
unsigned int | find (unsigned int from, unsigned int to, const hk_string &searchtext, bool wholephrase=false, bool casesensitive=false, bool backwards=false) |
unsigned int | find (const hk_string &searchtext, bool wholephrase=false, bool casesensitive=false, bool backwards=false) |
void | set_on_valuechanged_action (const hk_string &, bool registerchange=true, bool force_setting=true) |
hk_string | on_valuechanged_action (void) |
virtual bool | action_on_valuechanged (void) |
Static Public Member Functions | |
static void | set_defaultnumberformat (bool use_thousandsseparator, int precision) |
static bool | defaultuse_numberseparator (void) |
static int | defaultprecision (void) |
Protected Member Functions | |
void | set_data_has_changed (void) |
virtual bool | datasource_disable (void) |
virtual bool | datasource_enable (void) |
virtual void | datasource_delete (void) |
virtual bool | before_columns_deleted (void) |
virtual void | widget_specific_set_column (void) |
virtual void | widget_specific_numberformat (void) |
virtual void | columndata_has_changed (void) |
virtual void | before_insert_row (void) |
virtual void | new_column_pointer_created (void) |
virtual bool | presentationmode_changed (void) |
Protected Attributes | |
hk_column * | p_column |
Friends | |
class | hk_column |
|
|
|
|
|
|
|
FOR WIDGET DEVELOPERS ONLY: will be automatically called before the columns will be deleted. usually column pointers will be set to NULL in this function. i.e.when enabling,disabling or when a depending datasource has to requery its rows. Reimplemented from hk_dsvisible. |
|
Reimplemented from hk_dsvisible. |
|
|
|
|
|
|
|
|
|
Reimplemented from hk_dsvisible. |
|
FOR WIDGET DEVELOPERS ONLY: will be automatically called when the datasources is destroyed Reimplemented from hk_dsvisible. |
|
FOR WIDGET DEVELOPERS ONLY: will be automatically called when the datasources is disabling Reimplemented from hk_dsvisible. |
|
FOR WIDGET DEVELOPERS ONLY: will be automatically called when the datasources is enabling Reimplemented from hk_dsvisible. |
|
|
|
|
|
|
|
|
|
Reimplemented in hk_dsgridcolumn. |
|
loads the object's values out of the definition string. Especially used to load queries, forms and reports Reimplemented from hk_dsvisible. Reimplemented in hk_dsgridcolumn. |
|
Reimplemented in hk_reportdata. |
|
|
|
|
|
Reimplemented from hk_dsvisible. Reimplemented in hk_dsgridcolumn, hk_reportsection, and hk_reportdata. |
|
|
|
resets the default value. After that no default value will be used |
|
stores the object's values to stream s. Especially used to store queries, forms and reports Reimplemented from hk_dsvisible. Reimplemented in hk_dsgridcolumn. |
|
|
|
column name in the datasource. If there is no column with this name the widget will not be enabled
|
|
used from eg. hk_kdememo to allow to signal the datasource that the data has changed without writing it with hk_column::set_asstring |
|
the datasource Reimplemented from hk_dsvisible. Reimplemented in hk_dsgridcolumn, and hk_reportsection. |
|
|
|
sets the default value
|
|
|
|
|
|
|
|
sets the display value. If this object has an existing column() the data will be changed |
|
true if the default value will be used while inserting a new row |
|
|
|
|
|
returns the formatted value of the row 'row' Reimplemented in hk_dsgridcolumn. |
|
|
|
|
|
|
|
|