#include <hk_kdeform.h>
Inheritance diagram for hk_kdeform:
Signals | |
void | signal_closed (QWidget *) |
Public Member Functions | |
hk_kdeform (QWidget *parent=0, const char *name=0, WFlags fl=0) | |
virtual | ~hk_kdeform () |
hk_presentation::enum_mode | mode (void) |
void | set_mode (hk_presentation::enum_mode s) |
void | set_viewmode (void) |
void | set_designmode (void) |
hk_dsgrid * | new_grid (void) |
hk_dslineedit * | new_lineedit (void) |
hk_dsboolean * | new_bool (void) |
hk_button * | new_button (void) |
hk_dsrowselector * | new_rowselector (void) |
hk_dsmemo * | new_memo (void) |
hk_subform * | new_subform (void) |
void | set_formsize (unsigned int width, unsigned int height) |
void | set_database (hk_database *db) |
hk_database * | database (void) |
list< hk_datasource * > * | datasources (void) |
long | new_datasource (const hk_string &name, datasourcetype dt=dt_table) |
hk_datasource * | get_datasource (long nr) |
hk_kdesimpleform * | simpleform (void) |
bool | set_presentationdatasource (long n, bool r=true) |
long | presentationdatasource (void) |
void | loaddata (const hk_string &definition) |
void | savedata (ofstream &s) |
void | load_form (const hk_string &n) |
void | set_autoclose (bool c) |
void | set_nodesignmode (bool n) |
void | save_form_when_changed (void) |
hk_kdeproperty * | propertyeditor (void) |
Protected Slots | |
void | part_removed (void) |
void | grid_partinfocus (hk_kdegridpart *) |
void | grid_partoutfocus (hk_kdegridpart *) |
void | close_form (void) |
Protected Member Functions | |
virtual void | closeEvent (QCloseEvent *e) |
virtual void | mousePressEvent (QMouseEvent *) |
Protected Attributes | |
KAction * | p_closeaction |
Friends | |
class | hk_kdesimpleform |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loads the object's values out of the definition string. Especially used to load queries, forms and reports Reimplemented from hk_class. |
|
|
|
|
|
See hk_kdesimpleform for details |
|
See hk_kdesimpleform for details |
|
|
|
See hk_kdesimpleform for details |
|
See hk_kdesimpleform for details |
|
See hk_kdesimpleform for details |
|
See hk_kdesimpleform for details |
|
|
|
|
|
|
|
|
|
|
|
|
|
when the datasource vanishes (i.e. will be destroyed) and autoclose is true, the hk_kdeform will be closed otherwise it still is on your screen. |
|
See hk_kdesimpleform for details |
|
|
|
See hk_kdesimpleform for details |
|
See hk_kdesimpleform for details |
|
if the designwindow should not be shown set this true. Default is false. |
|
if r=true the simpleform will also be set. Usually you have to leave it to "true" |
|
|
|
|
|
returns a pointer to the internally used hk_kdesimpleform. Don't delete the object! |
|
|
|
|