Kexi Web Browser Widget is a form element that lets the user to put full-featured web browser's box onto the Kexi Form surface using single drag and drop and then load the address from the database. The challenge has been accepted by Shreya Pandit within the Season of KDE program for the Calligra project.
As someone relatively new to Qt/KDE Shreya shows really nice progress, so below I will explain one of the use cases that is already possible with her new form widget.
The use case
User wants to store a set of bookmarked web sites (links) with descriptive names. Then she expects to have easy way to browse through the bookmarks and see the web sites previewed. Browsing capabilities within the same window (without opening new one) would be a plus.
All this is now possible in Kexi. For more modular design, Shreya inserted the widget implementation into a separate Form Plugin which is compiled and loaded only when Qt WebKit is available on the system. Kexi already provides API for such plugins. Naturally, the API simplified the process of binding the form widget to a database field.
Step 1: Define data
Step 2: Design the form
Where from here?
In the long term, the it could be possible to provide KDE web bookmarks system as dedicated data source for Kexi, so the bookmarks would be easy to bound to the form as a special type of database table (view). Other idea is to store snapshots of web pages in the database for either for archiving needs or for offline use. Moreover, in addition to forms, there are plans for implementing web boxes support in Kexi Reports (printouts) and ODF documents.
For discussing many more details we have set up dedicated Season of Kexi group.