Modules

Chapter 5. Modules

Modules are a integral feature of KSimus.

You can use modules like regular components. This is useful in two aspects:

Module Features

What are the features of the modules:

  • You haven't found this tricky component? Create it by yourself!

  • Define the schematic interface with External Connectors. Place for each input or output an External Connector, and name it with a unique name. That's all.

  • Define the user interface of the module in the Module View. There are three different kinds of views:

    • Generic View - This view is full automated and usual used if something during module loading goes wrong. The External Connectors are automatically placed and the body is a simple rectangle with the text "Module" inside.

    • User View - This view is the same as the User Interface View. This is useful, if your module have some GUI components that should be applied to the Schematic View or User Interface View of the parent document. You have to place the External Connectors on your own. Because the size of the module is like the size of the User Interface View, don't forget to reduce the size of the User Interface View.

    • Image - This view provides the module with a meaningful image. Create the image with a drawing program of your choice (Remember the raster of 8 pixels) and get the path to KSimus. The path can be stored absolute or relative to the module file location. Additionally the image can be stored inside the module file. This is not recommend with large images.

KDE Logo