Method for quickly browsing common items and drawing files and electronic equipment
By summarizing common project file paths into user configuration files, and combining multiple controls and event triggering mechanisms, the ship designer's files are quickly browsed and multi-window merging display is achieved, solving the cumbersome file management problems in the existing technology and improving work efficiency.
Patent Information
- Application Number
- CN202510038572.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-10
- Publication Date
- 2025-05-09
AI Technical Summary
In the prior art, when ship designers frequently retrieve and open large amounts of files, it is more cumbersome to use the file managers that come with their own computer systems, resulting in low work efficiency.
By summarizing the paths of commonly used project files and folders into the user configuration file, combining drop-down list controls, tree view controls, list view controls and tag controls, triggering corresponding events to enable quick open browsing of project files, and implementing multi-window merge display on electronic devices.
It realizes quick browsing and retrieval of commonly used projects and drawing files, improves designers' work efficiency, and reduces window switching and operation complexity.
Smart Images

Figure CN119961476A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a method for quickly browsing common items and drawing files in the ship industry, and belongs to the field of visual management technology in digital ship design and manufacturing technology. Background Art
[0002] At present, computer information technology and data management systems are gradually being introduced into ship design to improve transportation efficiency, optimize route planning and ensure shipping safety. The commonly used ship design software AVEVA Marine is a powerful ship design software that has a very wide range of applications in the field of ship design. It is an integrated software used for designing, building ships and offshore projects. It uses object-centric technology to provide a series of solutions, add-ons, and a product portfolio consisting of stand-alone applications that runs through every link in the shipbuilding business process. In addition, there is TRIBON software developed by KCS of Sweden, which is an integrated computer software system that assists in ship design and construction. It integrates CAD, CAM, and MIS, and aims to optimize the ship design and construction process, improve efficiency, reduce costs, and ensure the safety and reliability of ships.
[0003] Ship design has the characteristics of small batches, differentiation, and customization. The entire design process is divided into basic design, detailed design, and production design in the vertical direction, while the horizontal design process requires collaborative design and information input and output with different professionals. At the same time, ship design is a design that is continuously iterated and optimized, all of which will result in a large number of files and design drawings in the ship design process. However, when designers redesign, they need to check various files at any time, such as specifications, benchmarks, reference drawings, calculation files, other professional input information, etc., so they need to frequently search for and open various files. However, for designers who frequently search and open files, they use the file manager that comes with the computer system. However, when using the file manager that comes with the computer system, you need to frequently click to enter or exit the folder, or open too many file browser windows, which is not easy to find, resulting in cumbersome use, low work efficiency, and inconvenient search.
[0004] However, at present, there are some methods that can replace the file manager, such as the resource manager. The resource manager can display multiple windows side by side or switch multiple tabs like a web browser, and display multiple file browser windows at the same time, but the operation of each window is still the same as that of the system file manager, and the problem of cumbersome use still exists. Therefore, a method for quickly opening commonly used project files and drawing files is urgently needed to solve the problems raised in the above background technology. Summary of the invention
[0005] The content of this application is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this application is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.
[0006] In view of the problems and deficiencies in the prior art, the present invention aims to provide a method for quickly browsing commonly used project and drawing files, by aggregating the paths of commonly used project files and folders into a user configuration file, triggering the response event of the control to execute the quick opening and browsing of the project file, and triggering the response time according to the drawing number of the project to execute the corresponding retrieval and opening of the drawing with the corresponding drawing number, and at the same time, it can also display multiple windows on the electronic device to avoid opening too many display pages, which can effectively improve work efficiency. To solve the problems raised in the above background technology.
[0007] To achieve the above object, the present invention provides the following technical solutions:
[0008] As a first aspect of the present application, the present invention discloses a method for quickly browsing commonly used projects and drawing files, the method being used in an electronic device, comprising:
[0009] The electronic device is a multi-window merged display; each of the window displays includes multiple drop-down list controls, tree view controls and label controls, and the drop-down list controls, tree view controls and label controls are associated with user configuration files stored in the electronic device; events are added to the drop-down list controls, tree view controls and label controls; in response to detecting operations of the drop-down list controls, tree view controls and label controls, corresponding information of commonly used and selected project files and drawing files is displayed in the window corresponding to the triggering event.
[0010] Furthermore, the tree view control and the drop-down list control both include an expansion area, and the expansion area of the tree view control includes a list view control, and the list view control displays a plurality of option nodes, and the option nodes correspond to subfolders and subfiles of commonly used project files and drawing files in the user configuration file.
[0011] Furthermore, a constructor is added to the drop-down list control for obtaining the user configuration file to initialize the drop-down list control.
[0012] Furthermore, the window also displays an option set control group, and adds an event to the option set control group, so as to achieve batch uploading of drawing files of corresponding types and corresponding drawing numbers in response to the triggering event.
[0013] Furthermore, click events are added to the list view control and the tree view control; in response to receiving an operation on the list view control, option nodes such as opening, copying, pasting, deleting and renaming of the selected project and drawing subfolders and subfiles are displayed after the event is triggered; in response to receiving an operation on the tree view control, option nodes such as opening, copying the path, expanding and collapsing of the selected project and drawing subfolders and subfiles are displayed after the event is triggered.
[0014] As a second aspect of the present application, the present invention further discloses a method for merging and displaying multiple windows, the method being used in an electronic device and comprising:
[0015] The electronic device displays a main form control; the main form control includes a flow layout main control, and the flow layout main control includes multiple flow layout sub-controls; a constructor is added to the flow layout sub-control to dynamically add multiple window panels according to the user configuration file layout information stored in the electronic device; an event is added to the flow layout sub-control to realize adaptive filling changes of each window panel according to the size of the main form in response to the trigger event.
[0016] Furthermore, the electronic device also displays a form setting control; the form setting control includes a table view control, a button control and a drop-down list control; a constructor is added to the drop-down list control to obtain a name list of each window panel according to the user configuration file; events are added to the button control and the drop-down list control; in response to the event that triggers the drop-down list control, the name list of the window panel is set as the data source of the table view control; in response to triggering the button control, the name list of the window panel and the main form layout are modified and saved.
[0017] Furthermore, a keyboard event is added in the main form control, and in response to the electronic device receiving a corresponding pressing operation, an event is triggered to realize the switching of hiding and displaying the window panel.
[0018] As a third aspect of the present application, the present invention further discloses an electronic device, comprising:
[0019] at least one processor, and a memory communicatively coupled to the at least one processor;
[0020] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the steps of the above-mentioned processing method for quickly browsing common projects and drawing files and merging and displaying multiple windows.
[0021] As the fourth aspect of the present application, the present invention further discloses a computer storage medium on which a computer program is stored, characterized in that when the computer program is executed by a processor, the steps of the processing method for quickly browsing common projects and drawing files and merging and displaying multiple windows are implemented.
[0022] Compared with the prior art, the present invention has the following beneficial effects:
[0023] The present invention provides a method for quickly browsing projects and drawing files, the method includes being provided with a project tree display main control and a drawing display main control, and adding multiple controls and events to the project tree display main control and the drawing display main control. By summarizing the file paths that are frequently used by users into a user configuration file, a plurality of controls are used in combination, including a drop-down list control, a tree view control, a list view control, and a label control. In conjunction with input devices such as a mouse and a keyboard to trigger corresponding events, the rapid switching of commonly used project file paths can be quickly achieved, and all relevant drawings corresponding to the drawing number of the set project can be displayed in a centralized manner, so that designers can find different types of drawing files conveniently. In addition, the present invention also provides a method for merging and displaying multiple windows, which can display multiple windows on one page, and can switch hidden pages in combination with a keyboard, thereby solving the problem of opening too many windows at the same time. Therefore, compared with traditional file browsers, the present invention has the advantages of strong user customization, high efficiency in retrieving projects and drawing files, and high window integration. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The drawings constituting a part of this application are used to provide a further understanding of this application, so that other features, purposes and advantages of this application become more obvious. The illustrative embodiment drawings and their descriptions of this application are used to explain this application and do not constitute an improper limitation on this application.
[0025] In the attached picture:
[0026] Figure 1 : is a flowchart of a method for quickly browsing projects and drawing files in an embodiment of the present invention;
[0027] Figure 2 : is a flow chart of a method for quickly browsing projects and drawing files in an embodiment of the present invention;
[0028] Figure 3 : A flow connection diagram for creating a control of a method for quickly browsing project files in an embodiment of the present invention;
[0029] Figure 4 : A flow chart for creating a control for a method for quickly browsing drawing files in an embodiment of the present invention;
[0030] Figure 5 : is a window display diagram of a method for quickly browsing project files in an embodiment of the present invention;
[0031] Figure 6 : is a window display diagram of a method for quickly browsing drawing files in an embodiment of the present invention;
[0032] Figure 7 : is a window display diagram of the multi-window merging display method in an embodiment of the present invention;
[0033] Figure 8 : is a schematic diagram of the structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION
[0034] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0035] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.
[0036] Example
[0037] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0038] The present application provides a method for quickly browsing project and drawing files, which is used for users who need to quickly open the files they need to view among a large number of project files and drawing files, so that users can quickly browse and perform subsequent operations.
[0039] The present application method is applied to electronic devices, including computers (including desktop notebooks and portable notebooks), servers, large-screen display devices, vehicle-mounted display devices, e-book readers, clients, etc. In the following, in this embodiment, a computer will be used as an example of an electronic device for detailed description.
[0040] like Figure 1As shown, the method for quickly browsing project and drawing files is to display multiple windows on the electronic device, each window display includes multiple drop-down list controls, tree view controls and label controls, and the drop-down list controls, tree view controls and label controls are associated with user profiles stored in the electronic device. Add response events for the drop-down list control, tree view control and label control. In response to detecting the operation of the drop-down list control, tree view control and label control, the corresponding information of the commonly used and selected project files and drawing files is displayed in the window correspondingly according to the triggering response event.
[0041] The quick browsing method of project and drawing files includes the project tree display main control XyTreeListView and the drawing display main control XyDrawingFiles. Figure 2 As shown. First, enter the layout of the form setting page, summarize the storage paths of common project files and drawing files and modify their settings to the common path list. Save the window page layout and common path list that have been set, and the user configuration file .xml will be generated after saving. Dynamically add the project tree display main control XyTreeListView and the drawing display main control XyDrawingFiles, write the window Resize trigger event to make the project tree display main control and the drawing display main control adapt to the window size and display them in the window for users to use, and at the same time, the window display can be switched through other input devices.
[0042] Specifically, as follows Figure 3 As shown, the steps to create the project tree display main control XyTreeListView are as follows:
[0043] Create a user-defined control and modify its name to XyTreeListView, which means it is the main control for project tree display. Add a composite child control SplitContainer and set its Dock property to Fill. Since the Dock property is used to get or set the edge of the control docking, it is displayed as a left-right split on each window. Add the first drop-down list control Combox1 at the top of the left panel Panel, set its Dock property to Fill, and its drop-down list is used to display the current user panel, that is, to store a list of all user panels. Add the second drop-down list control Combox2 at the top of the right panel Panel, set its Dock property to Fill, and its drop-down list is used to display the current project file path and the corresponding stored project folder history. Then add a tree view control TreeView, whose drop-down list is used to display the corresponding name of the user-defined common project file path, and store the corresponding path in the control option node in the tree view control TreeView, and add a tree list view control listView1 to display all project subfolders and subfiles under the corresponding path of the selected control option node in the tree view control TreeView. Define a constructor to obtain a user configuration file, use the constructor to initialize the first drop-down list control Combox1, and select the initial user-defined section name.
[0044] Then add response events for the above controls to implement section switching, tree view switching, expanding common paths and displaying file information in list view. Specifically, add the SelectIndexChanged event of the first drop-down list control Combox1 to load the path list according to the section name, add it as an option node TreeNode, and set the option node label Tag to the path. Add the BeforeExpand event of the tree view control TreeView to load all subfolders under the path of the control option node TreeNode as subnodes. Add the AfterSelect event of the tree view control TreeView to realize that after selecting the option node, the tree list view control listView1 displays the subfolders and subfiles of all items under the path, and sets the Tag of the tree list view control listView1 to the path, and the Text of the second drop-down list control Combox2 to the path.
[0045] Then add the response events of input devices to realize the operations of expanding and collapsing the tree view, opening, copying, pasting, deleting and renaming the list view files. Among them, the input devices include keyboard, mouse, camera, scanner, light pen, handwriting input board, etc. Add the MouseUp event of the tree view control TreeView, which is triggered by a mouse click to execute the pop-up right-click menu, such as open folder, copy path, expand to the bottom, collapse others, expand all, collapse all and other submenus, and write the submenu click event. Add the MouseUp event of the tree list view control listView1, which is triggered by the mouse to execute the pop-up right-click menu, such as open, open folder, cut, copy, paste, rename, copy path, previous level, refresh and other submenus, and write the submenu click event. Add the DragEnter DragOver event of the tree list view control listView1, which is triggered by the keyboard to execute the file drag-in and drag-out operation function. Add the KeyDown event of the tree list view control listView1, which is triggered to execute the functions of selecting all, copying, pasting, deleting, renaming and so on. The creation of the main control XyTreeListView for displaying the project tree is completed. After the creation, the window displays the following figure: Figure 5 shown.
[0046] as follows Figure 4 As shown, the creation method of the drawing display main control XyDrawingFiles is as follows:
[0047] Create a user-defined control and modify its name to XXyDrawingFiles, which means it is the main control for drawing display. Add the third drop-down list control Combox3, the fourth drop-down list control comBox4 and the fifth drop-down list control comBox5 at the top of the window panel. The third drop-down list control Combox3 is used to display the current project (vessel number) list and the stored project list, the fourth drop-down list control Combox4 is used to display the current drawing number and the stored drawing number list, and the fifth drop-down list control comBox5 is used to display the current drawing name and the stored drawing name list. At the same time, add the first label control label1 and the second label control label2 at the top of the window panel. The first label control label1 is used to display the designer corresponding to the current drawing number, and the second label control label2 is used to display the proofreader corresponding to the current drawing number. Add the FlowLayoutPanel1 control in the middle of the window panel to dynamically add various types of drawing number list view controls listView2 according to the user-defined drawing type table, which are used to display various types of files corresponding to the current drawing number, and each list view is evenly arranged. Add a SplitContainer control at the bottom of the window panel, and add a FlowLayoutPanel2 control on the left side of the SplitContainer control and a third label control label3 on the right side to dynamically add radio button controls of various types according to the user-defined drawing type table, and to batch upload files of corresponding types according to the drawing number. Write a constructor to initialize the third drop-down list control Combox3 according to the project name and user configuration file, and initialize the fourth drop-down list control comBox4 and the fifth drop-down list control comBox5 according to the ship number.
[0048] Add response events to the above controls to enable the third drop-down list control Combox3 to retrieve the project name, the fourth drop-down list control comBox4 to retrieve the drawing number, the fifth drop-down list control comBox5 to retrieve the drawing name, and the list view to display the drawing file information. Add the SelectIndexChanged event of the third drop-down list control Combox3 to trigger the execution of obtaining file classification according to the ship number. Dynamically add the drawing number list view control listView2 in the FlowLayoutPanel1 control to trigger the display of various types of files corresponding to the current drawing number and the uniform arrangement of each list view. Dynamically add the option set control group RadioButton in the FlowLayoutPanel2 control to trigger the batch upload of corresponding types of files according to the drawing number. Add the Resize event of FlowLayoutPanel1 to trigger the execution of the adaptive layout drawing number list view control listView2. Add the SelectIndexChanged event of the fourth drop-down list control comBox4 to trigger the display of corresponding different types of drawing files in the drawing number list view control listView2 according to the drawing number. Then add (input device) mouse and keyboard right-click response events to realize list view file opening, copying, pasting, deleting and renaming operations. The addition of response events is the same as the MouseUp event, DragEnter DragOver event and KeyDown event in the above project tree display main control XyTreeListView. That completes the creation of the drawing display main control XyDrawingFiles. After its creation, the window displays the following figure Figure 6 shown.
[0049] The present disclosure also proposes a method for merging and displaying multiple windows, including the creation of a main form control and a form setting control. The method for creating the main form control is as follows:
[0050] Add a flow layout main control to the main form to place pages. Add 4 flow layout sub-controls to the flow layout main control to configure the page layout placement section. Write a constructor to dynamically add each window section according to the user configuration file .xml generated by saving the window page layout and the common path list. Add response events to the above controls, specifically, add the Resize event of the flow layout sub-control, and respond to the adaptive filling of each page and window section as the main form size changes. Add input device (keyboard) events, that is, press F9 on the keyboard to enter the setting interface and press Space to switch between hiding and showing pages. Users can customize 4 to 8 sections according to actual usage needs.
[0051] In addition, the creation method of the form setting control is as follows:
[0052] Add a table view control DataGridView and add 9 drop-down list controls and 5 button sub-controls to it. Add a table view control DataGridView to display and edit the user's frequently used path table. 9 drop-down list controls are used to display the currently set window section name and storage list. The 5 button sub-controls include a save button, a add button, and a delete button, which are used to edit the user-defined window section table. Write a constructor to obtain the window section name list according to the user configuration file and fill it into the 9 drop-down list controls. Add response events to the above controls, specifically, add the SelectIndexChanged event of each drop-down list control to trigger the execution of obtaining the corresponding window section path table of the configuration file according to the window section name, and set it as the data source of the table view control DataGridView. Add each button sub-control to trigger the execution of saving and modifying the window section path table and the main interface layout settings. The window display diagram after the control is created in the multi-window merge display method, as shown in Figure 7 shown.
[0053] In order to implement the above embodiments, the present application also discloses an electronic device. Figure 8 As shown, the electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0054] Typically, the following devices may be connected to the I / O interface 805: input devices 806 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 808 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 8 The electronic device 800 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 8 Each block shown in the figure may represent one device, or may represent multiple devices as required.
[0055] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer storage medium, and the computer program contains program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 809, or installed from the storage device 808, or installed from the ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.
[0056] It should be noted that the computer storage medium described above in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0057] In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device, or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer storage medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, device, or device. The program code contained on the computer storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0058] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0059] The computer storage medium may be included in the electronic device or may exist independently without being installed in the electronic device. The computer storage medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device can implement a processing method for quickly browsing common projects and drawing files.
[0060] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0061] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings.
[0062] For example, two boxes represented in succession may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of boxes in the block diagram and / or flow chart, may be implemented by a dedicated hardware-based system that performs the specified function or operation, or may be implemented by a combination of dedicated hardware and computer instructions. The units described in some embodiments of the present disclosure may be implemented by software or by hardware. The described units may also be arranged in a processor, and the names of these units do not constitute limitations on the units themselves in some cases.
[0063] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0064] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.
Claims
1. A method for quickly browsing common projects and drawing files, characterized in that: The method is used in an electronic device, comprising: The electronic device has a multi-window merged display; Each of the window displays includes a plurality of drop-down list controls, a tree view control and a label control, and the drop-down list controls, the tree view control and the label control are associated with a user profile stored in the electronic device; Adding events to the drop-down list control, tree view control and label control; In response to detecting the operation of the drop-down list control, the tree view control and the label control, corresponding information of the commonly used and selected project files and drawing files is displayed in the window corresponding to the triggering event.
2. A method for quickly browsing commonly used projects and drawing files according to claim 1, characterized in that: The tree view control and the drop-down list control both include an expansion area, and the expansion area of the tree view control includes a list view control. The list view control displays a plurality of option nodes, and the option nodes correspond to subfolders and subfiles of commonly used project files and drawing files in the user configuration file.
3. A method for quickly browsing commonly used projects and drawing files according to claim 2, characterized in that: A constructor is added to the drop-down list control, which is used to obtain the user configuration file to initialize the drop-down list control.
4. A method for quickly browsing common projects and drawing files according to claim 1, characterized in that: The window also displays an option set control group, and adds an event to the option set control group, so as to achieve batch uploading of drawing files of corresponding types with corresponding drawing numbers in response to the triggering event.
5. A method for quickly browsing common projects and drawing files according to claim 3, characterized in that: Adding click events to the list view control and the tree view control; In response to receiving an operation for the list view control, after the event is triggered, option nodes such as opening, copying, pasting, deleting and renaming of the selected project and drawing subfolders and subfiles are displayed; In response to receiving an operation on the tree view control, option nodes such as opening, copying paths, expanding, and collapsing of the selected project and drawing subfolders and subfiles are displayed after the event is triggered.
6. A method for merging and displaying multiple windows, characterized in that: The method is used in an electronic device, comprising: The electronic device displays a main window control; The main form control includes a flow layout main control, and the flow layout main control includes multiple flow layout sub-controls; a constructor is added to the flow layout sub-control, which is used to dynamically add multiple window panels to the user configuration file layout information stored in the electronic device; An event is added to the flow layout subcontrol, and in response to the triggering event, each window panel is adaptively filled and changed according to the size of the main window.
7. The method for merging and displaying multiple windows according to claim 6, characterized in that: The electronic device also displays a window setting control; The form setting control includes a table view control, a button control and a drop-down list control; Add a constructor for the drop-down list control, which is used to obtain a list of names of each window section according to the user configuration file; Adding events to the button control and the drop-down list control; In response to the event that triggers the drop-down list control, the name list of the window panel is set as the data source of the table view control; in response to the triggering of the button control, the name list of the window panel and the main form layout are modified and saved.
8. The method for merging and displaying multiple windows according to claim 6, characterized in that: A keyboard event is added in the main form control, and in response to the electronic device receiving a corresponding pressing operation, an event is triggered to realize the switching of hiding and displaying the window panel.
9. An electronic device, characterized in that: include: at least one processor, and a memory communicatively coupled to the at least one processor; The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the steps of the method according to any one of claims 1 to 8.
10. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps according to any one of claims 1 to 8 are implemented.