CN114356174A - Method, computing device and computer readable medium for implementing instant preview in prompt box - Google Patents

Method, computing device and computer readable medium for implementing instant preview in prompt box Download PDF

Info

Publication number
CN114356174A
CN114356174A CN202111573686.XA CN202111573686A CN114356174A CN 114356174 A CN114356174 A CN 114356174A CN 202111573686 A CN202111573686 A CN 202111573686A CN 114356174 A CN114356174 A CN 114356174A
Authority
CN
China
Prior art keywords
command
prompt box
panel
preview
text area
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
CN202111573686.XA
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.)
Yozosoft Co ltd
Original Assignee
Yozosoft 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 Yozosoft Co ltd filed Critical Yozosoft Co ltd
Priority to CN202111573686.XA priority Critical patent/CN114356174A/en
Publication of CN114356174A publication Critical patent/CN114356174A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method for realizing instant preview in a prompt box, which comprises the following steps: selecting a text area in a display interface; clicking an option in a menu bar of a display interface, displaying a corresponding pull-down menu when clicking the option, and selecting a command in the pull-down menu; or selecting a command in a menu bar of the display interface; after the command is selected, a prompt box pops up on the display interface, wherein the prompt box comprises a panel and a command comment strip, and the panel is used for instantly previewing the effect of the selected text area after the command is set; the command comment bar is used for commenting the selected function of the command.

Description

Method, computing device and computer readable medium for implementing instant preview in prompt box
Technical Field
The present invention relates to the field of computer display interface technologies, and in particular, to a method, a computing device, and a computer-readable medium for implementing instant preview in a prompt box.
Background
After the current interface flattening processing, the display of the menu occupies a large area, the instant preview in the document may cause an illusion of setting of the user, and the menu may obscure the instant preview part where the cursor is located. Fig. 1 is a schematic diagram of a display interface in the prior art, wherein after a "text effect" option is selected, a pull-down menu displayed in the interface just blocks the selected text, and a preview effect corresponding to a command in the pull-down menu cannot be seen.
Therefore, there is a need to provide a new technical solution to solve the above problems.
Disclosure of Invention
The invention aims to provide a method, a computing device and a computer readable medium for realizing instant preview in a prompt box, which can realize instant preview in the prompt box.
According to one aspect of the present invention, the present invention provides a method for implementing instant preview in a prompt box, which includes: selecting a text area in a display interface; clicking an option in a menu bar of a display interface, displaying a corresponding pull-down menu when clicking the option, and selecting a command in the pull-down menu; or selecting a command in a menu bar of the display interface; after the command is selected, a prompt box pops up on the display interface, wherein the prompt box comprises a panel and a command comment strip, and the panel is used for instantly previewing the effect of the selected text area after the command is set; the command comment bar is used for commenting the selected function of the command.
According to another aspect of the present invention, there is provided a computing device comprising a processor and a memory, the memory having stored therein program instructions that are executable by the processor to implement the method of implementing a point-in-time preview in a prompt box as described above.
According to yet another aspect of the present invention, there is provided a computer readable medium having stored therein program instructions that are executed to implement the method for implementing a point-in-time preview in a prompt box described above.
Compared with the prior art, the method and the device have the advantages that the effect after the command is set is directly displayed on the tooltip (namely the prompt box), the preview is not carried out in the text area, the purpose that the tooltip provides command help is achieved by using the panel of the tooltip, and the effect which can be achieved by the command can be clear to the user at a glance.
Drawings
FIG. 1 is a diagram of a display interface in the prior art;
FIG. 2 is a flowchart illustrating a method for implementing instant preview in a prompt box tooltip according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a display interface of a word processing program according to an embodiment of the present invention, where the method for implementing instant preview in a prompt dialog shown in FIG. 2 is implemented;
fig. 4 is a schematic diagram of a presentation processing program display interface according to another embodiment of the present invention, which uses the method for implementing instant preview in a prompt box tooltip shown in fig. 2.
Detailed Description
To further explain the technical means and effects of the present invention adopted to achieve the predetermined objects, the following detailed description of the embodiments, structures, features and effects according to the present invention will be given with reference to the accompanying drawings and preferred embodiments.
To further explain the technical means and effects of the present invention adopted to achieve the predetermined objects, the following detailed description of the embodiments, structures, features and effects according to the present invention will be given with reference to the accompanying drawings and preferred embodiments.
Fig. 2 is a schematic flow chart illustrating a method for implementing instant preview in a prompt box tooltip according to an embodiment of the present invention. As shown in fig. 2, the method for implementing the instant preview in the prompt box tooltip includes the following steps.
Step 210, selecting a text area in a display interface;
step 220, clicking an option in a menu bar of the display interface, generating a corresponding pull-down menu when clicking the option, and selecting a command in the pull-down menu; or selecting a command in a menu bar of the display interface;
step 230, after the command is selected, popping up a prompt box tooltip on the display interface, where the prompt box tooltip includes a panel and a command comment bar (which may be tooltip in the prior art), and the panel is used to instantly preview an effect of the selected text area after the command is set; the command comment bar is used for commenting the selected function of the command.
Please refer to fig. 3, which is a schematic diagram of a display interface of a word processing program according to an embodiment of the present invention, in which the method for implementing instant preview in a prompt dialog shown in fig. 2 is adopted.
In the embodiment shown in FIG. 3, first, a text body area is selected in the word processor display interface; then, clicking a 'text effect' option in a menu bar of a word processing program display interface, and when clicking the 'text effect' option, presenting a corresponding pull-down menu (or list) 310, wherein a plurality of commands are displayed in the pull-down menu 310, and a second command in a first line is selected in the pull-down menu 310; after the command is selected, a prompt box tooltip (not identified) pops up on a display interface of the word processing program, wherein the prompt box tooltip comprises a panel 320 and a command comment bar 330, and the effect of the text area of the selected text after the second command on the first line is set can be previewed in real time through the panel 320; the command comment bar 330 is used to comment on the function of the selected command, for example, in fig. 3, the content of the command comment bar 330 corresponding to the second command in the first row in the pull-down menu 310 is "fill-none, outline-red".
Please refer to fig. 4, which is a presentation processing program display interface of another embodiment of the present invention that uses the method for implementing instant preview in a prompt box tooltip shown in fig. 2.
In the embodiment shown in FIG. 4, first, a tabbed text area is selected in the presentation handler display interface; then, selecting an 'insert form' command in a menu bar of a presentation processing program display interface; after the command is selected, a prompt box tooltip (not identified) pops up on a presentation processing program display interface, wherein the prompt box tooltip comprises a panel 410 and a command comment bar 420, and the effect of the text area of the selected form after the command of 'inserting the form' is set through the panel 410 in a real-time preview manner; the command comment bar 420 is used to comment on the function of the selected command, for example, in fig. 4, the content of the command comment bar 420 corresponding to the "insert table" command is "table".
In one implementation, the rule of the pop-up position of the prompt box tooltip is:
vertical position: displaying the command above or below the selected command, and enabling the rule to be in a position where the command pops up with the existing tooltip;
horizontal position: if the right space of the selected command is enough to display the panel, left aligning with the selected command; otherwise, the command is aligned with the selected command.
In one implementation, the maximum panel size provided by the hint box tooltip is 480 pixels wide and 288 pixels high.
In one embodiment, the prompt box tooltip contains a command for instant preview, which is the same as the existing command with the instant preview function; the command comment bar 330, 420 (which may be a tooltip in the prior art) is displayed in the top line of the panel 320, 410.
In one embodiment, when the selected text area exceeds the 320, 410 size, the excess is not displayed in the panel 320, 410; when the selected body area is smaller than the size of the panels 320, 410, the panels 320, 410 display a preview of a predetermined area around the selected body area and the preview of the selected body area after the command is set.
In one embodiment, if the drop-down menu 310 and the command comment bars 330, 420 do not obscure the selected text area, after the command is selected, the pop-up prompt box tooltip hides the panels 320, 410, and instead previews the effect of the selected text area after the command is set in the text.
According to another aspect of the present invention, there is provided a computing device comprising a processor and a memory, the memory having stored therein program instructions that are executed by the processor to implement the method of the present invention for implementing a point-in-time preview in a prompt box tooltip described above.
According to yet another aspect of the present invention, there is provided a computer readable medium having stored therein program instructions that are executed to implement the method of the present invention for implementing a point-in-time preview in a prompt box tooltip described above.
In summary, the effect after a certain command is set is directly displayed on the tooltip of the prompt box, instead of previewing in the text area, and the tooltip itself provides command help by using the panel of the tooltip itself, so that the user can know the effect which can be achieved by the command at a glance.
As used herein, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, including not only those elements listed, but also other elements not expressly listed.
In this document, the terms front, back, upper and lower are used to define the components in the drawings and the positions of the components relative to each other, and are used for clarity and convenience of the technical solution. It is to be understood that the use of the directional terms should not be taken to limit the scope of the claims.
The features of the embodiments and embodiments described herein above may be combined with each other without conflict.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (7)

1. A method for realizing instant preview in a prompt box is characterized by comprising the following steps:
selecting a text area in a display interface;
clicking an option in a menu bar of a display interface, displaying a corresponding pull-down menu when clicking the option, and selecting a command in the pull-down menu; or selecting a command in a menu bar of the display interface;
after the command is selected, a prompt box pops up on the display interface, wherein the prompt box comprises a panel and a command comment strip, and the panel is used for instantly previewing the effect of the selected text area after the command is set; the command comment bar is used for commenting the selected function of the command.
2. The method for implementing an instant preview in a prompt box according to claim 1,
the vertical position of the prompt box is displayed above or below the selected command;
the horizontal position of the prompt box is as follows: if the right space of the selected command is enough to display the panel, left aligning with the selected command; otherwise, the command is aligned with the selected command.
3. The method for implementing an instant preview in a prompt box according to claim 1,
the prompt box comprises a command of instant preview;
the command comment bar is displayed in the panel head line.
4. The method for implementing an instant preview in a prompt box according to claim 1,
when the selected text area exceeds the size of the panel, the exceeding part is not displayed in the panel;
and when the selected text area is smaller than the size of the panel, the panel displays preview of a preset area around the selected text area and preview of the selected text area after the command is set.
5. The method for implementing an instant preview in a prompt box according to claim 1,
if the drop-down menu and the command comment strip do not shield the selected text area, after the command is selected, the pop-up prompt box can hide the panel, and the effect of the selected text area after the command is set is previewed in the text.
6. A computing device comprising a processor and a memory, the memory having stored therein program instructions for execution by the processor to implement the method of implementing a point-in-time preview in a prompt box as claimed in any one of claims 1 to 5.
7. A computer readable medium having stored therein program instructions which are executed to implement the method of implementing a point-in-time preview in a prompt box according to any one of claims 1 to 5.
CN202111573686.XA 2021-12-21 2021-12-21 Method, computing device and computer readable medium for implementing instant preview in prompt box Pending CN114356174A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111573686.XA CN114356174A (en) 2021-12-21 2021-12-21 Method, computing device and computer readable medium for implementing instant preview in prompt box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111573686.XA CN114356174A (en) 2021-12-21 2021-12-21 Method, computing device and computer readable medium for implementing instant preview in prompt box

Publications (1)

Publication Number Publication Date
CN114356174A true CN114356174A (en) 2022-04-15

Family

ID=81101019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111573686.XA Pending CN114356174A (en) 2021-12-21 2021-12-21 Method, computing device and computer readable medium for implementing instant preview in prompt box

Country Status (1)

Country Link
CN (1) CN114356174A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1790258A (en) * 2004-08-16 2006-06-21 微软公司 An improved user interface for displaying a gallery of formatting options applicable to a selected object
US20060132812A1 (en) * 2004-12-17 2006-06-22 You Software, Inc. Automated wysiwyg previewing of font, kerning and size options for user-selected text
CN103210371A (en) * 2010-09-30 2013-07-17 苹果公司 Content preview
CN110472199A (en) * 2018-05-11 2019-11-19 成都野望数码科技有限公司 A kind of method and device of regulating object pattern
CN111984170A (en) * 2020-07-14 2020-11-24 维沃移动通信有限公司 Table output method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1790258A (en) * 2004-08-16 2006-06-21 微软公司 An improved user interface for displaying a gallery of formatting options applicable to a selected object
US20060132812A1 (en) * 2004-12-17 2006-06-22 You Software, Inc. Automated wysiwyg previewing of font, kerning and size options for user-selected text
CN103210371A (en) * 2010-09-30 2013-07-17 苹果公司 Content preview
CN110472199A (en) * 2018-05-11 2019-11-19 成都野望数码科技有限公司 A kind of method and device of regulating object pattern
CN111984170A (en) * 2020-07-14 2020-11-24 维沃移动通信有限公司 Table output method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US9092121B2 (en) Copy and paste experience
DE202016001819U1 (en) Touch input cursor manipulation
DE202016001845U1 (en) Touch input cursor manipulation
US20160202887A1 (en) Method for managing application icon and terminal
EP2851773A1 (en) Widget setting method and terminal device
US11551392B2 (en) Graphic drawing method and apparatus, device, and storage medium
KR101946080B1 (en) Task-based address bar and tabs scaling
CN104238913A (en) Screenshot method and device and electronic equipment
US20120117470A1 (en) Learning Tool for a Ribbon-Shaped User Interface
CN109582430B (en) Method for displaying comment information in electronic book, computing device and storage medium
US20230084269A1 (en) Screenshot method, terminal, and non-transitory computer-readable storage medium
WO2014146460A1 (en) Method and apparatus for display adjustment
US20140281934A1 (en) Method and apparatus for display adjustment
CN106201200A (en) A kind of multi-screen display method and terminal
CN114564263A (en) Page layout adjusting method and device
CN103064691A (en) Method and device for producing desktop icon of electronic equipment
CN105607800A (en) Method and device for input display of terminal screen
CN108037891B (en) Annotation method, system, equipment and computer storage medium
US20140351745A1 (en) Content navigation having a selection function and visual indicator thereof
CN106648367B (en) Touch reading method and touch reading device
US10254959B2 (en) Method of inputting a character into a text string using a sliding touch gesture, and electronic device therefor
US9928220B2 (en) Temporary highlighting of selected fields
CN114356174A (en) Method, computing device and computer readable medium for implementing instant preview in prompt box
DE112020002244T5 (en) Apparatus, method and graphical user interface for creating CGR objects
CN105635832B (en) A kind of method for processing video frequency and device

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20220415