QT-based human-computer interface modular development method

A man-machine interface, modular technology, applied in the direction of instruments, electrical digital data processing, computing, etc., can solve the problems of unfriendly scalability, time-consuming research and development, and difficult operation, so as to shorten the development time and reduce the amount of writing and complexity, the effect of reducing development costs

Pending Publication Date: 2020-10-27
成都寰蓉光电科技有限公司
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the development of the human-machine interface is carried out according to the above steps, a lot of research and development time will be spent on the development and layout of the control class
Moreover, the software development under the current process is highly professional, and its scalability is not friendly. If other coders who are not the software want to add a certain control under the software for testing, they will face the problem of difficult operation

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • QT-based human-computer interface modular development method
  • QT-based human-computer interface modular development method
  • QT-based human-computer interface modular development method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] Such as figure 1 As shown, a QT-based man-machine interface modular development method includes the following steps:

[0026] (1) Abstract and encapsulate the basic control classes of QT to obtain control classes with attribute interfaces;

[0027] (2) Create an interface configuration file;

[0028] (3) Use QT to create a project without selecting the creation interface option, and obtain the first project file;

[0029] (4) Load the required control class in the first project to obtain the second project file;

[0030] (5) Add interface configuration file and resource file in project file, obtain the 3rd project file;

[0031] (6) Create a code file in the third project file, write the slot function corresponding to the signal configured in the interface configuration file in the control class, and obtain the fourth project file;

[0032] (7) Use QT to compile and run the fourth project file to obtain the required interface.

[0033] The design principle of the p...

Embodiment 2

[0041] On the basis of Embodiment 1, the creation of the interface configuration file includes two ways of generating by using visualization software and manually editing. Such as image 3As shown, the method of using visualization software to generate interface configuration files includes two situations: the first is to read the existing interface configuration files, and then modify the main interface layout information, add / modify / delete sub-interface layout information and add / modify There are three steps to modify / delete the control, and finally generate the interface configuration file; the second is that the existing interface configuration file is not read, and the interface needs to be generated through three steps of adding main interface layout information, creating sub-interface layout information and adding controls configuration file. Such as Figure 4 As shown, the method for manually editing and generating interface configuration files includes the following...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a QT-based human-computer interface modular development method, which comprises the following steps: abstractly packaging a basic control class of a QT to obtain a control classwith an attribute interface; creating an interface configuration file; creating a project by using QT in a manner of not selecting an interface creation option to obtain a first project file; loadinga required control class in the first project to obtain a second project file; adding an interface configuration file and a resource file configured in the interface configuration file into the second project file to obtain a third project file; creating a code file in the third project file, and compiling a slot function corresponding to the signal configured in the interface configuration filein the control class to obtain a fourth project file; using the QT for compiling and operating the fourth project file to obtain the demand interface. According to the invention, the basic control class of the QT is abstractly packaged and the configuration file is used for configuring the interface layout information, so that the reuse rate of codes is improved, the code quantity and the code complexity are reduced, and the interface development efficiency is improved.

Description

technical field [0001] The invention relates to a software development technology of a QT-based man-machine control interface, in particular to a QT-based man-machine interface modular development method. Background technique [0002] QT is a C++ graphical user interface application development framework developed by the Qt Company. It has excellent cross-platform features, and users only need to develop a program once to deploy it on different operating systems and desktops. And its object-oriented mechanism, rich API and a large number of development documents make it more and more the mainstream of application software development. In the development of man-machine interface using QT, the usual steps are as follows: [0003] The first step is to divide the control classes that need to be implemented according to the detailed interface design document. [0004] The second step is to code the control classes that need to be implemented one by one, including the position ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/38
CPCG06F8/38
Inventor 徐朝鹏杨志天任维
Owner 成都寰蓉光电科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products