QT-based user interface control generating method and device

A user interface and user technology, applied in the computer field, can solve the problems of low code reuse rate, complicated operation, and large workload, and achieve the effects of high code reuse rate, simple operation, and improved development efficiency.

Active Publication Date: 2018-06-29
LOONGSON TECH CORP
View PDF6 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above-mentioned method for designing user interface controls requires developers to write corresponding codes to realize the required personalized and complex user interface controls. Handwriting code to realize the design of user interface controls makes it impossible to see whether the final control is the same as expected during the control design process

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 user interface control generating method and device
  • QT-based user interface control generating method and device
  • QT-based user interface control generating method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0022] Qt is a cross-platform C++ graphical user interface application program framework. The invention provides a QT-based user interface control generation method and device.

[0023] The invention provides a method for generating user interface controls based on QT, such as figure 1 As shown, the method includes:

[0024] S11. When the s...

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 user interface control generating method and device. The method comprises the steps of displaying a control generation interface when a starting instruction is received, and displaying a control element list of control elements according to the types; according to the control type selected by a user on the control generation interface, displaying the control element list corresponding to the control type in the control element list; according to a dragging operation selected by the control elements of the user, displaying target control elements on the controlgeneration interface; according to the user's control element combination operation, combining the multiple selected target control elements to form a user interface control. The method has the advantages that operation is easy, the process is visualized, and the code reuse rate is high, corresponding source codes and plug-ins are automatically generated while the user interface control type is generated, cross-platform usage and compatibility of QT are achieved, and therefore the developing efficiency of the user interface control can be improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for generating user interface controls based on QT. Background technique [0002] Existing embedded devices increasingly need user interface with individuality and characteristics. Among them, the core of mainstream user interface design is control technology. In order to provide better user experience, it is usually necessary to design some personalized user interface controls. [0003] The existing way of designing some personalized complex user interface controls is: using Qt Creator to create a control project to generate custom controls, wherein Qt Creator is a cross-platform integrated development environment. However, the above-mentioned method for designing user interface controls requires developers to write corresponding codes to realize the required personalized and complex user interface controls. Handwriting code to realize the design of user ...

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): G06F9/451
CPCG06F8/38
Inventor 曹惠雄
Owner LOONGSON TECH CORP
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