CN117170654A - Development method and device of graphical user interface application program and electronic equipment - Google Patents

Development method and device of graphical user interface application program and electronic equipment Download PDF

Info

Publication number
CN117170654A
CN117170654A CN202311205537.7A CN202311205537A CN117170654A CN 117170654 A CN117170654 A CN 117170654A CN 202311205537 A CN202311205537 A CN 202311205537A CN 117170654 A CN117170654 A CN 117170654A
Authority
CN
China
Prior art keywords
file
editor
target
user interface
project
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311205537.7A
Other languages
Chinese (zh)
Inventor
于成刚
胡明礼
吕雄
周国强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qiaohong Technology Chengdu Co ltd
Original Assignee
Qiaohong Technology Chengdu Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qiaohong Technology Chengdu Co ltd filed Critical Qiaohong Technology Chengdu Co ltd
Priority to CN202311205537.7A priority Critical patent/CN117170654A/en
Publication of CN117170654A publication Critical patent/CN117170654A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

A development method and device for a graphical user interface application program and electronic equipment belong to the field of computers. The development method of the graphical user interface application program comprises the following steps: generating a project file according to the guidance of the project guide; generating a target file by receiving editing input of at least part of the project files through a target editor; wherein the target editor is used for assisting in the development of a graphical user interface application program; the target file comprises call data for calling a human-computer interaction interface resource, the human-computer interaction interface resource comprises a graphic library resource, and the graphic library resource comprises a graphic library file and a graphic library compiler; and compiling the target file to obtain the graphical user interface application program.

Description

Development method and device of graphical user interface application program and electronic equipment
Technical Field
The application belongs to the field of computers, and particularly relates to a method and a device for developing a graphical user interface application program and electronic equipment.
Background
Currently, with the continuous development of computer technology, the development of application programs is a popular field.
In the field of application development, conventional application programs are often developed, and in actual development, because private resources held by each enterprise are not disclosed, there are often cases where a human-machine interaction interface (Human Machine Interface, HMI) application program needs to be developed for specific resources.
Disclosure of Invention
The embodiment of the application provides a method and a device for developing a graphical user interface application program and electronic equipment, which can realize the development of the graphical user interface application program aiming at specific resources.
In a first aspect, an embodiment of the present application provides a method for developing a graphical user interface application, where the method includes:
generating a project file according to the guidance of the project guide;
generating a target file by receiving editing input of at least part of the project files through a target editor; wherein the target editor is used for assisting in the development of a graphical user interface application program; the target file comprises call data for calling a human-computer interaction interface resource, the human-computer interaction interface resource comprises a graphic library resource, and the graphic library resource comprises a graphic library file and a graphic library compiler;
and compiling the target file to obtain the graphical user interface application program.
In a second aspect, an embodiment of the present application provides a device for developing a graphical user interface application, including:
the generation module generates a project file according to the guidance of the project guide; receiving editing input of at least part of the project files through a target editor, and generating target files, wherein the target files comprise calling data for calling human-computer interaction interface resources, the human-computer interaction interface resources comprise graphic library resources, and the graphic library resources comprise graphic library files and a graphic library compiler;
and the compiling module is used for compiling the target file to obtain the graphical user interface application program.
In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In the embodiment of the application, a project file is generated according to the guidance of a project guide; generating a target file by receiving editing input of at least part of the project files through a target editor; in the process of editing input, invoking special graphic library resources, wherein the target editor is used for assisting in developing a graphic user interface application program; the target file comprises call data for calling a human-computer interaction interface resource, the human-computer interaction interface resource comprises a graphic library resource, and the graphic library resource comprises a graphic library file and a graphic library compiler; and compiling the target file to obtain a graphical user interface application program (man-machine interaction interface application program) so as to realize development of the man-machine interaction interface application program.
Drawings
FIG. 1 is a schematic diagram of an overall architecture involved in a method of developing a graphical user interface application provided by the present application;
FIG. 2 is a flow chart of a method of developing a graphical user interface application provided by the present application;
FIG. 3 is a block diagram of a graphical user interface application development apparatus provided by the present application;
fig. 4 is a block diagram of an electronic device according to the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
Before describing the development method of the gui application provided by the embodiment of the present application, some nouns involved in the development method of the gui application provided by the embodiment of the present application are explained.
Graphical user interface (Human Machine Interface, HMI) resource: in particular to a set of graphic library resources provided by the company, which comprises graphic library files, a graphic library compiler and the like.
Visual Studio: abbreviated as VS, an integrated development environment software provided by microsoft corporation.
Qt: a cross-platform c++ graphical user interface application development framework developed by Qt Company. Qt is an object-oriented framework that uses special code to generate extensions and some macros, qt is easily extensible and allows for true component programming.
QML: QML is a descriptive scripting language, the file format ending in. QML. The QML can create graphic objects in the script, support various graphic special effects, state machines and the like, and can conveniently interact with C++ codes written by Qt, so that the QML is very convenient to use.
Makefile: the source files in one project are not counted, and are respectively placed in a plurality of catalogues according to types, functions and modules, makefiles define a series of rules to specify which files need to be compiled first, which files need to be compiled later, which files need to be recompiled, and even more complex functional operations are performed.
DevExpress (Developer Expres): devExpress is a globally known control development company. DevExpress also refers to a collection of controls or a series of controls or one of the controls available from this company.
SQLite: is a light database. The design target is embedded, the occupied resources are very low, and in the embedded equipment, only a small amount of memory is occupied. It can support the mainstream operating device and can also be combined with many programming languages.
Qt Creator: the Qt is a new lightweight integrated development environment. Can run across platforms and support a variety of devices.
In the application, a development platform integrating functions of project generation and compiling, file editing, interface drawing and the like is provided for HMI resources, and is used for assisting developers in completing development of HMI application programs, namely graphical user interface application programs, and the development platform is required to be matched with specific HMI resources in the actual development process.
Aiming at the utilization of HMI resources, the integrated development environment of the graphical user interface application program provided by the application is realized based on a Visual Studio plug-in development framework. When writing, writing a document according to Visual Studio plug-in provided by Microsoft official, wherein the main code is written in C# language, and the user interface editor module is written in C++ language for avoiding language logic conflict due to the fact that a Qt designer (Desginer) module is required to be used.
The development platform provided by the application is relatively simple to install, and the plug-in package is usually double-clicked on the Windows computer in the existing Visual Studio environment to wait for the installation to be completed without other operation steps. If a remote plug-in library is provided, one-touch remote installation may be accomplished by referring to Visual Studio to install the plug-ins in the remote library.
Meanwhile, a plurality of editors are provided in the integrated development environment of the graphical user interface application program, and different editors can be displayed to display proper interfaces in a unique mode for different file formats and different file data types. In the actual development process, the integrated development environment of the graphical user interface application program provided by the application greatly increases the readability and usability of file data no matter facing to the table, the tree table or the visual interface, and is convenient for viewing and modifying.
The following describes in detail a method for developing a graphical user interface application program provided by the embodiment of the present application through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an overall architecture involved in a development method of a gui application according to an embodiment of the present application. As shown in fig. 1, the overall architecture related to the development method of the gui application provided by the embodiment of the present application includes: project wizard, editor, compilation module and QML module.
The project guide is used for generating a project file; the editor is used for editing input in the project file to generate a target file; the compiling module is used for compiling the target file to obtain a graphical user interface application program; the QML module is used for compiling the QML file and expanding the compiling range.
Wherein the editor comprises: a multi-language interface editor, a programmable logic controller protocol editor, a user interface file editor, and a resource file editor.
The multi-language interface editor is used for reading files through database connection and displaying data in a form of a table; the programmable logic controller protocol editor presents data information in a text (Json) file oriented to a specific data format in a tree list form; the resource file editor is used for editing resource files in the project; the user interface file editor is used to view extensible markup language (XML) files containing special data formats with suffix uis, such files generally indicating specific visual interface information.
The user interface editor provided in the embodiment of the application further comprises: event editors, data binding editors, object indicators, property editors, control display windows, and the like.
Fig. 2 is a flowchart of a method for developing a gui application according to an embodiment of the present application. As shown in fig. 2, a method for developing a graphical user interface application program according to an embodiment of the present application includes:
step 210: generating a project file according to the guidance of the project guide;
the project wizard is a wizard that includes all HMI projects and related files. The guide can quickly create an empty HMI project, and can also conveniently realize the purpose of adding dependent files such as database files, programmable logic controller protocol template files and the like into the existing project.
Step 220: generating a target file by receiving editing input of at least part of the project files through a target editor; wherein the target editor is used for assisting in the development of a graphical user interface application program; the target file comprises call data for calling a human-computer interaction interface resource, the human-computer interaction interface resource comprises a graphic library resource, and the graphic library resource comprises a graphic library file and a graphic library compiler;
the target editor is an important component in the development method of the graphical user interface application program provided by the embodiment of the application, when the target editor is oriented to files in different projects, the target editor provides different sub-editors, and the different sub-editors are associated with corresponding file types through the editor interfaces provided by Visual Studio.
Step 230: and compiling the target file to obtain the graphical user interface application program.
Through step 230, compiler addresses and compiling commands for building projects can be set in the project files, and makefile files can be run through the commands, so that compiling and linking of project codes are realized;
in the embodiment of the application, a project file is generated according to the guidance of a project guide; generating a target file by receiving editing input of at least part of the project files through a target editor; in the process of editing input, invoking special graphic library resources, wherein the target editor is used for assisting in developing a graphic user interface application program; the target file comprises call data for calling a human-computer interaction interface resource, the human-computer interaction interface resource comprises a graphic library resource, and the graphic library resource comprises a graphic library file and a graphic library compiler; and compiling the target file to obtain a graphical user interface application program, and developing the man-machine interaction interface application program.
In one embodiment of the present application, the target file further includes a compiling command parameter, and compiling the target file is performed using the compiling command parameter.
The project file comprises default compiling command parameters, editing input of the target editor on files in the project file is received, the target file can be generated, when the target file is compiled, an interface file and related data in the target file are converted into a compilable code file, a specific makefile is generated, then a compiling module compiles the target file for different platforms, and the compiler executes makefile content according to the compiling command parameters to generate a final target program.
In the embodiment of the application, a project file is generated according to the guidance of a project guide; generating a target file by receiving editing input of at least part of the project files through a target editor; in the process of editing input, invoking special graphic library resources, wherein the target editor is used for assisting in developing a graphic user interface application program; the target file comprises call data for calling a human-computer interaction interface resource, the human-computer interaction interface resource comprises a graphic library resource, and the graphic library resource comprises a graphic library file and a graphic library compiler; and compiling the target file to obtain a graphical user interface application program, and developing the man-machine interaction interface application program. Meanwhile, through receiving editing input of at least part of the project files through a target editor, the generated target files comprise compiling command parameters for compiling the target files subsequently.
In one embodiment of the application, the target editor comprises a plurality of editors, with different file data types corresponding to different editors.
The editor comprises: a multi-language interface editor, a programmable logic controller protocol editor, a user interface file editor, and a resource file editor.
The multi-language interface editor is used for reading files through database connection and displaying data in a form of a table; the programmable logic controller protocol editor presents data information in a text (Json) file oriented to a specific data format in a tree list form; the resource file editor is used for editing resource files in the project; the user interface file editor is used to view extensible markup language (XML) files containing special data formats with suffix uis, such files generally indicating specific visual interface information.
In addition, the user interface editor provided in the embodiment of the application further comprises: event editors, data binding editors, object indicators, property editors, control display windows, and the like.
In the embodiment of the application, a project file is generated according to the guidance of a project guide; generating a target file by receiving editing input of at least part of the project files through a target editor; in the process of editing input, invoking special graphic library resources, wherein the target editor is used for assisting in developing a graphic user interface application program; the target file comprises call data for calling a human-computer interaction interface resource, the human-computer interaction interface resource comprises a graphic library resource, and the graphic library resource comprises a graphic library file and a graphic library compiler; and compiling the target file to obtain a graphical user interface application program, and developing the man-machine interaction interface application program. Meanwhile, the target editor comprises a plurality of editors, and can edit for a plurality of different types of file data.
In one embodiment of the present application, the project file includes a multilingual file, which is a file on which language switching is dependent; the target editor includes a multi-language interface editor for editing a multi-language file in the project file.
The multilingual interface editor is implemented using a set of DevExpress controls; the method is used for editing multilingual files in projects, the multilingual files can be understood as content sets of a plurality of translated text files, internal data of the files are stored in an SQLite database format, and the functions of editing, storing, importing, exporting and the like of multilingual data are realized through database connection. The text translation information of the user interface can be stored and edited by the multi-language interface editor, and the language switching effect of the user interface can be realized in the UI editor by exporting specific language files.
In the embodiment of the application, a project file is generated according to the guidance of a project guide; generating a target file by receiving editing input of at least part of the project files through a target editor; in the process of editing input, invoking special graphic library resources, wherein the target editor is used for assisting in developing a graphic user interface application program; the target file comprises call data for calling a human-computer interaction interface resource, the human-computer interaction interface resource comprises a graphic library resource, and the graphic library resource comprises a graphic library file and a graphic library compiler; and compiling the target file to obtain a graphical user interface application program, and developing the man-machine interaction interface application program. Meanwhile, the language switching effect is realized through the multi-language file and the multi-language interface editor.
In one embodiment of the application, the project file comprises a programmable logic controller data file; the target editor comprises a programmable logic controller protocol editor for editing a programmable logic controller data file in the project file; the programmable logic controller data files are arranged in a tree structure after being opened through the programmable logic controller protocol editor.
The programmable logic controller protocol editor is realized by using a DevExpress control set and is oriented to programmable logic controller data files in the project. The internal data of the programmable logic controller data file is stored in a Json file format, and after the programmable logic controller data file is opened by a programmable logic controller protocol editor, the whole data is arranged in a tree structure, so that the viewing and the modification are convenient.
In the embodiment of the application, a project file is generated according to the guidance of a project guide; generating a target file by receiving editing input of at least part of the project files through a target editor; in the process of editing input, invoking special graphic library resources, wherein the target editor is used for assisting in developing a graphic user interface application program; the target file comprises call data for calling a human-computer interaction interface resource, the human-computer interaction interface resource comprises a graphic library resource, and the graphic library resource comprises a graphic library file and a graphic library compiler; and compiling the target file to obtain a graphical user interface application program, and developing the man-machine interaction interface application program. Meanwhile, the programmable logic controller data file can be simply and clearly checked and modified through the programmable logic controller protocol editor.
In one embodiment of the application, the project file comprises a resource file; the target editor includes a resource file editor for editing a resource file in the project file.
The resource file editor is similar to the user interface file editor in implementation principle and is used for editing resource files in projects.
In the embodiment of the application, a project file is generated according to the guidance of a project guide; generating a target file by receiving editing input of at least part of the project files through a target editor; in the process of editing input, invoking special graphic library resources, wherein the target editor is used for assisting in developing a graphic user interface application program; the target file comprises call data for calling a human-computer interaction interface resource, the human-computer interaction interface resource comprises a graphic library resource, and the graphic library resource comprises a graphic library file and a graphic library compiler; and compiling the target file to obtain a graphical user interface application program, and developing the man-machine interaction interface application program. And meanwhile, calling the resource file through a resource file editor to generate the target file.
In all the above embodiments of the present application, the project file includes a user interface file; the target editor comprises a user interface file editor, wherein the user interface file editor is used for viewing controls and arrangement modes contained in a user interface file and is used for changing a user interface layout; the user interface file editor depends on the Qt library and realizes the connection of the background dynamic link library and the main program by calling the Windows application program interface.
The user interface file editor is oriented to user interface files in the project. The user interface file editor can intuitively check the controls and arrangement modes thereof contained in the user interface file, and can directly drag the controls to change the layout of the user interface. The editor relies on the Qt library to implement the connection of the background dynamically linked library to the main program by invoking the Windows operator application program interface (Windows API). The editor also comprises a plurality of auxiliary tool windows, wherein the event editor is used for managing event information contained in the user interface file, the data binding editor is used for binding resource information to the control with sensor information, the object indicator is used for displaying all the controls in the user interface file in a list and can be rapidly selected, the attribute editor is used for viewing attribute information of the currently selected control, and the control display window is used for displaying all the controls contained in the current editor;
in the embodiment of the application, a project file is generated according to the guidance of a project guide; generating a target file by receiving editing input of at least part of the project files through a target editor; in the process of editing input, invoking special graphic library resources, wherein the target editor is used for assisting in developing a graphic user interface application program; the target file comprises call data for calling a human-computer interaction interface resource, the human-computer interaction interface resource comprises a graphic library resource, and the graphic library resource comprises a graphic library file and a graphic library compiler; and compiling the target file to obtain a graphical user interface application program, and developing the man-machine interaction interface application program. Through the user interface editor, the user interface can be visually checked and modified to achieve a better visual effect.
In one embodiment of the application, the user interface file editor comprises an event editor, a data binding editor, and a property editor;
the event editor is used for managing event information contained in the user interface file; the data binding editor is used for binding resource information to the control with the sensor information; the property editor is used for viewing property information of a currently selected control.
In the embodiment of the application, a project file is generated according to the guidance of a project guide; generating a target file by receiving editing input of at least part of the project files through a target editor; in the process of editing input, invoking special graphic library resources, wherein the target editor is used for assisting in developing a graphic user interface application program; the target file comprises call data for calling a human-computer interaction interface resource, the human-computer interaction interface resource comprises a graphic library resource, and the graphic library resource comprises a graphic library file and a graphic library compiler; and compiling the target file to obtain a graphical user interface application program, and developing the man-machine interaction interface application program. Meanwhile, the user interface editor comprises an event editor, a data binding editor and a property editor, and the user interface editor can be combined to realize the functions of viewing and modifying the user interface.
Fig. 3 is a block diagram of a development device for a gui application according to an embodiment of the present application. As shown in fig. 3, a development device 300 for a graphical user interface application provided in an embodiment of the present application includes: a generation module 310 and a compilation module 320;
a generating module 310, configured to generate a project file according to the guidance of the project guide; receiving editing input of at least part of the project files through a target editor, and generating target files, wherein the target files comprise calling data for calling human-computer interaction interface resources, the human-computer interaction interface resources comprise graphic library resources, and the graphic library resources comprise graphic library files and a graphic library compiler;
and the compiling module 320 is configured to compile the target file to obtain a graphical user interface application program.
In one embodiment, the target file further includes a compile command parameter, and compiling the target file is performed using the compile command parameter.
In one embodiment, the target editor includes a plurality of editors, with different file data types corresponding to different editors.
In one embodiment, the project file includes a multilingual file, which is a file on which a language switch is implemented; the target editor includes a multi-language interface editor for editing a multi-language file in the project file.
In one embodiment, the project file comprises a programmable logic controller data file; the target editor comprises a programmable logic controller protocol editor for editing a programmable logic controller data file in the project file; the programmable logic controller data files are arranged in a tree structure after being opened through the programmable logic controller protocol editor.
In one embodiment, the project file comprises a resource file; the target editor includes a resource file editor for editing a resource file in the project file.
In one embodiment, the project file comprises a user interface file; the target editor comprises a user interface file editor, wherein the user interface file editor is used for viewing controls and arrangement modes contained in a user interface file and is used for changing a user interface layout; the user interface file editor depends on the Qt library and realizes the connection of the background dynamic link library and the main program by calling the Windows application program interface.
In one embodiment, the user interface file editor comprises an event editor, a data binding editor, and a property editor; the event editor is used for managing event information contained in the user interface file; the data binding editor is used for binding resource information to the control with the sensor information; the property editor is used for viewing property information of a currently selected control.
In the embodiment of the application, a project file is generated according to the guidance of a project guide; generating a target file by receiving editing input of at least part of the project files through a target editor; in the process of editing input, invoking special graphic library resources, wherein the target editor is used for assisting in developing a graphic user interface application program; the target file comprises call data for calling a human-computer interaction interface resource, the human-computer interaction interface resource comprises a graphic library resource, and the graphic library resource comprises a graphic library file and a graphic library compiler; and compiling the target file to obtain a graphical user interface application program, and developing the man-machine interaction interface application program.
The application belongs to a plug-in program of Visual Studio, which is constructed based on a Visual Studio plug-in framework, and the operation depends on a main program of the Visual Studio. In all the embodiments of the present application, the plug-in dependent framework can be changed, that is, the plug-in dependent framework is not dependent on the Visual Studio main program any more, but is replaced by other plug-in integrated platforms similar to the Qt Creator, so that the overall complexity and the occupation of the program can be reduced, and accordingly, the characteristics of usability, comprehensiveness and the like brought by the Visual Studio can be lost.
As shown in fig. 4, an embodiment of the present application provides an electronic device 400, which may be various types of computers, such as a terminal or a server, etc. The electronic device 400 includes: a processor 410 and a memory 420, said memory 420 storing a program which when executed by said processor 410 implements the steps of any of the methods described above. For example, the program, when executed by the processor 410, performs the following process: generating a project file according to the guidance of the project guide; generating a target file by receiving editing input of at least part of the project files through a target editor; wherein the target editor is used for assisting in the development of a graphical user interface application program; the target file comprises call data for calling a human-computer interaction interface resource, the human-computer interaction interface resource comprises a graphic library resource, and the graphic library resource comprises a graphic library file and a graphic library compiler; and compiling the target file to obtain the graphical user interface application program.
In the embodiment of the application, a project file is generated according to the guidance of a project guide; generating a target file by receiving editing input of at least part of the project files through a target editor; in the process of editing input, invoking special graphic library resources, wherein the target editor is used for assisting in developing a graphic user interface application program; the target file comprises call data for calling a human-computer interaction interface resource, the human-computer interaction interface resource comprises a graphic library resource, and the graphic library resource comprises a graphic library file and a graphic library compiler; and compiling the target file to obtain a graphical user interface application program, and developing the man-machine interaction interface application program.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (10)

1. A method of developing a graphical user interface application, comprising:
generating a project file according to the guidance of the project guide;
generating a target file by receiving editing input of at least part of the project files through a target editor; wherein the target editor is used for assisting in the development of a graphical user interface application program; the target file comprises call data for calling a human-computer interaction interface resource, the human-computer interaction interface resource comprises a graphic library resource, and the graphic library resource comprises a graphic library file and a graphic library compiler;
and compiling the target file to obtain the graphical user interface application program.
2. The method of claim 1, wherein the target file further comprises a compile command parameter, the compiling the target file being performed using the compile command parameter.
3. The method of claim 1, wherein the target editor comprises a plurality of editors, different file data types corresponding to different editors.
4. The method of claim 1, wherein the project file comprises a multilingual file, the multilingual file being a file on which a language switch is dependent; the target editor includes a multi-language interface editor for editing a multi-language file in the project file.
5. The method of claim 1, wherein the project file comprises a programmable logic controller data file; the target editor comprises a programmable logic controller protocol editor for editing a programmable logic controller data file in the project file; the programmable logic controller data files are arranged in a tree structure after being opened through the programmable logic controller protocol editor.
6. The method of claim 1, wherein the project file comprises a resource file; the target editor includes a resource file editor for editing a resource file in the project file.
7. The method of any of claims 1-6, wherein the project file comprises a user interface file; the target editor comprises a user interface file editor, wherein the user interface file editor is used for viewing controls and arrangement modes contained in a user interface file and is used for changing a user interface layout; the user interface file editor depends on the Qt library and realizes the connection of the background dynamic link library and the main program by calling the Windows application program interface.
8. The method of claim 7, wherein the user interface file editor comprises an event editor, a data binding editor, and a property editor;
the event editor is used for managing event information contained in the user interface file; the data binding editor is used for binding resource information to the control with the sensor information; the property editor is used for viewing property information of a currently selected control.
9. A graphical user interface application development apparatus, comprising:
the generation module generates a project file according to the guidance of the project guide; receiving editing input of at least part of the project files through a target editor, and generating target files, wherein the target files comprise calling data for calling human-computer interaction interface resources, the human-computer interaction interface resources comprise graphic library resources, and the graphic library resources comprise graphic library files and a graphic library compiler;
and the compiling module is used for compiling the target file to obtain the graphical user interface application program.
10. An electronic device comprising a memory and a processor, the memory storing a program that when executed by the processor performs the steps of the method according to any one of claims 1-8.
CN202311205537.7A 2023-09-18 2023-09-18 Development method and device of graphical user interface application program and electronic equipment Pending CN117170654A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311205537.7A CN117170654A (en) 2023-09-18 2023-09-18 Development method and device of graphical user interface application program and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311205537.7A CN117170654A (en) 2023-09-18 2023-09-18 Development method and device of graphical user interface application program and electronic equipment

Publications (1)

Publication Number Publication Date
CN117170654A true CN117170654A (en) 2023-12-05

Family

ID=88935354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311205537.7A Pending CN117170654A (en) 2023-09-18 2023-09-18 Development method and device of graphical user interface application program and electronic equipment

Country Status (1)

Country Link
CN (1) CN117170654A (en)

Similar Documents

Publication Publication Date Title
US7610545B2 (en) Annotations for tracking provenance
Heitkötter et al. Cross-platform model-driven development of mobile applications with md2
CN108351764B (en) Data processing method and system
US6185728B1 (en) Development system with methods for type-safe delegation of object events to event handlers of other objects
US8141036B2 (en) Customized annotation editing
CN111241454A (en) Method, system and device for generating webpage code
CA2764012A1 (en) Computer-implemented method, system and computer program product for displaying a user interface component
WO2019005228A1 (en) Automated source code adaption to inject features between platform versions
CN111176629A (en) Application development method and device
CN111399840A (en) Module development method and device
CN113918195A (en) Application interface updating method and device, electronic equipment and readable storage medium
CN114077430A (en) Interface generation method and device, electronic equipment and storage medium
CA2686367A1 (en) Dynamic native editor code view facade
CN114217789A (en) Function component expansion method, device, equipment, storage medium and program product
CN113934429A (en) Design draft conversion method and device, computer equipment and storage medium
CN116909553A (en) Page online development and local compiling operation system
Smyth Android Studio 4.1 Development Essentials-Kotlin Edition
CN117170654A (en) Development method and device of graphical user interface application program and electronic equipment
US20220222065A1 (en) System and method of computer-assisted computer programming
CN110110299B (en) Text conversion method, device and server
CN112988139A (en) Method and device for developing event processing file
RU2799988C2 (en) System and method for dynamic visualization of software elements
Kindler The ePNK: A generic PNML tool Users' and Developers' Guide for Version 1.0. 0
CN112199097B (en) Installation package generation method, installation package generation device, computer equipment and storage medium
WO2023128793A1 (en) System and method for dynamically visualizing software elements

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination