_uc_WebKitControl - WEB kit control
The WEB kit control _uc_WebKitControl is wrapping the QtWebkit library into a user control. This user control has a universal character because it displays any web-application and may provide data for it.
The general work flow for this control is:
- Define a user control style that loads the _uc_WebKitControl library (case sensitive) and provides a URL in control options.
- Define a field control that uses the style
- Define a field with a user defined (STRING) data source, that uses the field control
- Define a control context class and implement doAfterOpen() and doAfterShow() that provide a STRING property
- Implement a web-application (e.g. a html page) that uses the JavaScript object wkc to receives the data.
The _uc_WebKitControl aims to implement a simple interface between JavaScript and ODABA. To create complex controls that do further communication with the database it is advised to use the _uc_WebKitControl as template and implement domain specific signals and slots.