Method and system for quickly generating software interface
A software interface and interface technology, applied in software engineering design, instruments, calculations, etc., can solve the problems of high code maintenance cost, heavy workload, and "huge number of programs" to achieve the effect of less code maintenance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] Such as figure 1 As shown, the present invention discloses a method for quickly generating a software interface, the steps comprising:
[0053] Step 1: Divide the UI interface into modules. Different UI interfaces are created and managed by corresponding management modules (module widgets). Among them, the sub-function management module (feature widget) provides the functional interface of each UI interface, and the management module (module widget) is responsible for creating and displaying the sub-function management module (featurewidget) according to the specified method;
[0054] Step 2: Form the corresponding module and sub-function module configuration file according to the software interface, which follows the JSON standard format, which includes the description information of the function module and sub-function module;
[0055] Wherein, the description information of the function module includes the display order (Order) field of the module interface in the m...
Embodiment 2
[0059] The specific steps of the above embodiments are described in conjunction with this embodiment, wherein, specifically, when drawing, the following sub-steps are specifically included:
[0060] 31) According to the configuration files of the above modules and sub-function modules, generate the management module interface structure and sub-function interface structure instances, and cache them;
[0061] 32) Create a corresponding QModWidget window class instance for each management module interface structure instance, and import the corresponding management module interface structure (CMod) here;
[0062] Among them, when the QModWidget instance is initialized, a corresponding QFeatureWidget window class instance or a window class instance inherited from QFeatureWidget is created and initialized for each sub-function interface structure instance under this module, and the corresponding sub-function interface structure must also be Body (CFeature) is passed in, among them, ...
Embodiment 3
[0067] To further explain, as figure 2 As shown, wherein, in this embodiment, "FUIGF" represents the interface framework involved in this embodiment, which is developed using QT technology.
[0068] It further includes:
[0069] Step 1: Divide the UI interface into modules, that is, different UI interfaces are created and managed by corresponding management modules. The management module is called "module widget", and the sub-functions under the module are called "feature widgets". The "feature widget" provides the basic functional interface that every UI interface must have, and the "module widget" is responsible for creating and displaying the "feature widget" according to the specified method.
[0070] The framework uses a json file to know which modules there are and which interfaces are contained under each module, and the display order of these modules and interfaces is also controlled by the json file.
[0071] 1. feature widget
[0072]
[0073]
[0074] 2. m...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


