CN109976637A - Dialog box method of adjustment, dialog box adjustment device, electronic equipment and storage medium - Google Patents

Dialog box method of adjustment, dialog box adjustment device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109976637A
CN109976637A CN201910238137.3A CN201910238137A CN109976637A CN 109976637 A CN109976637 A CN 109976637A CN 201910238137 A CN201910238137 A CN 201910238137A CN 109976637 A CN109976637 A CN 109976637A
Authority
CN
China
Prior art keywords
dialog box
adjusted
frame
predetermined registration
region
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
CN201910238137.3A
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201910238137.3A priority Critical patent/CN109976637A/en
Publication of CN109976637A publication Critical patent/CN109976637A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Present disclose provides a kind of dialog box method of adjustment, dialog box adjustment device, electronic equipment and computer readable storage mediums, belong to human-computer interaction technique field.This method is applied to touch control terminal, and the touch control terminal includes touch sensing, and the touch sensing is for detecting touch control operation received by the frame of the touch control terminal, which comprises determines dialog box to be adjusted;It responds the touch sensing and detects the first predetermined registration operation for acting on the frame, the shape of the dialog box is adjusted according to described the first predetermined registration operation.The disclosure can increase the diversity that dialog box is shown, meet the individual demand of user, and improve the interaction feedback sense of adjustment process, improve user experience.

Description

Dialog box method of adjustment, dialog box adjustment device, electronic equipment and storage medium
Technical field
This disclosure relates to human-computer interaction technique field more particularly to a kind of dialog box method of adjustment, dialog box adjustment device, Electronic equipment and computer readable storage medium.
Background technique
Dialog box is a kind of special form in graphic user interface, for the information for showing user's input or receiving, As people increasingly pay attention to the aesthetics of graphic user interface, in the application programs such as social category, game class, there is dialogue The function of frame variable appearance, to meet user demand.
In the prior art, application developer would generally be pre-designed multiple dialog box styles, and user needs to adjust dialogue When frame, it can only be selected in existing default dialog box.As it can be seen that the dialog box style that this method is capable of providing is limited, it is difficult To meet the individual demand of various users, and when dialog box quantity is more, also will increase the resources occupation rate of program.
It should be noted that information is only used for reinforcing the reason to the background of the disclosure disclosed in above-mentioned background technology part Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
Present disclose provides a kind of dialog box method of adjustment, dialog box adjustment device, electronic equipment and computer-readable deposit Storage media, and then overcome the problems, such as that dialog box style is limited in the prior art at least to a certain extent.
Other characteristics and advantages of the disclosure will be apparent from by the following detailed description, or partially by the disclosure Practice and acquistion.
According to one aspect of the disclosure, dialog box method of adjustment is provided, touch control terminal, the touch control terminal packet are applied to Touch sensing is included, the touch sensing is described for detecting touch control operation received by the frame of the touch control terminal Method comprises determining that dialog box to be adjusted;It responds the touch sensing and detects that act on the frame first is default Operation, the shape of the dialog box is adjusted according to described the first predetermined registration operation.
In a kind of exemplary embodiment of the disclosure, after determining dialog box to be adjusted, the method also includes: really The region to be adjusted of the fixed dialog box;The shape that the dialog box is adjusted according to described the first predetermined registration operation, comprising: root The region to be adjusted is adjusted according to described the first predetermined registration operation.
In a kind of exemplary embodiment of the disclosure, the region to be adjusted of the determination dialog box, comprising: by institute The region for stating dialog box towards preset direction is determined as region to be adjusted.
In a kind of exemplary embodiment of the disclosure, the region by the dialog box towards specific direction is determined as Before region to be adjusted, the method also includes: in response to receiving second predetermined registration operation, institute is rotated according to default rotation direction State dialog box predetermined angle.
In a kind of exemplary embodiment of the disclosure, the region by the dialog box towards preset direction is determined as Region to be adjusted, comprising: the region of the dialog box towards the frame for being provided with the touch sensing is determined as institute State region to be adjusted.
In a kind of exemplary embodiment of the disclosure, determination dialog box to be adjusted includes: that offer is multiple to be selected Dialog box;In response to receiving third predetermined registration operation, the dialog box to be adjusted is determined from the multiple dialog box to be selected.
In a kind of exemplary embodiment of the disclosure, described the first predetermined registration operation is pressing operation;It is described according to The first predetermined registration operation adjusts the shape of the dialog box, comprising: adjusts the dialogue according to the pressing dynamics of the pressing operation The shape of frame.
It is described described right according to the adjustment of the pressing dynamics of the pressing operation in a kind of exemplary embodiment of the disclosure After the shape for talking about frame, the method also includes: the size based on the dialog box adjusted is adjusted in the dialog box and is shown Show the size of content.
It is described described right according to the adjustment of the pressing dynamics of the pressing operation in a kind of exemplary embodiment of the disclosure After the shape for talking about frame, the method also includes: the shape based on the dialog box adjusted is adjusted in the dialog box and is shown Show the shape of content.
In a kind of exemplary embodiment of the disclosure, the method also includes: in response to receiving the 4th predetermined registration operation, The dialog box is reverted into the state before adjustment.
According to one aspect of the disclosure, a kind of dialog box adjustment device is provided, touch control terminal is applied to, the touch-control is whole End includes touch sensing, and the touch sensing is used to detect touch control operation received by the frame of the touch control terminal, Described device includes: acquisition module, for determining dialog box to be adjusted;Module is adjusted, for responding the touch sensing It detects the first predetermined registration operation for acting on the frame, the shape of the dialog box is adjusted according to described the first predetermined registration operation.
In a kind of exemplary embodiment of the disclosure, after obtaining module, dialog box adjusts device further include: region is true Cover half block, for determining the region to be adjusted of the dialog box;Module is adjusted, detects work for responding the touch sensing For the first predetermined registration operation of the frame, the region to be adjusted is adjusted according to described the first predetermined registration operation.
In a kind of exemplary embodiment of the disclosure, area determination module includes: area determination unit, and being used for will be described The region of dialog box towards preset direction is determined as region to be adjusted.
In a kind of exemplary embodiment of the disclosure, dialog box adjust device further include: rotating module, in response to Second predetermined registration operation is received, rotates the dialog box predetermined angle according to default rotation direction.
In a kind of exemplary embodiment of the disclosure, area determination unit is used for the dialog box direction setting The region for stating the frame of touch sensing is determined as the region to be adjusted.
In a kind of exemplary embodiment of the disclosure, obtaining module includes: offer unit, multiple to be selected right for providing Talk about frame;Selecting unit, it is described wait adjust for being determined from the multiple dialog box to be selected in response to receiving third predetermined registration operation Whole dialog box.
In a kind of exemplary embodiment of the disclosure, described the first predetermined registration operation is pressing operation;Adjusting module includes: Adjusting Shape unit detects for responding the touch sensing and acts on the pressing operation of the frame, pressed according to described The pressing dynamics of press operation adjust the shape of the dialog box.
In a kind of exemplary embodiment of the disclosure, after Adjusting Shape unit, dialog box adjusts device further include: ruler Very little adjustment unit adjusts the size of display content in the dialog box for the size based on the dialog box adjusted.
In a kind of exemplary embodiment of the disclosure, after Adjusting Shape unit, dialog box adjusts device further include: shape Shape adjustment unit adjusts the shape of display content in the dialog box for the shape based on the dialog box adjusted.
In a kind of exemplary embodiment of the disclosure, dialog box adjust device further include: cancel unit, in response to The 4th predetermined registration operation is received, the dialog box is reverted into the state before adjustment.
According to one aspect of the disclosure, a kind of electronic equipment is provided, comprising: processor;And memory, for storing The executable instruction of the processor;Wherein, the processor is configured to above-mentioned to execute via the executable instruction is executed Method described in any one.
According to one aspect of the disclosure, a kind of computer readable storage medium is provided, computer program is stored thereon with, The computer program realizes method described in above-mentioned any one when being executed by processor.
The exemplary embodiment of the disclosure has the advantages that
The first predetermined registration operation that frame is acted on by touch sensing detection adjusts dialog box according to the first predetermined registration operation Shape.On the one hand, the present exemplary embodiment proposes a kind of new interactive mode, passes through user to touch control terminal Frame carries out the first predetermined registration operation, and to realize the adjustment of dialog box, the sense of touch of user is combined with visual perception, mentioned by which The high interaction feedback sense of operating process meets the individual character of user so that user is easy to for dialog box to be adjusted to ideal form Change demand brings diversified usage experience for user.On the other hand, the present exemplary embodiment can store a large amount of to avoid program The higher problem of resources occupation rate caused by default dialog box, reduces the workload of system storage.
It should be understood that above general description and following details state be only it is exemplary and explanatory, can not Limit the disclosure.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.It should be evident that the accompanying drawings in the following description is only the disclosure Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 shows a kind of schematic diagram of the frame of touch control device;
Fig. 2 shows the flow charts of dialog box method of adjustment a kind of in the present exemplary embodiment;
Fig. 3 shows a kind of sub-process figure of dialog box method of adjustment in the present exemplary embodiment;
Fig. 4 shows a kind of dialog box adjustment process schematic in the present exemplary embodiment;
Fig. 5 shows another dialog box adjustment process schematic in the present exemplary embodiment;
Fig. 6 shows a kind of structural block diagram of dialog box adjustment device in the present exemplary embodiment;
Fig. 7 shows a kind of electronic equipment for realizing the above method in the present exemplary embodiment;
Fig. 8 shows a kind of computer readable storage medium for realizing the above method in the present exemplary embodiment.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.
The exemplary embodiment of the disclosure provides a kind of dialog box method of adjustment first, and executing subject can be touch-control end End, such as smart phone, tablet computer, game machine etc. have the electronic equipment of touch function.The touch function of touch control terminal is It is realized by touch sensing, in the present exemplary embodiment, the touch sensing of touch control terminal can be used for detecting touch control terminal Frame received by touch control operation.Refering to what is shown in Fig. 1, being illustrated by taking mobile phone 100 as an example, the frame of mobile phone 100 refers to The fringe region of touch control terminal surrounding generally includes "upper", "lower", "left", "right" four edges frame, respectively corresponds the frame in figure 140,120,110 and 130.In addition, frame can also be the fringe region of the graphic user interface of touch control terminal, such as curved surface The display area etc. at screen equipment edge.It is published in the related technology, Chinese invention patent CN201580005375.X is disclosed A kind of grasping detection method, the touch sensing being related in this method can detecte touch, pressing, percussion of frame etc. External behavior, to trigger corresponding event.In addition, on the newer mobile phone of existing some models, configured with can detecte To the touch sensing of frame touch control operation, when the frame of terminal device is grasped, the touch control operation based on grasping can be produced Raw various control event, such as phone on/off, unlatching/closing are mute etc..
The present exemplary embodiment can be applied to have in the application scenarios of dialog box, such as: in social application, user Shape, size, position for chat conversations frame etc. carry out customized adjustment;In game application, player couple and NPC (Non- Player-Character, non-player role) or the dialog box of other player exchanges carry out the adjustment of shape, color etc..
2 pairs of present exemplary embodiment are described further with reference to the accompanying drawing, as shown in Fig. 2, dialog box method of adjustment can To include the following steps S210~S220:
Step S210 determines dialog box to be adjusted.
Wherein, dialog box to be adjusted can be in application program specific one or multiple dialog boxes, be also possible to answer A dialog box can be selected as dialogue to be adjusted in application program with whole dialog boxes in program, such as user Frame is only adjusted it, other dialog boxes remain unchanged, and can also enter the specific adjustment page, to the template of dialog box It is adjusted, then by the setting scope of application, by the adjustment done suitable for dialog box some or all of in program.Originally show In example property embodiment, dialog box can also be automatically generated in program, such as when user logs in application program for the first time, program is it The initial dialog frame for automatically selecting a default can also be customized by the user input or import dialog box, such as program initially mentions For a drawing board, user can describe the shape of an initial dialog frame by paintbrush, as dialog box to be adjusted, or Picture about dialog box is uploaded in program by user, as dialog box etc. to be adjusted.
Step S220, response touch sensing detect the first predetermined registration operation for acting on frame, according to the first default behaviour Adjust the shape of dialog box.
Wherein, the first predetermined registration operation refers to the operation of adjustment dialog box, can be any form of behaviour for acting on frame Make, such as pressing frame, long-pressing frame or sliding etc. on frame.The first predetermined registration operation can act on a certain area of frame Domain can also act on the arbitrary region of frame, for example, the frame region of touch control terminal shown in Fig. 1, the first predetermined registration operation Any one in frame 110,120,130,140 or a plurality of frame can be acted on.
According to the first predetermined registration operation detected, dialog box can be adjusted correspondingly, may include adjustment dialogue Shape, size, color or position of frame etc..Such as: for user when carrying out pressing operation to frame, the edge lines of dialog box can It can be deepened according to the variation of user's pressing dynamics with the color of the Direction distortion or dialog box that are pressed according to user;With When family carries out slide, dialog box can be stretched or be shunk accordingly;When user carries out long press operation, the side of dialog box two sides Edge gradually moves inward etc..The first predetermined registration operation can be set according to specific situation, and same predetermined registration operation can also be adjusted The different shape of whole same dialog box, such as pressing operation can make the frame of dialog box generate recess or the change of raised shape Change, the edge lines of dialog box can also be made to occur position in the case where not deforming mobile, the first predetermined registration operation and to Can be there are many corresponding relationship adjusted between the dialog box of adjustment, the disclosure is not specially limited this.
It in the present example embodiment, can be by the acceptable maximum operating force of touch sensing and minimum operation power The numerical value of degree, as the upper and lower bound that can perceive operating force range.User is when carrying out the first predetermined registration operation, according to operation The variation of dynamics, the shape of dialog box can carry out the adjustment of consecutive variations.Alternatively, it is also possible to the operating force to touch sensing Degree carries out a variety of classification of motion, such as when the first predetermined registration operation is pressing operation, can be divided into dub, flicking, again by etc. Different pressing dynamics.Unified adjustment variable quantity, one operating force of every change, dialog box can be set between various operating forces Shape the change of an adjustment variable quantity can occur.The shape of dialog box is according to different operating forces can there are many adjustment Form, the disclosure are not specially limited this.
Based on above description, in the present example embodiment, the first pre- of frame is acted on by touch sensing detection If operation adjusts the shape of dialog box according to the first predetermined registration operation.On the one hand, the present exemplary embodiment proposes a kind of new friendship Mutual mode allows user to carry out the first predetermined registration operation by the frame to touch control terminal, to realize the adjustment of dialog box, the party Formula combines the sense of touch of user with visual perception, improves the interaction feedback sense of operating process, so that user is easy to talk with Frame is adjusted to ideal form, meets user to the individual demand of dialog box, brings diversified usage experience for user.Separately On the one hand, the present exemplary embodiment can ask to avoid resources occupation rate is higher caused by program storage largely default dialog boxes Topic reduces the workload of system storage.
In one exemplary embodiment, the process of dialog box method of adjustment can be as shown in Figure 3, comprising the following steps:
Step S310 determines dialog box to be adjusted;
Step S320 determines the region to be adjusted of above-mentioned dialog box;
Step S330, response touch sensing detect the first predetermined registration operation for acting on frame, according to the first default behaviour Adjust above-mentioned region to be adjusted.
Wherein, region to be adjusted refers to the region that can be adjusted in dialog box, such as the four edges of rectangular dialog box Frame or four angles.Region to be adjusted can be a certain region of program initial default, such as default certain two of rectangular dialog box Frame is region to be adjusted.Region to be adjusted is also possible to artificially through selection and the region determined etc..Further, according to The first predetermined registration operation can treat adjustment region and be adjusted, for example, region to be adjusted be rectangular dialog box certain frame when, After receiving pressing operation, this frame different degrees of deformation can be carried out according to pressing operation or region to be adjusted is Some angle of rectangular dialog box, after receiving pressing operation, which can show different blunt according to the dynamics of pressing operation Change effect etc..
In one exemplary embodiment, step S320 may comprise steps of:
The region of dialog box towards preset direction is determined as region to be adjusted.
Wherein, it is preset to can be program for the region to be adjusted of dialog box, for example, mobile whole shown in Fig. 4 (a) It, can be using the region where frame 410 as region to be adjusted in end.The direction of dialog box can refer to a certain area in dialog box The direction in domain, preset direction refer to pre-set a certain reference direction, for determine dialog box a certain region whether be to Adjustment region in the present example embodiment can be using artificially defined a direction as preset direction.
For example, defining preset direction is as shown in figure 4, Fig. 4 (a) shows the original state of a rectangle dialog box It then with the region of lower section is upward frame 410 and side in matrix dialog box above and below mobile terminal as shown in the figure Frame 430, i.e. frame 410 and frame 430 can be determined as region to be adjusted.Fig. 4 (b), which shows to work as, receives pressing operation, side The schematic diagram of depressed deformation occurs for frame 410 and frame 430, and Fig. 4 (c) shows the increase with pressing operation dynamics, frame 410 Increase with the sinking degree of frame 430.
Further, in one exemplary embodiment, dialog box method of adjustment can with the following steps are included:
In response to receiving second predetermined registration operation, dialog box predetermined angle is rotated according to default rotation direction.
It, can also be to be adjusted to determine by rotation dialog box in adjustment in order to keep the adjustment of dialog box more flexible Region, to make each region of dialog box that can receive the customized adjustment of user, in the present example embodiment, touch-control is whole When termination receives second predetermined registration operation, dialog box can be rotated into predetermined angle according to default rotation direction, wherein default rotation Direction can be " clockwise " direction and be also possible to " counterclockwise " direction, which can cut according to user It changes, predetermined angle can also be adjusted according to the needs of users, and second predetermined registration operation, which refers to, is different from the first predetermined registration operation, be used In the operation rotated to dialog box, specifically can be slided in the graphic user interface of touch control terminal, click or The operation such as long-pressing.It in the present example embodiment, can be according to the glide direction for the slide for acting on graphic user interface The direction of rotation for determining dialog box determines the rotation angle of dialog box according to the sliding distance of slide, or according to effect In the clicking operation or long press operation of graphic user interface, dialog box is controlled with preset rotation direction rotation predetermined angle etc..It lifts Example explanation, second predetermined registration operation is the slide for acting on graphic user interface, and the first predetermined registration operation is to act on frame Pressing operation, the adjustment direction and adjustment angle of dialog box are determined according to slide, to rotate dialog box, are determined to be adjusted The adjustment to dialog box shape is realized further according to the pressing dynamics for the pressing operation that frame receives in region.In addition, second is default Operation is also possible to keep dialog box position constant, rotates touch control terminal, dialog box is made to relatively rotate with touch control terminal, or Person's second predetermined registration operation, which can also be, the operation such as taps or presses in the frame of touch control terminal.After dialog box rotation, Dialog box may change towards the region of preset direction, i.e., region to be adjusted changes.As Fig. 5 (a) shows square Shape dialog box is by the form after " clockwise " or " counterclockwise " direction rotation predetermined angle (90 degree), according to defined above default Direction, at this point, upward with the position of lower section be frame 420 and frame 440, then frame 420 and frame 440 be confirmed as to Adjustment region, when receiving pressing operation, frame 420 and frame 440 are adjusted, as shown in Fig. 5 (b).
In one exemplary embodiment, the above-mentioned region by dialog box towards preset direction be determined as region to be adjusted can be with The following steps are included:
The region of dialog box towards the frame for being provided with touch sensing is determined as region to be adjusted.
In view of the manufacturing cost in order to reduce touch control terminal, touching may not be respectively provided in the frame around touch control terminal Control sensor.Therefore it can be set and the region of dialog box towards the frame for being provided with touch sensing be determined as area to be adjusted Domain, such as touch sensing is arranged in the left and right frame of touch control terminal, upper and lower frame is then not provided with, then a certain when dialog box When region is towards left and right frame, which will be confirmed as region to be adjusted, be able to carry out the adjustment of dialog box shape, present dynasty When up and down frame, then the Adjusting Shape for the frame that cannot engage in the dialogue.
In one exemplary embodiment, step S210 may comprise steps of:
Multiple dialog boxes to be selected are provided;
In response to receiving third predetermined registration operation, dialog box to be adjusted is determined from multiple dialog boxes to be selected.
Dialog box to be selected can be the dialog box of multiple initialization of program offer, such as the round dialogue initially provided Frame, rectangular dialog box or triangle dialog box etc. can also be multiple dialog boxes etc. of user's history creation.Third predetermined registration operation Refer to the selection operation of dialog box for determining from dialog box to be selected and needing to adjust, can will slide or click etc. and is any form of Operation is redefined for third predetermined registration operation, and third predetermined registration operation can act in graphic user interface, can also act on The frame of touch control terminal.Such as when using slide as third predetermined registration operation, multiple dialogues to be selected are presented on the screen of terminal Frame, user can by carrying out slide in graphic user interface on mobile option frame to specific dialog box to be selected, Determine it as dialog box to be adjusted;Or when using long press operation as third predetermined registration operation, user can be by touch-control end The frame long-pressing at end switches mobile option frame between different dialog boxes to be selected, when user stops long-pressing, mobile option frame Corresponding dialog box to be selected will be confirmed as dialog box etc. to be adjusted when stopping.
In one exemplary embodiment, the first predetermined registration operation can be pressing operation, default according to first in step S220 The shape of operation adjustment dialog box can be realized by following steps:
The shape of dialog box is adjusted according to the pressing dynamics of pressing operation.
In the present exemplary embodiment, the shape for adjusting dialog box, which can be, changes its global shape, such as is changed to by rectangle It is oval or rectangular, it is also possible to change its local shape, such as change edge line style, right angle are rounded angle etc..Touch sensing The pressing dynamics of pressing operation suffered by frame can be perceived, usual pressing dynamics are stronger, the shape of dialog box Adjustment amplitude is bigger.For example, user can press the left and right side frame of mobile phone when adjusting rectangular dialog box, when When pressing dynamics are larger, the frame lines of dialog box inwardly adjust more, show the shape compared with " narrow ", when pressing dynamics compared with Hour, the frame lines of dialog box inwardly adjust less, show the shape compared with " width ".Adjustment process can be simulated really The feeling of " pinching frame ", to provide more true interaction feedback sense for user.
In one exemplary embodiment, after the above-mentioned shape for adjusting dialog box according to the pressing dynamics of pressing operation, Dialog box method of adjustment can also include:
Based on the size of dialog box adjusted, the size of display content in dialog box is adjusted.
In view of including that text information, expression etc. show content in usual dialog box, in order to avoid in adjustment dialog box When shape, to it includes display content impact, the display content in dialog box can be adaptively adjusted.Specifically Can according to dialog box size adjusted, determine display content adjustment size.Wherein, the adjustment size of dialog box and aobvious Show the adjustment size of content there may be a corresponding relationship so that dialog box can be corresponded under various sizes present it is proper Display content.Show that the change in size of content can be determined according to the size changing amount of dialog box, such as display content is text This, can be 20mm, text using the size changing amount of dialog box as the size changing amount of text, such as height before dialog box adjustment This is highly 10mm, and the height of dialog box is 10mm after adjustment, then text height adjusted can be 5mm.It can also basis The ratio of size changing amount and dialog box itself size of dialog box, determines the size changing amount of text, before dialog box adjustment Height be 20mm, text height 10mm, after adjustment the height of dialog box be 15mm highly become compared with original dimension Originally 3/4, according to the ratio, then text height adjusted can be determined as 7.5mm etc..
In one exemplary embodiment, after the above-mentioned shape for adjusting dialog box according to the pressing dynamics of pressing operation, Dialog box method of adjustment can also include:
Based on the shape of dialog box adjusted, the shape of display content in dialog box is adjusted.
In the present example embodiment, the display content in dialog box can be adapted to according to the adjustment of dialog box shape Property adjustment, it is pre- when receiving user and carrying out first to the frame of touch control terminal such as when display content in dialog box is text If operation, dialog box is presented intermediate " flat ", when the shape of both sides "high", the text in dialog box can be according to dialog box shape Variation carry out similar adjustment, that is, intermediate " flat ", the shape of both sides "high" will be also presented in the text presented.Show content shape Adjustment amplitude can be identical with the adjustment amplitude of dialog box shape, it is possible to have the relationship etc. of a preset ratio.To aobvious When showing that content is adjusted, the adjustment amplitude that display content shape can be set is less than the adjustment amplitude of dialog box shape, with true It is still clear after being adjusted to recognize display content.
Unsatisfied feelings are adjusted excessively or adjusted in view of inevitably will appear during adjusting dialog box Therefore cancellation mechanism can be set in condition, to cancel current adjustment operation.In one exemplary embodiment, dialog box adjusts Method can with the following steps are included:
In response to receiving the 4th predetermined registration operation, dialog box is reverted into the state before adjustment.
Wherein, the 4th predetermined registration operation may be implemented to cancel the adjustment operation of current session frame, and dialog box is made to revert to adjustment Preceding state is also possible to specifically, can be the operation that touch-control in graphical user interfaces cancels option in frame progress It is different from the operation of the first predetermined registration operation, such as: the first predetermined registration operation is pressing operation, and the 4th predetermined registration operation, which can be, clicks side The operation of frame, user are once pressed (user's finger, which leaves frame, can be considered the end once pressed) in frame, are to right Words frame is once adjusted, and when user click frame, can cancel primary adjustment, before so that dialog box is returned to the last adjust State when user repeatedly clicks frame, can cancel nearest multiple adjustment accordingly.It should be noted that pre- by the 4th If operation, which can also be realized, reverts to the original state before adjustment for dialog box, i.e., can be to dialog box by the 4th predetermined registration operation The adjustment of shape is reset.
In one exemplary embodiment, it is pre- to need to carry out the 5th after adjusting dialog box by the first predetermined registration operation by user If operation, if having carried out the 4th predetermined registration operation in the process, can cancel adjustment, return to dialog box to confirm adjustment Last time carries out the state after the 5th predetermined registration operation.Such as: the first predetermined registration operation is pressing operation, and the 4th predetermined registration operation is frame On slide, the 5th predetermined registration operation is the confirmation option clicked on graphic user interface;User carries out first by pressing Then wheel adjustment clicks confirmation option to confirm and implements first round adjustment, then carry out the second wheel adjustment by pressing, work as user When dissatisfied to the second wheel adjustment, slide can be carried out on frame, cancel the second wheel adjustment, dialog box is made to return to first Take turns state adjusted.
It should be appreciated that being illustrated for first, second, third, fourth with the 5th predetermined registration operation in above-described embodiment Illustrate, but each predetermined registration operation is not limited to the case where illustrated, the action type that those skilled in the art are readily apparent that should all belong to In the protection scope of the disclosure.
The exemplary embodiment of the disclosure additionally provides a kind of dialog box adjustment device, and referring to Fig. 6, which can be with Including obtaining module 610 and adjustment module 620.Wherein, module 610 is obtained, for determining dialog box to be adjusted;Adjustment Module 620 detects for responding touch sensing and acts on the first predetermined registration operation of frame, adjusted according to the first predetermined registration operation The shape of dialog box.
In one exemplary embodiment, after obtaining module, it can also include: that region determines mould that dialog box, which adjusts device, Block, for determining the region to be adjusted of dialog box;Module is adjusted, acts on the pre- of frame if detected for touch sensing If operation, region to be adjusted is adjusted according to predetermined registration operation.
In one exemplary embodiment, area determination module may include: area determination unit, be used for dialog box direction The region of preset direction is determined as region to be adjusted.
In one exemplary embodiment, dialog box adjustment device can also include: rotating module, in response to receiving Second predetermined registration operation rotates dialog box predetermined angle according to default rotation direction.
In one exemplary embodiment, area determination unit can be used for dialog box direction being provided with touch sensing The region of frame is determined as region to be adjusted.
In one exemplary embodiment, obtaining module may include: offer unit, for providing multiple dialog boxes to be selected; Selecting unit, for determining dialog box to be adjusted from multiple dialog boxes to be selected in response to receiving third predetermined registration operation.
In one exemplary embodiment, the first predetermined registration operation is pressing operation;Adjusting module may include: Adjusting Shape list Member detects for responding touch sensing and acts on the pressing operation of frame, according to the adjustment pair of the pressing dynamics of pressing operation Talk about the shape of frame.
In one exemplary embodiment, after Adjusting Shape unit, it can also include: size adjusting that dialog box, which adjusts device, Unit adjusts the size of display content in dialog box for the size based on dialog box adjusted.
In one exemplary embodiment, after Adjusting Shape unit, it can also include: Adjusting Shape that dialog box, which adjusts device, Unit adjusts the shape of display content in dialog box for the shape based on dialog box adjusted.
In one exemplary embodiment, dialog box adjustment device can also include: cancellation unit, in response to receiving Dialog box is reverted to the state before adjustment by the 4th predetermined registration operation.
The detail of above-mentioned each module/unit has carried out detailed retouch in corresponding method section Example It states, therefore details are not described herein again.
The exemplary embodiment of the disclosure additionally provides a kind of electronic equipment that can be realized the above method.
Person of ordinary skill in the field it is understood that various aspects of the disclosure can be implemented as system, method or Program product.Therefore, various aspects of the disclosure can be with specific implementation is as follows, it may be assumed that complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
The electronic equipment 700 of this exemplary embodiment according to the disclosure is described referring to Fig. 7.What Fig. 7 was shown Electronic equipment 700 is only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in fig. 7, electronic equipment 700 is showed in the form of universal computing device.The component of electronic equipment 700 can wrap It includes but is not limited to: at least one above-mentioned processing unit 710, at least one above-mentioned storage unit 720, the different system components of connection The bus 730 of (including storage unit 720 and processing unit 710), display unit 740.
Wherein, storage unit is stored with program code, and program code can be executed with unit 710 processed, so that processing is single Member 710 executes the step described in above-mentioned " illustrative methods " part of this specification according to the various illustrative embodiments of the disclosure Suddenly.For example, processing unit 710 can execute step S210~S220 shown in Fig. 2, step shown in Fig. 3 can also be executed S310~S330 etc..
Storage unit 720 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 721 and/or cache memory unit 722, it can further include read-only memory unit (ROM) 723.
Storage unit 720 can also include program/utility 724 with one group of (at least one) program module 725, Such program module 725 includes but is not limited to: operating system, one or more application program, other program modules and It may include the realization of network environment in program data, each of these examples or certain combination.
Bus 730 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 700 can also be with one or more external equipments 900 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 700 communicate, and/or with make Any equipment (such as the router, modulation /demodulation that the electronic equipment 700 can be communicated with one or more of the other calculating equipment Device etc.) communication.This communication can be carried out by input/output (I/O) interface 750.Also, electronic equipment 700 can be with By network adapter 760 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, Such as internet) communication.As shown, network adapter 760 is communicated by bus 730 with other modules of electronic equipment 700. It should be understood that although not shown in the drawings, other hardware and/or software module can not used in conjunction with electronic equipment 700, including but not Be limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and Data backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating Equipment (can be personal computer, server, terminal installation or network equipment etc.) is executed according to the exemplary implementation of the disclosure The method of example.
The exemplary embodiment of the disclosure additionally provides a kind of computer readable storage medium, and being stored thereon with can be realized The program product of this specification above method.In some possible embodiments, various aspects of the disclosure can also be realized For a kind of form of program product comprising program code, when program product is run on the terminal device, program code is used for Execute terminal device described in above-mentioned " illustrative methods " part of this specification according to the various exemplary embodiment party of the disclosure The step of formula.
It is produced refering to what is shown in Fig. 8, describing the program according to the exemplary embodiment of the disclosure for realizing the above method Product 800, can be using portable compact disc read only memory (CD-ROM) and including program code, and can set in terminal It is standby, such as run on PC.However, the program product of the disclosure is without being limited thereto, in this document, readable storage medium storing program for executing can With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or Person is in connection.
Program product can be using any combination of one or more readable mediums.Readable medium can be readable signal Jie Matter or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or partly lead System, device or the device of body, or any above combination.More specific example (the non exhaustive column of readable storage medium storing program for executing Table) it include: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only storage Device (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have Line, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with any combination of one or more programming languages come write for execute the disclosure operation program Code, programming language include object oriented program language-Java, C++ etc., further include conventional process Formula programming language-such as " C " language or similar programming language.Program code can be calculated fully in user It executes in equipment, partly execute on a user device, executing, as an independent software package partially in user calculating equipment Upper part executes on a remote computing or executes in remote computing device or server completely.It is being related to remotely counting In the situation for calculating equipment, remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of the processing according to included by the method for disclosure exemplary embodiment It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description Member, but this division is not enforceable.In fact, according to an exemplary embodiment of the present disclosure, above-described two or More multimode or the feature and function of unit can embody in a module or unit.Conversely, above-described one A module or the feature and function of unit can be to be embodied by multiple modules or unit with further division.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure His embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Adaptive change follow the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure or Conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by claim It points out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the attached claims.

Claims (13)

1. a kind of dialog box method of adjustment is applied to touch control terminal, which is characterized in that the touch control terminal includes touch-control sensing Device, the touch sensing is for detecting touch control operation received by the frame of the touch control terminal, which comprises
Determine dialog box to be adjusted;
It responds the touch sensing and detects the first predetermined registration operation for acting on the frame, according to described the first predetermined registration operation Adjust the shape of the dialog box.
2. the method according to claim 1, wherein the method is also wrapped after determining dialog box to be adjusted It includes:
Determine the region to be adjusted of the dialog box;
The shape that the dialog box is adjusted according to described the first predetermined registration operation, comprising:
The region to be adjusted is adjusted according to described the first predetermined registration operation.
3. according to the method described in claim 2, it is characterized in that, the region to be adjusted of the determination dialog box, comprising:
The region of the dialog box towards preset direction is determined as region to be adjusted.
4. according to the method described in claim 3, it is characterized in that, the region by the dialog box towards specific direction is true It is set to before region to be adjusted, the method also includes:
In response to receiving second predetermined registration operation, the dialog box predetermined angle is rotated according to default rotation direction.
5. according to the method described in claim 3, it is characterized in that, the region by the dialog box towards preset direction is true It is set to region to be adjusted, comprising:
The region of the dialog box towards the frame for being provided with the touch sensing is determined as the region to be adjusted.
6. the method according to claim 1, wherein determination dialog box to be adjusted includes:
Multiple dialog boxes to be selected are provided;
In response to receiving third predetermined registration operation, the dialog box to be adjusted is determined from the multiple dialog box to be selected.
7. the method according to claim 1, wherein described the first predetermined registration operation is pressing operation;
The shape that the dialog box is adjusted according to described the first predetermined registration operation, comprising:
The shape of the dialog box is adjusted according to the pressing dynamics of the pressing operation.
8. the method according to the description of claim 7 is characterized in that described adjust institute according to the pressing dynamics of the pressing operation After the shape for stating dialog box, the method also includes:
Based on the size of the dialog box adjusted, the size of display content in the dialog box is adjusted.
9. the method according to the description of claim 7 is characterized in that described adjust institute according to the pressing dynamics of the pressing operation After the shape for stating dialog box, the method also includes:
Based on the shape of the dialog box adjusted, the shape of display content in the dialog box is adjusted.
10. the method according to claim 1, wherein the method also includes:
In response to receiving the 4th predetermined registration operation, the dialog box is reverted into the state before adjustment.
11. a kind of dialog box adjusts device, it is applied to touch control terminal, which is characterized in that the touch control terminal includes touch-control sensing Device, for detecting touch control operation received by the frame of the touch control terminal, described device includes: the touch sensing
Module is obtained, for determining dialog box to be adjusted;
Module is adjusted, detects for responding the touch sensing and acts on the first predetermined registration operation of the frame, according to institute State the shape that the first predetermined registration operation adjusts the dialog box.
12. a kind of electronic equipment characterized by comprising
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to require 1-10 described in any item via executing the executable instruction and carry out perform claim Method.
13. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program Claim 1-10 described in any item methods are realized when being executed by processor.
CN201910238137.3A 2019-03-27 2019-03-27 Dialog box method of adjustment, dialog box adjustment device, electronic equipment and storage medium Pending CN109976637A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910238137.3A CN109976637A (en) 2019-03-27 2019-03-27 Dialog box method of adjustment, dialog box adjustment device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910238137.3A CN109976637A (en) 2019-03-27 2019-03-27 Dialog box method of adjustment, dialog box adjustment device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109976637A true CN109976637A (en) 2019-07-05

Family

ID=67080948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910238137.3A Pending CN109976637A (en) 2019-03-27 2019-03-27 Dialog box method of adjustment, dialog box adjustment device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109976637A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113869310A (en) * 2021-09-27 2021-12-31 北京达佳互联信息技术有限公司 Dialog box detection method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080307339A1 (en) * 2006-03-20 2008-12-11 Kidzui, Inc. Child-oriented computing system
CN101432677A (en) * 2005-03-04 2009-05-13 苹果公司 Electronic device having display and surrounding touch sensitive bezel for user interface and control
CN103399695A (en) * 2013-08-01 2013-11-20 上海合合信息科技发展有限公司 Quadrilateral frame identification method and device used for intelligent wireless communication terminal
CN101609383B (en) * 2006-03-03 2014-08-06 苹果公司 Electronic device having display and surrounding touch sensitive bezel for user interface and control
CN104778037A (en) * 2015-03-19 2015-07-15 小米科技有限责任公司 Display method and display device for widgets of application program
CN105607804A (en) * 2015-12-18 2016-05-25 深圳市金立通信设备有限公司 Information display method and terminal
CN105960626A (en) * 2014-01-21 2016-09-21 微软技术许可有限责任公司 Grip detection
CN106354381A (en) * 2015-07-22 2017-01-25 腾讯科技(深圳)有限公司 Image file processing method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101432677A (en) * 2005-03-04 2009-05-13 苹果公司 Electronic device having display and surrounding touch sensitive bezel for user interface and control
CN101609383B (en) * 2006-03-03 2014-08-06 苹果公司 Electronic device having display and surrounding touch sensitive bezel for user interface and control
US20080307339A1 (en) * 2006-03-20 2008-12-11 Kidzui, Inc. Child-oriented computing system
CN103399695A (en) * 2013-08-01 2013-11-20 上海合合信息科技发展有限公司 Quadrilateral frame identification method and device used for intelligent wireless communication terminal
CN105960626A (en) * 2014-01-21 2016-09-21 微软技术许可有限责任公司 Grip detection
CN104778037A (en) * 2015-03-19 2015-07-15 小米科技有限责任公司 Display method and display device for widgets of application program
CN106354381A (en) * 2015-07-22 2017-01-25 腾讯科技(深圳)有限公司 Image file processing method and device
CN105607804A (en) * 2015-12-18 2016-05-25 深圳市金立通信设备有限公司 Information display method and terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
NAONAODEBONI: "Word中文本框的使用", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/3F16E003F263462590C1035B.HTML》 *
一级修: "Word中如何使用文本框", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/95C9D20D7192EDEC4F75617C.HTML》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113869310A (en) * 2021-09-27 2021-12-31 北京达佳互联信息技术有限公司 Dialog box detection method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106164839B (en) The method of the eye response to input is provided with the reduced waiting time
CN110337025A (en) Interaction control method and device, storage medium and electronic equipment in network direct broadcasting
CN105980971B (en) Multitask and full screen menu environment
CN108287657A (en) Technical ability applying method and device, storage medium, electronic equipment
CN107967055A (en) A kind of man-machine interaction method, terminal and computer-readable medium
CN109491562A (en) A kind of interface display method and terminal device of voice assistant application program
CN110413276A (en) Parameter edit methods and device, electronic equipment, storage medium
CN108635854A (en) Technical ability releasing control method and device, storage medium, electronic equipment
CN109542323B (en) Interaction control method and device based on virtual scene, storage medium and electronic equipment
CN109939445A (en) Information processing method and device, electronic equipment, storage medium
CN109316745A (en) Virtual objects motion control method and device, electronic equipment, storage medium
CN112684970A (en) Adaptive display method and device of virtual scene, electronic equipment and storage medium
CN105378639A (en) Reducing control response latency with defined cross-control behavior
CN109364479A (en) Application widget interface alternation method and apparatus, electronic equipment, storage medium
CN109345615A (en) Covering data creation method and device, electronic equipment and storage medium
CN106201089A (en) The operational approach of display screen, display screen and mobile terminal
CN110420463A (en) The control method and device of virtual objects, electronic equipment, storage medium in game
CN108170338A (en) Information processing method, device, electronic equipment and storage medium
CN109189301A (en) A kind of method and device of screenshot capture
CN109976637A (en) Dialog box method of adjustment, dialog box adjustment device, electronic equipment and storage medium
CN108245889A (en) Free-viewing angle is towards switching method and device, storage medium, electronic equipment
CN108434728A (en) Operation control adaptation method and device, electronic equipment and storage medium
CN108021304A (en) Interface level control method, device, electronic equipment and storage medium
CN110389702A (en) A kind of screenshot method, device and storage medium
WO2023232014A1 (en) Image processing method and apparatus, and electronic device and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190705