Components implemented in shared libraries will be loaded into the project
with the package manager. Every shared object library needs an appropriate
description file which describes the contents of the library. In the package
manager you may select the *.dso files that will be loaded with your project.
To start the package manager from HBasic click on the menu-item View / Package
Manager or click on the appropriate icon in the toolbar.
This will open the package manager window which displays at least a list
of the packages that are known on your system in the package list section.
This includes packages which will be distributed on default with HBasic and
packages which you may create and append yourself. All packages marked in
the check box will be loaded with your project. In the image below this is
true for the packages example_package_1.dso and hbasic_stdgui_1.dso. Every
project should at least load the hbasic_stdgui_1.dso package because it contains
all required Qt widgets like buttons, scrollbars etc. If you want to load
or unload packages select or deselect them with a mouseclick on the checkbox
in the package list section. If the package exports components with icons
which could be used in the formdesigner the component icons will be added
or deleted in the select window at the time you select or deselect the package.
If you select a package in the package list section the component-list section
will display the components defined in the package. If you select a component
the Member-list section will display the methods, events and properties exported
by the component. This will give you some basic information about the functions
defined by the components.
Adding new packages
If you want to add new created packages to the package list click on the
Add package button. This will open a new FileSelect dialog where you
can select the path of the *.dso file for the new package. This file must
be created first with the libdesc program. To delete a package from the list
select the package name and click on the Hide package button. This
will remove the package name from the list of known packages.