Loads and manages Zuble application control modules. More...
Import Statement: | import controller . |
The Zuble QML stack defines a modular MVC architecure. The application main frame loads application control modules and views. Each control module provides its application data models. Application views display data from the models and send commands to the controller when data must be updated. Views are either workpads that display in the main applicatin window, or tools in the toolbox.
ZController providews a generic control module container. It loads ZControlModule-derived objects that act as controllers for Zuble applications. The modular controller architecture allows the creation of Zuble "applets" that conform to MVC and can be mixed and matched together within a single Zuble process.
The client interface to the control modules features a message-based protocol. Clients send command messages to the control modules and receive asynchronous responses when work is completed. This allows control modules to delete workpads arbitrarily without danger of corrupting the stack and provides a generic interface for asynchronous command processing.
Application designers can override Zuble's behavior by defining their own main controller module and loading that with the zblconfig.zml file's <controller> element. Zuble will load the alternate controller instead of this one.
Obtains the specified control module.
moduleName
: Name of the module to return.
Zuble documentation copyright © 2019 Bob Dinitto. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Zuble is a derivative work of Qt version 5. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.