OpenSCADAWiki: Home Page En/Doc/QT Starter ...

Home | Index | Changes | Comments | Users | Registration | Login  Password:  
 
This is an old revision of HomePageEn/Doc/QTStarter from 2015-08-02 21:52:04..

The module of subsystems "User Interfaces" <QTStarter>

Module:QTStarter
Name:Qt GUI starter
Type:User Interfaces
Source:ui_QTStarter.so
Version:1.8.0
Author:Roman Savochenko
Translated:Maxim Lysenko
Description:Provides the Qt GUI starter. Qt-starter is the only and compulsory component for all GUI modules based on the Qt library.
License:GPL

Contents

Introduction

The module <QTStarter> provides the system OpenSCADA with the starter of Qt GUI modules. A separate module of running the Qt GUI modules is needed because of the need for single-flow execution of all components and centralized initialization of the main object of the Qt-library — QApplication.


To run a Qt GUI modules advanced interface of callback of functions of modules is used. This interface involves exporting of functions by the external modules. In our case, Qt GUI modules must export the following functions:


For identification Qt GUI module must identify the information item of the module "SubType" as "Qt". Based on this feature "Starter" works with it.


After receiving the object of the main window "Starter" adds its own control panel and menu item in the window and runs it. Starter control panel contains icons to call all the available Qt GUI modules. To except the addition of the control panel or the menu item, the module, which contains the window, can specify the properties of "QTStarterToolDis" or "QTStarterMenuDis" respectively.


For the specifying Qt GUI modules that run at startup, the starter module contains the configuration field StartMod. In this field the identifiers of running modules are recorded via ';'. StartMod configuration field can be described in the configuration file, as well as in the system database table through dialog of configuration of the module (Fig. 1).


The module configuration page. (77 Kb)
Fig.1. The module configuration page.

In the case of closing the windows of all Qt GUI modules "Starter" creates a dialog box that offers to choose the available Qt GUI modules, or shut down the system OpenSCADA. The view dialog box is given in the Figure 2.


 (57 Kb)
Fig.2. The dialog window of the "Starter".

Links

Referring pages: HomePageEn/Doc
HomePageEn/Doc/OpenSCADA060


 
There are no files on this page.[Display files/form]
There is no comment on this page. [Display comments/form]