#include <hk_dsdatavisible.h>
Inheritance diagram for hk_dsdatavisible:


Public Member Functions | |
| hk_dsdatavisible (hk_presentation *p=NULL) | |
| 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) |
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 | |
| 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 void | 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. |
|
|
|
|
|
|
|
|
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. Reimplemented in hk_dscombobox. |
|
|
FOR WIDGET DEVELOPERS ONLY: will be automatically called when the datasources is enabling Reimplemented from hk_dsvisible. Reimplemented in hk_dscombobox. |
|
|
|
|
|
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_dscombobox, and hk_dsgridcolumn. |
|
|
|
|
|
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_dscombobox, and hk_dsgridcolumn. |
|
||||||||||||
|
column name in the datasource. If there is no column with this name the widget will not be enabled
|
|
|
the datasource Reimplemented from hk_dsvisible. Reimplemented in hk_dscombobox, 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_dscombobox, and hk_dsgridcolumn. |
1.4.1