The example package

Contents



Overview



The package example_package provides some components that will be used in the source code examples of the HBasic documentation. This package includes two components:

Nogui
A component with no visible widget at runtime which only provides a simple interface
XButton
A button like widget component which is derived from the QT QPushButton

Both components only use a very minimalistic interface to work as simple as possible and may therefore also be used as a template for new packages.



Component Nogui




The following methods may be used with a component of type file:

Add
return sum of two integer values



Component XButton