Unlock instant, AI-driven research and patent intelligence for your innovation.

UI style editing method based on Qss style sheet

A style sheet and style technology, applied in intelligent editors, visual/graphical programming, instruments, etc., can solve the problems of not being able to form operation buttons or operation windows, reducing the design efficiency of the main interface of the software, and the reusability of UI styles. The effect of improving universality

Active Publication Date: 2021-10-29
CHENGDU ZHONGKE HEXUN TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, these embedded UI-style operation buttons or operation windows are usually specially generated for different software, which cannot form universal embedded UI-style operation buttons or operation windows for different software, which seriously reduces the software main interface. Design efficiency and reusability of UI styles

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The following clearly and completely describes the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0034] The UI style editing method based on the Qss style sheet comprises the following steps:

[0035] Step S1, obtaining the file content of the UI style resource file; analyzing the file content to determine all UI event elements contained in the UI style resource file, and converting the UI event elements into visual page elements;

[0036] Step S2, determine the trigger action corresponding to each page element on the page, so as to construct the corresponding page design element between the trigger action and the page element; and ...

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 UI style editing method based on a Qss style sheet, and belongs to the technical field of data visualization design, and the method comprises the steps: analyzing the file content of a UI style resource file, determining all UI event elements contained in the UI style resource file, and converting to obtain visual page elements; constructing a corresponding page design element between the trigger action and the page element so as to change the page design element into a UI control; then, loading a macro file generated according to the Qss style sheet into the UI control, so that a UI frame in a visual form is obtained; finally, arranging the UI frame in different areas of the software main interface, so that interface operation elements associated with the UI event elements are formed in the different areas, the Qss style sheet is used for processing the UI control, the obtained UI frame can be suitable for different types of software main interfaces, and then the universality of the UI framework and the design efficiency of the software main interface are improved.

Description

technical field [0001] The invention relates to the technical field of data visualization design, in particular to a UI style editing method based on a Qss style sheet. Background technique [0002] During the software development process, developers need to perform different operations on the software main interface, so as to realize corresponding software code editing. In order to improve the developer's code editing accuracy and efficiency, the corresponding embedded UI-style operation buttons or operation windows are usually set on the toolbar or task volume of the software main interface. However, these embedded UI-style operation buttons or operation windows are usually specially generated for different software, which cannot form universal embedded UI-style operation buttons or operation windows for different software, which seriously reduces the software main interface. High design efficiency and reusability of UI styles. Contents of the invention [0003] Aiming...

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/33G06F8/34G06F8/38
CPCG06F8/33G06F8/34G06F8/38
Inventor 蔡万苍谢成勇周玉龙刘亚池邱奇奇李云鹏
Owner CHENGDU ZHONGKE HEXUN TECH CO LTD