CN109189532B - Control bar display method, device, equipment and storage medium of electronic whiteboard - Google Patents

Control bar display method, device, equipment and storage medium of electronic whiteboard Download PDF

Info

Publication number
CN109189532B
CN109189532B CN201810987450.2A CN201810987450A CN109189532B CN 109189532 B CN109189532 B CN 109189532B CN 201810987450 A CN201810987450 A CN 201810987450A CN 109189532 B CN109189532 B CN 109189532B
Authority
CN
China
Prior art keywords
control
display
controls
control bar
size
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.)
Active
Application number
CN201810987450.2A
Other languages
Chinese (zh)
Other versions
CN109189532A (en
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201810987450.2A priority Critical patent/CN109189532B/en
Priority to PCT/CN2018/115963 priority patent/WO2020042378A1/en
Publication of CN109189532A publication Critical patent/CN109189532A/en
Application granted granted Critical
Publication of CN109189532B publication Critical patent/CN109189532B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • 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

Landscapes

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

Abstract

The invention discloses a method, a device, equipment and a storage medium for displaying a control bar of an electronic whiteboard, wherein the method comprises the following steps: receiving a frame size adjustment operation acting on a target display window; adjusting the target display window to a target size, wherein the target size is determined according to the frame size adjustment operation; the method comprises the steps of displaying a control bar according to a set display style, enabling the control in the control bar to meet a preset calling requirement, enabling the control bar to be located in a target display window, enabling the control bar to comprise a content input sub-control bar and/or a content management sub-control bar, enabling the set display style to comprise at least one of the number of the controls, the display patterns of the controls, the arrangement sequence among the controls, the arrangement direction of the controls and the display width of the controls, and enabling the set display style to be determined according to a target size. By adopting the technical scheme, the technical problem that when the size of the display window of the application software is changed, the display position and the display size of each control in the internal control bar are fixed, so that a user cannot call the control can be solved.

Description

Control bar display method, device, equipment and storage medium of electronic whiteboard
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a method, a device, equipment and a storage medium for displaying a control bar of an electronic whiteboard.
Background
At present, various intelligent devices are widely applied to daily life and work of people. Generally, various types of application software are installed in the intelligent device to meet the actual requirements of people in different fields. For example, text editing software can meet writing and recording requirements of users, courseware making software can meet teaching courseware making requirements of users, drawing software can meet drawing requirements of users, and the like.
Generally, in the use process of various application software, a user can adjust the size of a display window of the application software according to the actual needs of the user. In the process of implementing the invention, the inventor finds that the prior art has the following defects: in the process of adjusting the size of the display window of the application software, the size of the control bar inside the display window is adjusted synchronously, however, in the process of adjusting, the display position and the display size of each control in the control bar are fixed, which causes that some controls cannot be displayed in the control bar.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, a device, and a storage medium for displaying a control bar of an electronic whiteboard, so as to solve the technical problem in the prior art that when a size of a display window of application software changes, a display position and a display size of each control in an internal control bar are fixed, so that a user cannot invoke the control.
In a first aspect, an embodiment of the present invention provides a method for displaying a control bar of an electronic whiteboard, including:
receiving a frame size adjustment operation, wherein the frame size adjustment operation acts on a target display window;
adjusting the target display window to a target size, wherein the target size is determined according to the frame size adjustment operation;
displaying a control bar according to a set display style, so that a control in the control bar meets a preset calling requirement;
the control bar is positioned in the target display window and comprises a content input sub-control bar and/or a content management sub-control bar;
the set display style comprises at least one of the number of controls, display patterns of the controls, arrangement sequence among the controls, arrangement direction of the controls and display width of the controls, and is determined according to the target size.
Further, the target size is adjusted from a size in a first size range to a size in a second size range, and the size of the second size range in the first target direction is smaller than the size of the first size range in the first target direction;
the display control bar according to the set display style comprises:
and changing the arrangement direction of the control in the control bar, wherein the arrangement direction is changed from a first target direction to a second target direction, the first target direction is a horizontal direction or a vertical direction, and the second target direction is a vertical direction of the first target direction.
Further, the target size is within a third size range;
the display control bar according to the set display style comprises:
and displaying all the controls in the control bar, wherein each control corresponds to the first display width.
Further, the displaying all the controls in the control bar includes:
and displaying all input controls in the content input sub-control column, and displaying all management controls in the content management sub-control column.
Further, the target size is in a fourth size range, and the size in the fourth size range is smaller than the size in the third size range;
the display control bar according to the set display style comprises:
and displaying a first replacement button and a first control in the control bar, wherein the first control is a non-hidden control in all the controls, and the number of the controls of the first control is determined according to the current display width and the target size of each non-hidden control.
Further, the fourth size range includes a first sub-range and a second sub-range, and the size in the first sub-range is larger than the size in the second sub-range;
the target size is within a first sub-range, and the displaying a first alternate button and a first control in the control bar comprises:
displaying a first replacement button and a part of input controls in the content input sub-control column, and displaying all management controls in the content management sub-control column;
the target size is within a second sub-range, and the displaying a first alternate button and a first control in the control bar comprises:
and displaying a first replacement button and a part of input controls in the content input sub-control bar, and canceling the display of the content management sub-control bar.
Further, the content management child control bar includes: a content switching sub-control bar and a content storage sub-control bar;
the canceling of the display of the content management child control bar includes:
and canceling the display of the content switching sub-control bar and/or canceling the display of the content storage sub-control bar.
Further, the second sub-range comprises: the size in the first grandchild range is larger than that in the second grandchild range;
the target control is in a first grandchild range, and the canceling of the display of the content management child control bar comprises:
canceling to display the content switching sub-control bar, and displaying all storage controls in the content storage sub-control bar, wherein the storage controls belong to the management controls;
the target control is in a second grandchild range, and the canceling of the display of the content management child control bar comprises:
and canceling the display of the content switching sub-control bar and the content storage sub-control bar.
Further, after the displaying the first alternative button and the first control in the control bar, the method further includes:
receiving a first click operation, wherein the first click operation acts on the first replacement button;
and replacing a set control in the control bar with a second control, wherein the second control is a hidden control in all the controls, and the set control is a part of non-hidden controls or all non-hidden controls in the first control.
Further, the setting control is a part of non-hidden control in the first control,
the replacing the set control in the control bar with the second control comprises:
canceling the display setting control;
and moving the non-hidden controls reserved in the first control to the display position of the set control according to the arrangement sequence, and supplementing a second control at the blank position of the control bar.
Further, the setting control is an input control in the content input sub-control bar.
Further, the replacing the setting control in the control bar with a second control further includes:
displaying a second replacement button;
after the setting control in the control bar is replaced by the second control, the method further comprises the following steps:
receiving a second click operation, wherein the second click operation acts on the second replacement button;
and replacing the second control in the control bar with the setting control.
Further, the target size is within a fifth size range, sizes within the fifth size range being smaller than sizes within the third size range and larger than sizes within the fourth size range;
the display control bar according to the set display style comprises:
and displaying all the controls in the control bar, wherein each control corresponds to a second display width, and the second display width is smaller than the first display width.
Further, the target size is within a sixth size range, sizes within the sixth size range being smaller than sizes within the fourth size range,
the display control bar according to the set display style comprises:
and replacing the display pattern of each control currently displayed in the control bar so as to reduce the display width of each control currently displayed.
Further, the replacing the display pattern of each currently displayed control in the control bar includes:
and keeping the icons of the currently displayed controls, and deleting the Chinese names corresponding to the currently displayed controls.
Further, the arrangement direction of the controls in the control bar is the horizontal direction, the content input sub-control bar is displayed in the same row with the touch writing area, and the content management sub-control bar is displayed in the same row with the touch management area;
the arrangement direction of the controls in the control bar is a vertical direction, the content input sub-control bar is displayed in the same line with the touch writing area, and the content management sub-control bar is displayed in the same line with the touch management area.
Further, the displaying the control bar according to the set display style includes:
determining each control displayed in a control bar according to the target size;
determining a display rule of each control according to the target size;
and displaying each control in the control bar according to the display rule.
Further, the determining, according to the target size, each control displayed in the control bar includes:
determining the number of controls corresponding to the target size, wherein the smaller the target size is, the smaller the number of controls is;
and acquiring all controls displayed in a control bar from all controls to be displayed, wherein the number of the controls is equal to the number of the controls, and the controls to be displayed are preset controls which can be displayed in the control bar.
Further, the number of controls includes: the number of input controls displayed in the content input sub-control column and the number of management controls displayed in the content management sub-control column.
Further, the obtaining of each control displayed in the control bar from all the controls to be displayed includes:
and selecting the control displayed in the control column from all the controls to be displayed according to the display priority of each control to be displayed.
Further, the determining the display rule of each control according to the target size includes:
acquiring the display pattern of each control and the arrangement direction of the controls according to the target size;
determining the arrangement sequence of the controls according to a first set rule;
and calculating the display width of each control according to the display pattern and the target size.
Further, the first setting rule includes: the display priority of the control, the use frequency of the control, the set display order of the control or the corresponding first letter sequence of the control.
Further, after the calculating the display width of each control according to the display pattern and the target size, the method further includes:
if the display width is smaller than the minimum display width of the control, taking the minimum display width as the display width of the control;
calculating the sum of the minimum display widths;
if the sum is larger than the size of the control bar, confirming to display a first replacement button, wherein the size of the control bar is determined according to the target size;
the displaying the target control in the control bar according to the display rule further includes:
the first replacement button is displayed synchronously.
Further, the synchronously displaying the first replacement button comprises:
displaying a first alternate button in the content input sub-control bar.
In a second aspect, an embodiment of the present invention further provides a control bar display apparatus for an electronic whiteboard, including:
the operation receiving module is used for receiving frame size adjusting operation, and the frame size adjusting operation acts on the target display window;
the size adjusting module is used for adjusting the target display window to a target size, and the target size is determined according to the frame size adjusting operation;
the content adjusting module is used for displaying the control bar according to a set display style, so that the control in the control bar meets the preset calling requirement;
the control bar is positioned in the target display window and comprises a content input sub-control bar and/or a content management sub-control bar;
the set display style comprises at least one of the number of controls, display patterns of the controls, arrangement sequence among the controls, arrangement direction of the controls and display width of the controls, and is determined according to the target size.
Further, the target size is adjusted from a size in a first size range to a size in a second size range, and the size of the second size range in the first target direction is smaller than the size of the first size range in the first target direction;
the content adjustment module is specifically configured to:
and changing the arrangement direction of the control in the control bar, wherein the arrangement direction is changed from a first target direction to a second target direction, the first target direction is a horizontal direction or a vertical direction, and the second target direction is a vertical direction of the first target direction.
Further, the target size is within a third size range, and the content adjustment module is specifically configured to:
and displaying all the controls in the control bar, wherein each control corresponds to the first display width.
Further, the target size is within a fourth size range, a size within the fourth size range is smaller than a size within the third size range, and the content adjustment module is specifically configured to:
and displaying a first replacement button and a first control in the control bar, wherein the first control is a non-hidden control in all the controls, and the number of the controls of the first control is determined according to the current display width and the target size of each non-hidden control.
Further, the fourth size range includes a first sub-range and a second sub-range, and the size in the first sub-range is larger than the size in the second sub-range;
the target size is within a first sub-range, and the content adjustment module is specifically configured to:
displaying a first replacement button and a part of input controls in the content input sub-control column, and displaying all management controls in the content management sub-control column;
the target size is within a second sub-range, and the content adjustment module is specifically configured to:
and displaying a first replacement button and a part of input controls in the content input sub-control bar, and canceling the display of the content management sub-control bar.
Further, the content management child control bar includes: a content switching sub-control bar and a content storage sub-control bar;
the content adjustment module is specifically configured to:
and displaying a first replacement button and a part of input controls in the content input sub-control bar, and canceling to display the content switching sub-control bar and/or canceling to display the content storage sub-control bar.
Further, the second sub-range comprises: the size in the first grandchild range is larger than that in the second grandchild range;
the target size is within a first grandchild range, and the content adjustment module is specifically configured to:
displaying a first replacement button and a part of input controls in the content input sub-control bar, canceling to display the content switching sub-control bar, and displaying all storage controls in the content storage sub-control bar, wherein the storage controls belong to the management controls;
the target size is within a second grandchild range, and the content adjustment module is specifically configured to:
and displaying a first replacement button and a part of input controls in the content input sub-control bar, and canceling to display the content switching sub-control bar and the content storage sub-control bar.
Further, the method also comprises the following steps:
the first click receiving module is used for receiving a first click operation after a first replacement button and a first control are displayed in the control bar, wherein the first click operation acts on the first replacement button;
the control bar replacing module is used for replacing a set control in the control bar with a second control, the second control is a hidden control in all the controls, and the set control is a part of non-hidden controls or all non-hidden controls in the first control.
Further, the setting control is a partially non-hidden control in the first control, and the first control replacing module includes:
a cancel display unit for canceling the display setting control;
and the control supplementing module is used for moving the non-hidden controls reserved in the first control to the display position of the set control according to the arrangement sequence and supplementing a second control at the blank position of the control bar.
Further, the setting control is an input control in the content input sub-control bar.
Further, when the control replacement module is used for replacing the setting control in the control bar with the second control, the control replacement module is further configured to:
displaying a second replacement button;
correspondingly, the method also comprises the following steps:
the second click receiving module is used for receiving a second click operation after the set control in the control bar is replaced by a second control, and the second click operation acts on the second replacement button;
and the second control replacing module is used for replacing the second control in the control bar with the setting control.
In a third aspect, an embodiment of the present invention further provides a control bar display device for an electronic whiteboard, including:
a memory, a display screen, and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to perform operations comprising:
receiving a frame size adjustment operation, wherein the frame size adjustment operation acts on a target display window;
controlling the display screen to adjust the target display window to a target size, wherein the target size is determined according to the frame size adjustment operation;
controlling the display screen to display a control bar according to a set display style, so that the control in the control bar meets a preset calling requirement;
the control bar is positioned in the target display window and comprises a content input sub-control bar and/or a content management sub-control bar;
the set display style comprises at least one of the number of controls, display patterns of the controls, arrangement sequence among the controls, arrangement direction of the controls and display width of the controls, and is determined according to the target size.
Further, the target size is adjusted from a size in a first size range to a size in a second size range, and the size of the second size range in the first target direction is smaller than the size of the first size range in the first target direction; when the processor executes and controls the display screen to display the control bar according to the set display style, the method specifically comprises the following steps:
and controlling the display screen to change the arrangement direction of the controls in the control bar, wherein the arrangement direction is changed from a first target direction to a second target direction, the first target direction is a horizontal direction or a vertical direction, and the second target direction is a vertical direction of the first target direction.
Further, when the target size is within a third size range and the processor executes control to display the control bar on the display screen according to the set display style, the following specific implementation is performed:
and controlling the display screen to display all the controls in the control bar, wherein each control corresponds to the first display width.
Further, the target size is within a fourth size range, the size within the fourth size range is smaller than the size within the third size range, and when the processor executes control of the display screen to display the control bar according to the set display style, the following specific implementation is performed:
and controlling the display screen to display a first replacement button and a first control in the control bar, wherein the first control is a non-hidden control in all the controls, and the number of the controls of the first control is determined according to the current display width and the target size of each non-hidden control.
Further, the fourth size range includes a first sub-range and a second sub-range, and the size in the first sub-range is larger than the size in the second sub-range;
the target size is within a first sub-range, and when the processor executes control of the display screen to display a first replacement button and a first control in the control bar, the following specific implementation is performed:
controlling the display screen to display a first replacement button and a part of input controls in the content input sub-control bar, and displaying all management controls in the content management sub-control bar;
the target size is within a second sub-range, and when the processor executes control of the display screen to display a first replacement button and a first control in the control bar, the following specific implementation is performed:
and controlling the display screen to display a first replacement button and a part of input controls in the content input sub-control bar, and canceling to display the content management sub-control bar.
Further, the content management child control bar includes: a content switching sub-control bar and a content storage sub-control bar;
when the processor executes and controls the display screen to cancel displaying the content management child control bar, the following concrete implementation is that:
and controlling the display screen to cancel displaying the content switching sub-control bar and/or cancel displaying the content storage sub-control bar.
Further, the second sub-range comprises: the size in the first grandchild range is larger than that in the second grandchild range;
the target size is within a first grandchild range, and when the processor executes control on the display screen to cancel displaying the content management child control bar, the following steps are specifically implemented:
controlling the display screen to cancel displaying the content switching sub-control bar, and displaying all storage controls in the content storage sub-control bar, wherein the storage controls belong to the management controls;
the target size is within a second grandchild range, and when the processor executes control on the display screen to cancel displaying the content management child control bar, the following steps are specifically implemented:
and controlling the display screen to display a first replacement button and a part of input controls in the content input sub-control bar, and canceling to display the content switching sub-control bar and the content storage sub-control bar.
Further, after the processor executes the control to control the display screen to display the first replacement button and the first control in the control bar, the following is further implemented:
receiving a first click operation, wherein the first click operation acts on the first replacement button;
and controlling the display screen to replace a set control in the control bar with a second control, wherein the second control is a hidden control in all the controls, and the set control is a part of non-hidden controls or all non-hidden controls in the first control.
Further, the setting control is a part of the non-hidden control in the first control, and the processor executes control to change the setting control in the control bar into the second control by the display screen, which is specifically realized:
controlling the display screen to cancel the display setting control;
and controlling the display screen to move the non-hidden controls reserved in the first control to the display position of the set control according to the arrangement sequence, and supplementing a second control at the blank position of the control bar.
Further, the setting control is an input control in the content input sub-control bar.
Further, the processor executes control to change the setting control in the control bar into a second control by the display screen, and the following steps are also realized:
displaying a second replacement button;
correspondingly, the processor executes control to change the setting control in the control bar into the second control by the display screen, and then the following steps are also realized:
receiving a second click operation, wherein the second click operation acts on the second replacement button;
and controlling the display screen to replace the second control in the control bar with the setting control.
In a fourth aspect, the embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are used to execute the control bar display method of an electronic whiteboard according to the first aspect.
According to the control bar display method, the device, the equipment and the storage medium of the electronic whiteboard, the technical scheme that the control bar is displayed according to the set display style corresponding to the target size by receiving the frame size adjustment operation acting on the target display window, the target display window is adjusted to the target size according to the frame size adjustment operation, and meanwhile, the display position and the display size of each control in the internal control bar are fixed when the display size of the display window is changed, so that the technical problem that a user cannot call the control can be solved, the display style in the control bar is synchronously changed along with the change of the target size, the control displayed in the control bar can meet the preset calling requirement, and the user can conveniently call the control;
meanwhile, when the control bar cannot display all controls, the control can be hidden and displayed by setting the first replacement button and the second replacement button, and then a user can call the control conveniently. And when the target size of the display window is adjusted, the display diversity of the control bar can be realized by changing the arrangement direction of the controls in the control bar, and the controls displayed in the control bar can meet the calling requirements of users. In addition, the display contents of the content input sub-control bar and the content management sub-control bar under different target sizes are respectively formulated, and the sub-control bars with different functions can be distinguished and adjusted, so that the display contents of the control bars can more easily meet the calling requirements of users.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a flowchart of a control bar display method of an electronic whiteboard according to an embodiment of the present invention;
FIG. 2 is a first schematic view of a partial interface of a display window;
FIG. 3 is a second schematic view of a partial interface of a display window;
FIG. 4 is a schematic view of a display window;
fig. 5 is a flowchart of a control bar display method of an electronic whiteboard according to a second embodiment of the present invention;
FIG. 6 is a first schematic view of a partial interface of a target display window;
FIG. 7 is a second illustration of a partial interface of a target display window;
FIG. 8 is a third schematic view of a partial interface of a target display window;
FIG. 9 is a fourth illustration of a partial interface of a target display window;
FIG. 10 is a fifth diagram of a partial interface of a target display window;
FIG. 11 is a sixth illustration of a partial interface of a target display window;
FIG. 12 is a seventh illustration of a partial interface of a target display window;
FIG. 13 is an eighth illustration of a partial interface of a target display window;
FIG. 14 is a ninth illustration of a partial interface of a target display window;
FIG. 15 is a tenth schematic view of a partial interface of a target display window;
FIG. 16 is an eleventh schematic view of a partial interface of a target display window;
FIG. 17 is a twelfth schematic view of a partial interface of a target display window;
FIG. 18 is a thirteenth schematic view of a partial interface of a target display window;
FIG. 19 is a fourteenth schematic diagram of a partial interface of a target display window;
FIG. 20 is a fifteenth schematic view of a partial interface of a target display window;
FIG. 21 is a first diagram of a target display window;
FIG. 22 is a second diagram of a target display window;
fig. 23 is a flowchart of a control bar display method of an electronic whiteboard according to a third embodiment of the present invention;
fig. 24 is a schematic structural diagram of a control bar display apparatus of an electronic whiteboard according to a fourth embodiment of the present invention;
fig. 25 is a schematic structural diagram of a control bar display device of an electronic whiteboard according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings.
Example one
Fig. 1 is a flowchart of a control bar display method of an electronic whiteboard according to an embodiment of the present invention. The control bar display method of the electronic whiteboard provided in this embodiment may be executed by a control bar display device of the electronic whiteboard, where the control bar display device may be implemented in a software and/or hardware manner, and the control bar display device may be composed of two or more physical entities, or may be composed of one physical entity. The control bar display equipment can be a computer, a mobile phone, a projector, a tablet or an intelligent interactive tablet and the like.
Further, the control bar display device is provided with an operating system. The operating system may be a windows system and/or an Android system. Further, the control bar display device is provided with application software of an operating system, and is also provided with application software downloaded from a third-party device or a server. The specific type of the application software can be set according to actual conditions. In the embodiment, after the application software is set to be started, a corresponding display window is displayed in a screen of the control bar display equipment, so that a user can see an operation interface of the application software.
Typically, the application software has at least one control bar displayed in a display window. The control bar refers to an area for intensively displaying the controls in the display window, and the specific display position and the area size of the control bar are set according to the actual situation. Further, each control in the control bar corresponds to a function, and the control can be considered as a function entry. For example, the function corresponding to the control a is to insert a form, and it is determined that the function of inserting the form is started after the control is detected to be clicked. If the function corresponding to the control B is the function of expanding the sub-control, the hidden sub-control under the control is determined to be expanded after the control is detected to be clicked. In general, a control bar may be considered a menu bar and/or a tool bar. The menu bar is a control set arranged according to program function groups, and after a certain control of the menu bar is clicked, a menu item corresponding to the control can be displayed, namely, a corresponding sub-control is displayed, so that a specific function entry is provided. The toolbar is a control bar that displays a row of bitmap buttons, which can be understood as controls.
Further, in the embodiment, the length of the control bar in the target direction is set to be recorded as a first length, and the length of the display window where the control bar is located in the target direction is recorded as a second length, wherein the length is the total number of the required pixel points in the target direction in the display process. The target direction is generally the arrangement direction of the controls, which may be a horizontal direction or a vertical direction. Generally, the first length is equal to the second length, or the first length is less than the second length. Typically, the first length is calculated from the second length. For example, fig. 2 is a first schematic diagram of a partial interface of a display window, where a first length of the control bar 12 in the horizontal direction is equal to a second length of the display window 11 in the horizontal direction. For another example, fig. 3 is a second schematic diagram of a partial interface of a display window. At this time, a first length of the control bar 13 in the vertical direction is smaller than a second length of the display window 14 in the vertical direction, and the second length is calculated from the first length and the length of the menu bar 15.
In the embodiment, the application software is set to be the application software with the electronic whiteboard function, and the application software can be implemented through the electronic whiteboard function: writing, drawing, commenting, courseware making, displaying and playing. The electronic whiteboard function set in the embodiment has an element drawing and editing function. The elements are elements which can be displayed after a certain operation is input by a user, and have occupation spaces and editability. Based on the drawing and editing functions of the elements, the setting of the display window of the application software in the embodiment at least includes: a touch writing area and a touch management area. The touch writing area refers to an area where elements can be drawn, and the touch management area refers to an area where displayed content, a display window, and application software are controlled. For example, fig. 4 is a schematic view of a display window. Referring to fig. 4, the application software is courseware making software, and the display window 16 includes a touch writing area 161, a touch management area, and a control bar. Wherein, the touch management area includes: a first area 1621, a second area 1622. The first area 1621 is used to create a page, adjust the page arrangement order, and display page thumbnails. The second area 1622 is used to control the properties and animations of elements between and within pages. Further, the controls in the control bar corresponding to the touch writing area 161 are all related to the content of the input element, such as text, shape, multimedia, table, and the like. And the controls in the control bar corresponding to the touch control management area are all used for controlling elements or courseware formed by the elements. At this time, the setting control bar includes: the content input sub-control column and/or the content management sub-control column are described, and the control column includes the content input sub-control column and the content management sub-control column as an example. The content input sub-control bar refers to a sub-control bar integrating input controls related to input element contents. The content management child control bar refers to a child control bar integrating management controls related to control management. In general, in the target direction, each child control bar is the same length as the corresponding display area. For example, referring to fig. 4, the control column includes a content input sub-control column 1631 and a content management sub-control column 1632, the target direction is a horizontal direction, the length of the content input sub-control column 1631 is equal to the length of the touch writing area 161 in the target direction, and the length of the content management sub-control column 1632 is equal to the length of the touch management area in the target direction. Namely, the arrangement direction of the controls in the control bar is the horizontal direction, the content input sub-control bar is displayed in the same row with the touch writing area, and the content management sub-control bar is displayed in the same row with the touch management area. It can be understood that the arrangement direction of the controls in the control bar is a vertical direction, the content input sub-control bar is displayed in the same line as the touch writing area, and the content management sub-control bar is displayed in the same line as the touch management area. Since the touch management area includes two areas, the content management child control bar 1632 also includes two portions, and each portion corresponds to one portion of the touch management area.
Specifically, the embodiment describes a display method of the control bar by taking an example of adjusting a display size scene of the display window. Referring to fig. 1, the method for displaying a control bar of an electronic whiteboard specifically includes:
and S110, receiving the operation of adjusting the size of the frame.
Wherein the frame resizing operation acts on the target display window.
Specifically, the frame size adjustment operation is an operation for adjusting the display size of the display window. And recording the window selected by the frame size adjustment operation as a target display window. Optionally, when the control bar display device has a touch function, the user may send out a frame size adjustment operation in a manner of touching the control bar display device. At this time, the display screen of the control bar display device may be a capacitive screen, a resistive screen, or an electromagnetic screen. In the touch process, a user can send out a frame size adjustment operation through a finger or a touch pen. Optionally, the user may send out the operation of adjusting the size of the bezel in a key manner through an external device connected to the control bar display device. The external device includes but is not limited to a mouse and/or a keyboard, and the connection mode of the external device and the control bar display device includes but is not limited to a wireless connection and/or a wired connection.
Further, the specific triggering mode of the frame size adjustment operation can be set according to the actual situation. For example, when it is detected that a drag operation is received at a position of a frame of a certain display window, it is determined that a frame size adjustment operation is received. If the sliding operation in the opposite direction is detected to be received at the internal position of the display window, the frame size adjustment operation is determined to be received.
And S120, adjusting the target display window to a target size.
And the target size is determined according to the frame size adjustment operation.
Specifically, the target size is a display size to which the user desires to adjust the target display window. The display size can be represented by the number of the pixel points. For example, the display size may be represented by the total number of pixels in the target display window, for example, the target display window needs 1024 pixels in the horizontal direction and 768 pixels in the vertical direction, and then the display size of the target display window is 1024 × 768. Optionally, the display size may be determined only by the pixel point in the target direction where the control bar is located. For example, the target direction is the horizontal direction, the target display window needs 1024 pixels in the horizontal direction, and then the display size of the target display window is 1024.
Further, the target size is determined according to the frame size adjustment operation. Specifically, the target size is determined according to the end position of the frame size adjustment operation. For example, it is determined that a certain point on a vertical frame of the target display window is horizontally dragged to a certain position according to the frame size adjustment operation, and then, after the position is taken as a new display position of the point, the scaling of the target display window in the horizontal direction can be determined, and further, the target size is determined. For another example, it is determined that a vertex on the frame of the target display window is dragged to a certain position according to the frame size adjustment operation, and then the position is used as a new display position of the vertex, so that the scaling of the target display window can be determined, and the target size is obtained. Optionally, the target size is determined according to the moving amplitude of the frame size adjustment operation. For example, if it is determined that a frame size adjustment operation is received in the target display window and the frame size adjustment operation moves 20 pixels, a scaling corresponding to 20 pixels is determined, and the target size is obtained.
S130, displaying the control bar according to the set display style, so that the control in the control bar meets the preset calling requirement.
The control bar is positioned in the target display window and comprises a content input sub-control bar and/or a content management sub-control bar. The set display style comprises at least one of the number of controls, display patterns of the controls, arrangement sequence among the controls, arrangement direction of the controls and display width of the controls, and is determined according to the target size. In an embodiment, the settings control column includes a content input child control column and a content management child control column.
For example, the preset calling requirement refers to a calling requirement of a user for a control under a target size. The content and setting of the default call request are not limited according to the embodiment. For example, in combination with historical use data of the user, it is determined that the user uses more functions in each target size, and then a preset call requirement is set to meet the call of the user to the functions.
Specifically, the set display style includes at least one of the number of controls, a display pattern of the controls, an arrangement order between the controls, an arrangement direction of the controls, and a display width of the controls, where the number of controls refers to the number of controls that can be displayed in a current control bar, and the display width refers to the total number of pixel points in a target direction of a display area allocated for the controls. Optionally, display styles corresponding to different display sizes are preset. And after the target display window is adjusted to the target size, acquiring a display style corresponding to the target size as a set display style, and further displaying the control in the control bar according to the set display style. Generally, when the display style of the control bar is changed, the controls in the control bar are set to be complete display patterns, and the situation that a certain control is only partially displayed cannot occur.
Further, after changing the display size of the target display window, if the difference between the current target size and the display size before changing is small, for example, the display size is changed from 1010 to 1015, the display styles of the control bar may be the same, that is, when the display size adjustment range of the target display window is too small, the display styles corresponding to the control bar may be the same. Accordingly, different size ranges are set to be divided in advance based on the set size, and each size range corresponds to a different display style. When the target display window is displayed on the screens with different resolutions, the proportional relation between the set size and the screen size can be determined, and further, each size range under the screen size is determined according to the proportional relation. Further, after the target display window is adjusted to the target size, the size range corresponding to the target size is determined, and then the set display style corresponding to the size range is determined, so that the control bar is displayed according to the set display style.
Optionally, the display styles corresponding to different target sizes can be set according to actual conditions, and only the preset calling requirements need to be met. For example, when the target size is full screen or close to full screen, the display style is set to display all the controls in the control bar, and the controls are preset controls which need to be displayed in the display bar. When the target size is half screen or close to half screen, the display style is set to display the set number of controls in the control bar. Compared with full-screen display, the number of controls in the control bar is reduced when half-screen display is performed. At this time, in order to enable the user to call out the control not displayed in the control bar, a first replacement button may be optionally added to the control bar, so that when the first replacement button is selected by the user, the control in the current control bar is replaced with the control not displayed. It is clear that, in addition to the above-mentioned way of adapting to different target sizes by changing the number of controls in the control bar, different target sizes can be adapted by adjusting the display pattern, the arrangement direction, and the display width of the controls. For example, when the target size falls within a relatively large size range, such as full screen, the display pattern of the control within the control bar may include an icon and a corresponding control name. When the target size belongs to a relatively small size range, such as a half screen or a size close to a set minimum size, the display pattern of the control may only include icons, thereby reducing the number of pixels required for displaying the control. For another example, compared with full-screen display, when the target size belongs to the half-screen size range, the display width occupied by each control in the control bar may be appropriately reduced, so as to change the length of the control bar by changing the display width. It should be noted that, in combination with the actual situations of the control bar display device and the target display window, one or more combinations of the above manners may be selected to determine the display contents corresponding to different target sizes. Meanwhile, other ways of changing the display content of the control bar are also applicable to the embodiment.
Furthermore, because the control bar comprises the content input sub-control bar and the content management sub-control bar, the display styles of the content input sub-control bar and the content management sub-control bar are respectively set when the target sizes are different, and then the content input sub-control bar and the content management sub-control bar are respectively adjusted according to the corresponding display styles.
In practical application, after the target size is determined, the set display style corresponding to the target size may be determined first, and then the size of the target display window and the control bar are adjusted synchronously. It should be noted that, no matter whether the size of the target display window and the control bar are adjusted synchronously or not, from the viewing perspective of the user, the size adjustment process of the target display window and the adjustment process of the control bar are almost synchronous, and the user cannot obviously distinguish the execution sequence.
The technical scheme provided by the embodiment, through receiving the frame size adjustment operation acting on the target display window, adjust the target display window to the target size according to the frame size adjustment operation, simultaneously, the technical scheme of displaying the control bar according to the set display style corresponding to the target size can be solved, when the display size of the display window changes, the technical problem that the user cannot call the control due to the fact that the display position and the display size of each control in the control bar are fixed is solved, the display style in the control bar can be changed synchronously along with the change of the target size, meanwhile, the control displayed in the control bar is convenient for the user to call, and the use experience of the user is improved.
Example two
Fig. 5 is a flowchart of a control bar display method of an electronic whiteboard according to a second embodiment of the present invention. The method for displaying the control bar of the electronic whiteboard according to the embodiment is embodied on the basis of the above embodiment. Specifically, referring to fig. 5, the control bar display method specifically includes:
s201, receiving frame size adjustment operation.
Wherein the frame resizing operation acts on the target display window.
S202, adjusting the target display window to a target size. When the target size belongs to the third size range, S203 is performed; when the target size belongs to the fifth size range, S204 is performed; when the target size belongs to the fourth size range, S205 is performed; when the target size belongs to the sixth size range, S210 is performed.
Specifically, the display size of the target display window is divided into different size ranges in advance. In the embodiment, the division into 4 size ranges is taken as an example. The size in the third size range is the largest, the size in the fifth size range is smaller than the size in the third size range and larger than the size in the fourth size range, and the size in the fourth size range is smaller than the size in the fifth size range and larger than the size in the sixth size range. For example, a first length of the control bar in the horizontal direction is set to be equal to a second length of the target display window in the horizontal direction, and the target size is the number of pixels of the target display window in the horizontal direction. At this time, the third size range is set to be more than 1600, the fifth size range is set to be 1200-1600, the fourth size range is set to be 600-1200, and the sixth size range is set to be less than 600.
Further, a display style corresponding to each size range is preset. When the target display window is adjusted to the target size, the size range to which the target size belongs can be determined, the display style corresponding to the size range is further determined as the set display style, and the control bar is displayed according to the set display style.
It should be noted that the above-mentioned four size ranges are only an exemplary setting, wherein each size range corresponds to a different display rule. In practical application, more size ranges or fewer size ranges can be set according to practical situations, and meanwhile, the combined application or repeated application of each display rule can be set. Optionally, a plurality of sub-ranges may be set for a certain size range, and different display rules may be set for each sub-range, so as to enrich the changing content of the control bar.
And S203, displaying all the controls in the control bar, wherein each control corresponds to the first display width.
And when the target size corresponds to the third size range, setting all the controls displayed in the control bar, namely, setting the number of the controls to be equal to the total number of the controls. The control is a preset control which needs to be displayed in the control bar. Optionally, the controls may be set by the control bar display device and/or set by the user. In general, the total number of controls is less than or equal to the maximum number of control bar display controls. However, if the total number of controls is greater than the maximum number, the thumbnail symbol may be displayed and the control not displayed may pop up when the user clicks the thumbnail symbol, or a first alternative button may be displayed and the control in the control bar may be replaced when the user clicks the first alternative button.
Illustratively, the display width of each control is a first display width corresponding to the control. Each control can have a plurality of different display widths, and the display widths are different in size and can be set according to actual conditions. Wherein the first display width is a maximum width of the plurality of different display widths. In general, the first display widths of the different controls may be the same or different. It may be determined that when the target size is within the third size range, the number of controls is the largest, and each control corresponds to its largest display width.
It should be noted that the maximum value of the third size range may be the size of the display screen, and the minimum value may be the sum of the first display widths of the controls.
Further, the setting of displaying all the controls in the control bar includes: and displaying all input controls in the content input sub-control column, and displaying all management controls in the content management sub-control column.
Specifically, the control displayed in the content input child control column is set to be recorded as an input control, and the control displayed in the content management child control column is recorded as a management control. The input control refers to a control related to the content of the input element, and the management control refers to a control related to content management. At this time, the control includes an input control and a management control. Further, when the target size is within the third size range, all of the input controls and the management controls are displayed.
And S204, displaying all the controls in the control bar, wherein each control corresponds to a second display width, and the second display width is smaller than the first display width.
Specifically, the fifth size range may be considered to be a next largest size range that is only smaller than the third size range. Generally, the target size is within the fifth size range, and the control bar can still display the maximum number of target controls, i.e., the maximum number of controls. However, the display width of each control needs to be reduced to ensure that each control is completely displayed in the control bar. At this time, setting a second display width corresponding to each control in the control column. Wherein the second display width is smaller than the first display width. Likewise, the second display widths of the controls may be the same or different. It should be noted that the display patterns of the same control corresponding to the first display width and the second display width are the same. Optionally, when the same control is in the first display width and the second display width, the number of pixels occupied by the display pattern is the same, that is, from the user perspective, the distance between the controls is different in the first display width compared with the distance between the controls in the second display width, and the display pattern is not changed. Optionally, when the same control is in the first display width and the second display width, the number of pixels occupied by the display pattern is different, that is, from the user perspective, the display pattern of the control in the second display width is reduced compared to the first display width. It will be appreciated that the maximum value of the fifth size range may be determined from the third size range and the minimum value may be the sum of the second display widths of the controls.
In practical application, when the target size is within the fifth size range, part of the controls may correspond to the second display width, and the rest of the controls may correspond to the first display width, where part of the controls may be set according to actual conditions. For example, each management control in the content management sub-control column corresponds to a first display width, and each input control in the content input sub-control column corresponds to a second display width.
S205, displaying a first replacement button and a first control in the control bar, wherein the first control is a non-hidden control in all the controls.
And the number of the controls of the first control is determined according to the current display width and the target size of each non-hidden control.
At this time, the current display width of each control is the second display width. In practical application, the fifth size range may also be set to be cancelled, that is, the second size range may be a second largest size range, and at this time, the current display width of each control is the first display width.
For example, when the target size is within the fourth size range, all the controls cannot be displayed in the control bar, and therefore, only a part of the controls are displayed in the control bar, and the rest of the controls are hidden. In the embodiment, a part of the displayed controls is marked as a first control, wherein the number of the controls of the first control is determined according to the current display width and the target size of the controls. For example, the number of the controls that can be displayed in the control bar is determined according to the target size and the current display width of the controls, and at this time, when the target size changes within the fourth size range, the number of the controls displayed in the control bar may change along with the change of the target size. For another example, the number of the controls that can be displayed in the control bar is determined according to the minimum value of the fourth size range and the current display width of the controls, and at this time, when the target size changes within the fourth size range, the number of the controls displayed in the control bar does not change.
Further, the first control may be considered a non-hidden control. The non-hidden controls can be understood as controls which are kept to be displayed when the control bar cannot display all the controls. Specifically, the determination mode of the non-hidden control can be determined according to actual conditions. For example, the non-hidden controls may be determined according to the order in which the controls are arranged in the control bar. Assuming that the number of controls of the first control is 5, the non-hidden control is the control with the top 5 in the sequence of all controls. As another example, the non-hidden controls may be determined based on the display priority of each control. Assuming that the number of controls of the first control is 5, the non-hidden control is the first 5 controls with the highest display priority among all the controls. It is understood that the non-hidden control may be only an input control, only a management control, or both an input control and a management control.
Specifically, since the control bar only displays the non-hidden control, in order to facilitate the user to call out the hidden control, the embodiment sets to display the first control, and synchronously displays the first replacement button. The specific display position and the display form of the first replacement button can be set according to the actual situation. For example, a first alternative button is displayed at the end of the first control arrangement in the control bar to prompt the user to bring up the hidden control through the button. For another example, when the hidden control is only an input control, a first alternate button may be displayed in the content input sub-control bar; when the hidden control manages only controls, a first replacement button may be displayed in the content management sub-control bar; when the hidden control includes both an input control and a management control, the first replacement button may be displayed in the content management sub-control column and the content input sub-control column at the same time, or selectively displayed in any one of the sub-control columns according to actual conditions.
Optionally, when the first control is displayed, the display pattern of the control with the largest display width in the first control may be replaced to reduce the display width of the control, and further expand the size range of the fourth size range. Wherein, the replacing display pattern can be a reduced pattern, a reduced element in the pattern, etc.
Optionally, considering that the first control may be an input control and/or a management control, in this embodiment, the fourth size range includes a first sub-range and a second sub-range, and the size in the first sub-range is larger than the size in the second sub-range. The target size is within the first sub-range, S205 includes: and displaying a first replacement button and a part of input controls in the content input sub-control column, and displaying all management controls in the content management sub-control column. The target size is within the second sub-range, S205 includes: displaying the first replacement button and the partial input control in the content input sub-control bar, and canceling the display of the content management sub-control bar.
Specifically, the first sub-range is larger than the second sub-range, when the target size is in the first sub-range, it is determined that a part of the control needs to be hidden, at this time, a hidden part input control is set, and a first replacement button is displayed in the content input sub-control bar. In the content management child control column, all management controls are set to be displayed. At this time, the first control includes all the management controls and part of the input controls. The determination rule of the displayed part of the input controls is not limited, for example, the number of controls displaying the input controls is set, and the input controls with the front arrangement order in the content input sub-control bar are kept to be displayed according to the number of the controls. Further, when the target size is reduced to the second sub-range, only hiding part of the input control cannot guarantee that the target display window is reduced continuously, and at this time, setting to cancel the display content management sub-control, that is, the first control only includes part of the input control. At this time, since the management control has been already displayed, the user cannot call it in the control bar.
Further, in practical applications, the content management sub-control bar may be divided into a plurality of portions, for example, in fig. 4, the content management sub-control bar 1632 includes a portion corresponding to the first area 1621 and another portion corresponding to the second area 1622. Therefore, when the display of the content management child control bar is cancelled, the rule for canceling the display of the content management child control bar can be determined.
Accordingly, in an embodiment, the content management child control bar includes: a content switching sub-control bar and a content storage sub-control bar; at this time, the cancel display content management child control bar includes: and canceling the display of the content switching sub-control bar and/or canceling the display of the content storage sub-control bar.
The management control displayed in the content switching sub-control column may be recorded as a switching control, and the switching control is used for managing attribute information (such as page layout and page backlight) of a page where the elements are located, and animation rules of the page and each element inside the page during switching. The management control displayed in the content storage child control bar can be recorded as a storage control, and the storage control is used for managing functions of cloud uploading, cloud downloading, synchronization and the like of the application software recognizable files. That is, the management controls may include: a switching control and a storage control. Specifically, the control area corresponding to the content switching sub-control bar is used for displaying a specific function implementation entry corresponding to the switching control. The control area corresponding to the content storage sub-control bar is used for displaying the thumbnail of the page and the arrangement sequence between the pages, and it should be noted that in practical application, the specific content of the control area corresponding to the content switching sub-control bar and the content storage sub-control bar can be set according to practical situations.
Further, when the display content management child control bar is cancelled, the switching child control bar of the cancellation display content and/or the storage child control bar of the cancellation display content can be set according to actual conditions. For example, it is set that only the switching of the child control bar to the display content is canceled, and all the storage controls are displayed in the content storage child control bar. And if so, setting to cancel the switching of the display content to the child control bar and then cancel the storage of the display content to the child control bar.
Optionally, the setting the second sub-range in the embodiment includes: the size in the first grandchild range is larger than that in the second grandchild range; the target size is in the first grandchild range, and the cancel display content management child control bar comprises: canceling the display content switching sub-control bar, and displaying all storage controls in the content storage sub-control bar, wherein the storage controls belong to the management controls; the target size is in the second grandchild range, and the cancel display content management child control bar comprises: and canceling the display content switching sub-control bar and the content storage sub-control bar.
Specifically, the management control includes a storage control and a switching control. The specific size embodiments of the first grandchild range and the second grandchild range are not set. And when the target size is in the first grandchild range, setting a cancel display content switching child control bar. That is, there is no switching control in the current control column, and all storage controls are displayed in the content storage sub-control column. And when the size range is reduced to a second grandchild range, canceling the display content storage child control bar on the basis of canceling the display content switching child control bar. At this time, there is no management control in the control bar. By gradually canceling the display of the management control, more control bar display schemes can be provided when the user adjusts the target size.
It should be noted that, in the embodiment, the priority of the storage control is set to be greater than the priority of the switching control. In practical application, the priority of the switching control may be set to be greater than the priority of the storage control. Namely, when the target size is in the first grandchild range, the content storage cancellation child control bar is set, and all switching controls are displayed in the content switching child control bar. And when the target size is in the second grandchild range, setting a cancel display content storage child control bar and a content switching child control bar.
S206, receiving a first click operation.
Wherein the first clicking operation acts on the first replacement button.
Illustratively, the first clicking operation is an operation performed by the user to click a first alternate button. Generally, when the control bar display device has a touch function, the user may issue a first click operation by touching a first alternative button. In addition, the user can click the first replacement button in a keying mode through an external device connected with the control bar display device to send out the first click operation. Further, after the control bar display device determines that the first replacement button is clicked, it is determined that the first click operation is received.
And S207, replacing the set control in the control bar with a second control, and displaying a second replacement button.
The second control is a hidden control in all the controls, and the set control is a part of non-hidden controls or all non-hidden controls in the first control. Preferably, when the first replacement button is located in the content input sub-control bar, the hidden control refers to a hidden partial input control.
Specifically, because only a part of the controls can be displayed in the control bar, when the hidden controls are displayed in the control bar, part or all of the non-hidden controls in the control bar need to be cancelled and the hidden controls are displayed in the display area left after cancellation of the display. From a user perspective, it may also be understood to replace some or all of the first control with a second control.
Further, the hidden control displayed in the control bar is marked as a second control. Generally, the number of controls of the second control is equal to the number of controls of the set control.
Specifically, the setting control may be a part of the non-hidden controls or all of the non-hidden controls in the first control, and the specific selection mode may be determined according to the control replacement mode and/or the number of hidden controls. Optionally, the replaceable controls are set in the first control, at this time, the set controls are only selected from the replaceable controls, and for the non-replaceable controls in the first control, the controls are always displayed in the control bar. Wherein, the replaceable control can be set according to actual conditions. For example, a portion of the input controls are displayed in the current control bar and all of the management controls are displayed. At this time, the management control is an irreplaceable control, that is, the display content of the content management sub-control column is not changed, and meanwhile, part of the input controls are replaceable controls, that is, the display content in the content input sub-control column can be changed. In the embodiment, the setting control is taken as an input control in the content input sub-control column as an example, and at this time, the setting control refers to a non-hidden partial input control. Hidden controls refer to hidden partial input controls.
In an embodiment, when the setting control is a part of the non-hidden controls in the first control, the changing the setting control in the control bar to the second control specifically includes: canceling the display setting control; and moving the non-hidden controls reserved in the first control to the display position of the set control according to the arrangement sequence, and supplementing a second control at the blank position of the control bar.
At this time, setting the control as a part of the non-hidden control in the first control means: and setting the control as part of the currently displayed input controls.
For example, fig. 6 is a first schematic view of a partial interface of a target display window. Referring to fig. 6, a content input sub-control field 2101 and a content storage sub-control field 2102 are included in the control fields. At this time, a part of the input controls and the first replacement button 22 are displayed in the content input sub-control field 2101, and all the storage controls are displayed in the content storage sub-control field 2102. Wherein the replaceable control in the first control is a control in the content input child control field 2101. Optionally, the setting alternative mode is a moving mode, the first control of the content input sub-control field 2101 is moved out of the content input sub-control field 2101, and the controls behind the first control are sequentially moved forward by a position according to the arrangement order, at this time, a hidden control can be displayed at the position left behind the content input sub-control field 2101, that is, the number of controls of the setting control is 1, and the setting control and the hidden control are both input controls. For example, the setting control 21011 in fig. 6 is moved out of the control bar, the controls behind the setting control 21011 are sequentially moved forward by one position, and a hidden input control 21012 is added at the position behind the content input sub-control bar 2101, at this time, the control bar after replacement refers to fig. 7, and fig. 7 is a second schematic diagram of a local interface of a target display window.
Optionally, the total number of hidden controls is counted, and if the total number is smaller than the number of controls of the replaceable controls, the number of controls of the controls is set to be equal to the total number. That is, starting with one of the replaceable controls, the total number of controls is dismissed and the remaining controls are advanced to display all hidden controls at the vacated position behind the control bar. For example, the setting control and the hidden control are both input controls, and the number of the hidden controls is 3. At this time, referring to fig. 6, the display interface specifically takes the first 3 moving controls in the content input sub-control field 2101 in fig. 6 as setting controls, and moves out of the content input sub-control field 2101. Then, the remaining input controls in the content input child control field 2101 are moved forward to supplement 3 hidden input controls in the content input child control field 2101, at this time, the replaced control field refers to fig. 8, and fig. 8 is a third schematic diagram of a local interface of the target display window.
When the control is set to be all the non-hidden controls in the first control, the display of the first control can be directly cancelled, and the hidden control is displayed in the control bar. In the embodiment, the setting control and the hidden control are both input controls as an example for description. At this time, the number of the controls of the hidden controls does not need to be considered, and the corresponding hidden controls are supplemented after all the replaceable controls are cancelled and displayed. For example, referring to fig. 6, the display interface replaces all the mobile controls in the content input sub-control field 2101 in fig. 6 with second controls, at this time, the replaced control field refers to fig. 9, and fig. 9 is a fourth schematic view of a partial interface of the target display window.
Optionally, after the hidden control is displayed, the corresponding replaced non-hidden control may also be considered to be hidden in the control bar. At this time, there may be a case where the non-hidden control needs to be displayed again, and then the non-hidden control displayed again is a control in the currently existing child control bar, and for the child control bar which is not displayed, the control bar can be re-displayed only in a manner of changing the target size. For example, there is a content input child control bar in the current control bar, while the content management child control bar is dismissed. Then, displaying the non-hidden control again without changing the target size means displaying the non-hidden mobile control in the content input sub-control bar. Accordingly, as a preferable mode in the embodiment, when the setting control in the control bar is replaced with the second control, the second replacement button may be displayed at the same time. The specific display position and the display form of the second replacement button can be set according to the actual situation. For example, a second alternative button is displayed at the front of the arrangement of alternative controls in the control bar. As another example, the second replacement button is displayed below the first replacement button, and so on. Generally, the second alternate button and the first alternate button are displayed in the same child control bar. For example, when the first replacement button is set to be displayed in the content input sub-control bar, the second replacement button is also set to be displayed in the content input sub-control bar.
And S208, receiving a second click operation.
Wherein the second clicking operation acts on the second replacement button.
Illustratively, the second clicking operation is an operation performed by the user to click a second replacement button. Generally, when the control bar display device has a touch function, the user may issue a second click operation by touching a second alternative button. In addition, the user can click the second replacement button in a keying mode through the external device connected with the control bar display device to send out a second click operation. Further, after the control bar display device determines that the second replacement button is clicked, it is determined that a second click operation is received.
And S209, replacing the second control in the control bar with a setting control.
Specifically, the process of replacing the second control in the control bar with the setting control can be understood as an inverse process of replacing the setting control with the second control, and specific contents thereof are not described herein again. For example, as shown in fig. 8, when it is determined that the second replacement button 23 receives the second click operation, the reverse process of replacing the setting control with the third control is performed, that is, the display interface is restored to the interface shown in fig. 6.
Optionally, if the hidden control at the end of the arrangement order is already displayed, it is determined that all the hidden controls have already been displayed in the control bar, and at this time, when the first replacement button receives the first click operation again, no operation is executed. Thus, in this case, the first alternative button may be dismissed from display and displayed again when the endmost hidden control is again hidden. Wherein, the endmost hidden control refers to the control which is displayed in the corresponding child control bar last. For example, the current partial display interface of the target display window is as shown in FIGS. 8 and 9, where the endmost hidden control refers to the "discipline tool" at the end of the ranking order in the content input sub-control field 2101. At this time, since the endmost hidden control is already displayed in the control bar 21, only the second replacement button 23 is displayed in the control bar 21.
It should be noted that, in practical applications, the second replacement button may not be displayed, but the function of the second replacement button may be integrated with the first replacement button. For example, when it is determined that the first replacement button receives the click operation, the setting control is replaced with the second control, and after the hidden control at the end is displayed, if it is determined that the first replacement button receives the click operation again, the second control is replaced with the setting control.
S210, replacing the display patterns of the currently displayed controls in the control bar to reduce the display width of the currently displayed controls.
Specifically, when the target size is within the sixth size range, the number of the controls displayed in the control bar has reached the preset minimum number, and at this time, the display width of each control can be reduced by using a smaller display pattern in a manner of replacing the display pattern of the controls in the control bar, so that when the minimum number of target controls are displayed in the control bar, the display size of the target display window can be continuously reduced.
The specific mode of replacing the display pattern of each control currently displayed can be set according to the actual situation. For example, before replacement, the display pattern of each control in the control column is composed of an icon and a Chinese name, and only the icon or the Chinese name can be reserved during replacement to reduce the display width of the control. For another example, the display pattern of the replacement control is specifically a display pattern of a reduced control, so as to reduce the display width of the control.
The embodiment specifically sets the step as follows: and keeping the icons of the currently displayed controls, and deleting the Chinese names corresponding to the currently displayed controls.
Specifically, the display pattern of the control includes an icon and a chinese name. The specific arrangement mode of the icons and the Chinese names can be set according to the actual situation. For example, a Chinese name is displayed below the icon. In general, the display width of the chinese name is larger than the display width of the icon. When the target size is in the fourth size range, only the icon of the control is displayed, so that the display width of the control can be reduced.
It should be noted that, within the sixth size range, the display patterns of all the controls are replaced, regardless of whether the display patterns are displayed in the control bar, so as to ensure that when the first replacement button or the second replacement button receives a click operation, the display pattern of the hidden control is still the replaced display pattern.
Optionally, when the display pattern is replaced, only the display pattern in part of the child control bar may be replaced. For example, if the content input sub-control column and the content storage sub-control column currently exist are set, only the display pattern of each input control in the content input sub-control column may be replaced, and the display pattern of each storage control in the content storage sub-control column may be maintained.
In practical application, size ranges different from those in the embodiment may be set, and the setting display style of the control bar corresponding to the different size ranges may be set by itself. For example, when the target size is in a certain size range, part of the controls and the first replacement button are displayed in the control bar, when the target size is changed to another smaller size range, a certain number of the controls are cancelled and all the rest of the controls are displayed in the control bar, and when the target size is changed to the smallest size range, part of the controls are selected from all the rest of the controls to be displayed in the control bar, and the first replacement button is synchronously displayed.
For example, fig. 10 is a fifth schematic view of a partial interface of a target display window, where at this time, the target size corresponds to a third size range, and all controls are correspondingly displayed in the control bar. At this time, the control fields include a content input child control field 2101, a content storage child control field 2102, and a content switching child control field 2103, and all corresponding controls are displayed in each child control field. When the target size of the target display window continues to change and reaches the minimum value of the third size range, the partial interface schematic diagram of the target display window changes from fig. 10 to fig. 11. Fig. 11 is a sixth schematic view of a partial interface of the target display window, and as can be seen from fig. 11, if the target size continues to be reduced, the current display content cannot be continuously displayed in the control bar 21. Then the target size enters the fifth size range as the target size of the target display window continues to shrink, at which point the partial interface schematic of the target display window is shown in fig. 12. Referring to fig. 12, the control column 21 continues to display all the controls, except that the display width of each control is significantly reduced compared to the display content in fig. 11 to create a blank area in the control column 21. At this time, the display widths of the controls in the sub-control columns are set to be reduced. As the target size continues to shrink, the blank area may be shrunk. Optionally, in order to enlarge the blank area, in this example, the display pattern of the target control 24 with the largest display width is changed, i.e., the chinese name of the target control 24 is cancelled, so as to reduce the display width of the target control 24. Further, when the target size is reduced to the minimum value of the fifth size range, the partial interface schematic diagram of the target display window is changed from fig. 12 to fig. 13. Fig. 13 is an eighth schematic view of a partial interface of the target display window, and as can be seen from fig. 13, if the target size continues to be reduced, the current display content cannot be continuously displayed in the control bar. Then the target size enters the first sub-range of the fourth size range as the target size of the target display window continues to shrink. At this time, a partial interface diagram of the target display window is shown in fig. 14. FIG. 14 is a ninth illustration of a partial interface of a target display window. Referring to fig. 14, a first alternative button 22 and a first control are displayed in the control bar 21. Where a first alternative button 22 is displayed in the content input sub-control field 2101. Meanwhile, the hidden control is a partial input control. The number of controls of the first control is less than the total number of all controls. Further, as the target size continues to shrink, the number of input controls in the content input sub-control field 2101 may continue to decrease. When the target size is reduced to the minimum value of the first sub-range, the partial interface schematic diagram of the target display window is changed from fig. 14 to fig. 15. Fig. 15 is a tenth schematic diagram of a partial interface of the target display window, and as can be seen from fig. 15, if the target size continues to be reduced, the current display content cannot be continuously displayed in the control bar. Then the target size enters the second sub-size range as the target size of the target display window continues to shrink. At this time, the target size is set to enter the second sub-size range. A partial interface schematic of the target display window is shown in fig. 16. FIG. 16 is an eleventh schematic diagram of a partial interface of a target display window. Referring to fig. 16, in contrast to fig. 15, the content switching sub-control field 2103 in the control field is not displayed. It should be noted that, after the content switching sub-control field 2103 is canceled from being displayed, the size of the content input sub-control field 2101 is significantly increased, so that as many input controls as possible can be displayed in the content input sub-control field 2101. In fig. 16, the content input sub-control field 2101 may display all input controls, and therefore, the first replacement button may be cancelled in the content input sub-control field 2101, and at this time, all controls except the toggle control may be displayed in the determination control field 21. Further, as the target size continues to decrease within the second sub-range, the partial interface view of the target display window changes from FIG. 16 to FIG. 17. At this time, since all the input controls cannot be displayed in the content input sub-control field 2101, a part of the input controls is hidden in the content input sub-control field 2101, and the first substitute button 22 is displayed. When the target control continues to shrink to the minimum size of the second sub-range, the partial interface schematic diagram of the target display window changes from fig. 17 to fig. 18. Fig. 18 is a thirteenth schematic diagram of the partial interface of the target display window, and as can be seen from fig. 18, if the target size continues to be reduced, the current display content cannot be continuously displayed in the control bar. Then the target size enters the sixth size range as the target size of the target display window continues to shrink, at which point the partial interface schematic of the target display window is shown in fig. 19. Referring to fig. 19, the display patterns of the respective controls in the content input sub-control field 2101 and the content storage sub-control field 2102 are replaced, and at this time, the display patterns of the controls only retain icons, and the chinese names are cancelled, so that the display width of the target control is reduced. Generally, the sixth size range is the minimum size range of the target display window, and the control bar cannot be reduced after reaching the minimum value of the sixth size range. For example, fig. 20 is a fifteenth schematic view of a partial interface of a target display window, where the target size reaches the minimum value of the fourth size range, and the target size cannot be reduced any more.
The technical solution provided by this embodiment is to receive a frame size adjustment operation applied to a target display window, adjust the target display window to a target size according to the frame size adjustment operation, determine a size range to which the target size belongs, and display a corresponding control in a control bar according to the size range, so as to solve the technical problem that when the display size of the display window changes, the display position and the display size of each control in an internal control bar are fixed, which results in that a user cannot invoke the control, to realize that the display style in the control bar changes synchronously with the change of the target size, and at the same time, when the control bar cannot display all the controls, by setting a first replacement button and a second replacement button, the hiding and displaying of the controls can be realized, and the display styles of a content input control bar and a content management control bar under different target sizes can be respectively formulated, and the child control columns with different functions can be adjusted differently, so that the user can call the control conveniently. In addition, the display contents corresponding to different display sizes are set, so that the corresponding display contents can be directly called when the display sizes are changed, the data processing amount is reduced, the variety of the change of the display contents of the control bar is ensured, and the user experience is improved.
On the basis of the above embodiment, the setting of the target size is adjusted from a size in a first size range to a size in a second size range, the size of the second size range in the first target direction is smaller than the size of the first size range in the first target direction, and adjusting the display content of the control bar includes: and changing the arrangement direction of the controls in the control bar, wherein the arrangement direction is changed from a first target direction to a second target direction, the first target direction is a horizontal direction or a vertical direction, and the second target direction is a vertical direction of the first target direction.
Specifically, the first target direction may be a default arrangement direction of the control when the target display window is displayed in a full screen. When the first target direction is a horizontal direction, the second target direction is a vertical direction, and when the first target direction is a vertical direction, the second target direction is a horizontal direction.
The first size range and the second size range may be set according to actual conditions, and are independent of the third size range to the sixth size range. Preferably, the size of the second size range in the second target direction is larger than the minimum size value of the control bar at which the control can be displayed. For example, if the minimum value of the first size range in the first target direction is the minimum size value, and the target size is within the second size range, the minimum size value is smaller in the first target direction, and the size of the target display window in the second target direction is larger than the minimum size value, then the controls within the control bar are changed to be arranged in the second target direction to ensure that the control bar is displayed in the target display window.
Further, when the controls in the control bar are arranged in the second target direction, the specific display positions of the controls can be set according to actual conditions. For example, when the second target direction is a horizontal direction, the control bar position may refer to fig. 1, and when the second target direction is a vertical direction, the control bar position may refer to fig. 2.
Optionally, the display content of the control bar is determined according to the size of the target display window in the second target direction. For example, in the second target direction, the display content of the control bar corresponding to each size range is determined by dividing the display content into the third size range and the sixth size range. The embodiment of the determination rule of the display content is not limited. Optionally, when the target size is restored from the second display window to the first display window, the arrangement direction of the controls in the control bar may be changed from the second target direction to the first target direction.
For example, fig. 21 is a first schematic diagram of the target display window, and referring to fig. 21, the arrangement direction of the controls in the control bar 2103 is the horizontal direction, and the target size is within the first size range. When the user continues to shorten the size of the target display window in the horizontal direction, the target size enters the second size range. At this time, the target display window becomes fig. 22. Referring to fig. 22, the arrangement direction of the controls in the control column 2103 is the vertical direction, and all the controls are determined to be displayed according to the size of the target display window in the vertical direction.
It can be understood that when the controls in the control bar are arranged in the second target direction, the position arrangement of the other areas of the target display window except the control bar is not changed. Alternatively, the position of the region of the target display window other than the control bar changes following the second target direction. For example, the second target direction is a vertical direction, and when the arrangement in the control bar is changed into the second target direction, the positions of the touch writing area and the touch management area are adjusted to ensure that the content input sub-control bar and the touch writing area are displayed in the same line, and the content management sub-control bar and the touch management area are displayed in the same line.
In practical applications, it may be set that if the target size is smaller than the minimum size in the first target direction, the size of the target display window in the second target direction is determined; if the size is larger than the minimum size, changing the arrangement direction of the control from a first target direction to a second target direction; and then, continuously confirming the size of the target display window in the first target direction, and if the size is larger than the minimum size, changing the arrangement direction of the control from the second target direction to the first target direction.
In the above embodiment, when the target size of the target display window changes, the control bar can be changed along with the change of the target size by changing the arrangement direction of the controls in the control bar, and especially under the condition that the control bar cannot be displayed based on the target size, the display position of the control bar can be adjusted, so that the control bar is continuously displayed in the target display window.
EXAMPLE III
Fig. 23 is a flowchart of a control bar display method of an electronic whiteboard according to a third embodiment of the present invention. The present embodiment is embodied on the basis of the above-described embodiments. Specifically, referring to fig. 23, the method for displaying the control bar of the electronic whiteboard specifically includes:
s310, receiving the operation of adjusting the size of the frame.
Wherein the frame resizing operation acts on the target display window.
And S320, adjusting the target display window to a target size.
And determining the target size according to the frame size adjustment operation.
And S330, determining each control displayed in the control bar according to the target size.
Specifically, each control that needs to be displayed in the control bar under different display sizes is predetermined, and the corresponding relationship between each control and the different display sizes is recorded. When the target size is determined, the controls corresponding to the target size can be directly obtained according to the corresponding relationship. Optionally, the number of controls to be displayed in the control bar under different display sizes may be predetermined. Then, when the target size is determined, the number of the corresponding controls is determined according to the target size, and then the controls with the number equal to that of the controls are obtained. In this case, S330 may specifically be:
and S331, determining the number of controls corresponding to the target size.
Wherein the smaller the target size, the fewer the number of controls. The smaller the target size is, the smaller the length of the control bar in the target direction is, the smaller the area in the control bar in which the target controls can be displayed is, and correspondingly, the smaller the number of the target controls can be displayed is.
Specifically, the number of controls corresponding to different display sizes is preset, wherein the number of controls corresponding to different display sizes may be the same or different, and is specifically set according to an actual situation. For example, the display sizes are divided into A, B, C, D and E, with A > B > C > D > E. The number of the controls corresponding to the A is 7, the number of the controls corresponding to the B is 7, the number of the controls corresponding to the C is 5, the number of the controls corresponding to the D is 4, and the number of the controls corresponding to the E is 4. At this time, although there are the same number of controls for different display sizes, the smaller the target size is, the smaller the number of controls is satisfied as a whole.
Further, since the control bar includes a content input sub-control bar and a content management sub-control bar, setting the number of controls in the embodiment includes: the number of input controls displayed in the content input sub-control column and the number of management controls displayed in the content management sub-control column. Specifically, the number of input controls displayed in the content input sub-control column and the number of management controls displayed in the content management sub-control column are set in different display sizes. And when the number is 0, the corresponding child control bar is displayed in the screen in a cancelled mode. Further, since the content management sub-control column may include the content switching sub-control column and the content storage sub-control column, determining the number of content management sub-control columns includes determining the number of switching controls within the content switching sub-control column and determining the number of storage controls within the content storage sub-control column.
And S332, acquiring each control displayed in the control bar from all the controls to be displayed.
The number of the controls is equal to the number of the controls, and the controls to be displayed are preset controls which can be displayed in the control bar. Specifically, the control to be displayed may be selected by the user or selected by the control bar display device.
Further, when the control is selected, the selection may be performed according to the display priority of each control to be displayed, or may be performed according to the order of the initials of the controls to be displayed, or may be performed according to other selection rules. In an embodiment, the prioritization control is set to be displayed. At this time, the step specifically comprises: and selecting the control displayed in the control column from all the controls to be displayed according to the display priority of each control to be displayed.
Specifically, the display priority of each control to be displayed is determined, and the controls with the same number as the controls are selected according to the sequence from high display priority to low display priority.
Optionally, when a control displayed in the control column is selected from the controls to be displayed, an input control displayed in the content input sub-control column may be selected from the input controls to be displayed, and a management control displayed in the content management sub-control column may be selected from the management controls to be displayed.
Further optionally, when determining the number of controls, a simultaneous determination of whether to display the first alternate button may be made.
And S340, determining the display rule of each control according to the target size.
Wherein the display rules include: the display method comprises the following steps of displaying patterns of the controls, arranging sequence among the controls, arranging direction of the controls and displaying width of the controls. The display pattern comprises icons and/or Chinese names, and the arrangement sequence is the position sequence of each control in the control bar.
Specifically, the display rule of each control in each display size may be set in advance. When the target size is determined, the display rule of the corresponding control can be directly called according to the target size. And the display rule of each control can be determined in real time according to the target size. Wherein, this step specifically includes:
and S341, acquiring the display pattern of each control and the arrangement direction of the controls according to the target size.
Specifically, the display patterns of the controls in different display sizes are predetermined. The setting rule of the display pattern of each control can be set according to the actual situation. For example, within a certain size range, the display pattern of the input control includes an icon and a chinese name, and the display pattern of the management control includes an icon. In another size range, the display patterns of the input control and the management control are both icons.
Further, the arrangement direction of each control under different display sizes is preset. For example, the default arrangement direction is the horizontal direction, the target display window is set within a certain size range in the horizontal direction, the arrangement direction is the vertical direction, and the target display window is set within another size range in the horizontal direction.
And S342, determining the arrangement sequence of the controls according to a first set rule.
Wherein, the first setting rule can be set according to the actual situation. For example, the first setting rule includes: the display priority of the control, the use frequency of the control, the set display order of the control or the corresponding first letter sequence of the control.
When the controls are sorted according to the display priorities, the controls with high display priorities may be arranged at the front end of the control bar, and the controls with low display priorities may be arranged at the tail end of the control bar. Specifically, the display priorities of the controls in each child control bar are sorted, for example, an input control with a high display priority is displayed at the front end of the content input child control bar, and an input control with a low display priority is displayed at the tail end of the content input child control bar; when the controls are sorted according to the use frequency of the controls, the use frequency of the controls can be determined according to the number of times that the controls are clicked within the historical set time, the controls with high use frequency are arranged at the front end of the control bar, and the controls with low use frequency are arranged at the rear end of the control bar. Specifically, the use frequencies of the controls in the respective sub-control columns are sorted, for example, the input control with high use frequency is displayed at the front end of the content input sub-control column, and the input control with low use frequency is displayed at the tail end of the content input sub-control column; when the controls are arranged according to the set display sequence, the display sequence among the controls can be determined by a user, and then the display sequence is determined as the final display sequence of the controls; when the controls are ordered according to the initial ordering corresponding to the controls, the initial of the chinese name corresponding to the controls may be determined, and then the order of the controls may be determined according to the order of the english alphabet, for example, the input control with the initial a is arranged at the forefront of the content input child control bar, and the input control with the initial Z is arranged at the rearmost of the content input child control bar. If the same initial corresponds to a plurality of controls, the plurality of controls can be randomly ordered, or the order of the controls can be determined according to the initial of the second character of the Chinese name of the control.
And S343, calculating the display width of each control according to the display pattern and the target size.
Specifically, after each display pattern is determined, the display width of the display target in the control bar may be determined in accordance with the target size. When the display width is calculated, the size range to which the target size belongs may be determined, the minimum value of the size range is obtained, and the display width of the control is calculated according to the minimum value and the display pattern.
Alternatively, since the minimum values of the display pattern and the size range can be set in advance, the display width of each control can be calculated in advance. And when the display size is adjusted subsequently, the corresponding display width is directly adjusted according to the target size.
And S344, if the display width is smaller than the minimum display width of the control, taking the minimum display width as the display width of the control.
Further, considering that the target size is too small, if all the controls are displayed, the display pattern of the controls is too small, which is not beneficial to the operation of the user. Therefore, in the embodiment, the minimum display width of the display pattern is set, and when the display width obtained according to the display pattern and the target size is smaller than the minimum display width, the minimum display width is set and selected as the display width of the control.
And S345, calculating the sum of the minimum display widths.
The display width of each control can also be understood as the width of a child container allocated by the control bar display device for displaying the control. At this time, the display width is the minimum display width of the control. Further, the minimum display widths are added to confirm the total width required for displaying the target control, and the total width is recorded as a sum value. At this time, if it is set that the first alternative button is displayed only in a certain child control bar, the sum of the display widths of the controls in the child control bar may be calculated. For example, setting to display only the first alternative button in the content input sub-control bar, only the sum of the minimum display widths of the input controls is calculated.
S346, if the sum value is larger than the size of the control bar, confirming that the first alternative button is displayed.
And the size of the control bar is determined according to the target size. The control bar size may also be understood as the first length of the control bar, i.e., the width of the parent container in the control bar used to display the control. Optionally, each child control bar may correspond to a parent container, and at this time, the size of each child control bar may also be determined according to the target size. The size and value of each child control bar is a first length.
Further, after the sum is calculated, the sum is compared with the size of the control bar. Specifically, if the sum is the sum of the minimum display widths of the controls in a certain child control bar, the sum may be compared with the size of the child control bar. If the sum is smaller than the size of the control bar, it indicates that all the controls can be displayed in the control bar, and at this time, S350 may be executed. If the sum value is larger than the size of the control bar, only part of the control bar can be displayed in the control bar, and at this time, the first replacement button needs to be displayed in the control bar.
Optionally, after determining to display the first alternative button, the non-hidden control and the hidden control may be determined. For example, 6 controls are all provided, and 4 controls can be displayed in the control bar according to the target size, so that the 4 controls arranged in front can be selected as non-hidden controls according to the arrangement order of the controls, and the 2 controls arranged in back are hidden controls. It should be noted that, when the first replacement button is only displayed in a certain child control bar, the hidden control and the non-hidden control in the child control bar may be determined. Whether the controls of other sub-control columns are displayed in a cancellation mode depends on the number of controls displayed by the corresponding sub-control column.
Optionally, when the first replacement button is confirmed to be displayed, a display rule, a corresponding relationship with the size range, and a trigger condition of the second replacement button are also generated. And when the target size is determined to be in the corresponding size range, if the trigger condition is detected, displaying the second replacement button in the control bar according to the display rule of the second replacement button. For example, when it is detected that a first alternative button is clicked, it is determined that a trigger condition is detected, and a second alternative button is displayed in the control bar.
And S350, displaying the controls in the control bar according to the display rule.
Specifically, after the display rule is determined, each control is displayed in the control bar according to the display rule, so that the control bar changes along with the change of the target size.
Optionally, when it is determined that the first alternative button needs to be displayed in the control bar, the step further includes: and synchronously displaying the first replacement button to realize the replacement of the control in the control bar. Specifically, the first alternative button is displayed only in the content input sub-control bar due to the setting. Thus, the synchronized display of the first replacement button includes: a first alternative button is displayed in the content input sub-control bar.
According to the technical scheme, the technical means that the display position and the display size of each control in the internal control bar are fixed to cause that a user cannot call the control when the size of the display window of the application software is changed can be solved by receiving the frame size adjusting operation acting on the target display window, adjusting the target display window to the target size according to the frame size adjusting operation, determining the control and the display rule of the control according to the target size, and further displaying the control in the control bar according to the display rule of the control, so that the display style in the control bar is synchronously changed along with the display size of the display window. Meanwhile, the control and display rule are determined in a simple mode under different target sizes, the data processing amount of a system cannot be increased, and the synchronous change of control bars under all target sizes is conveniently and quickly realized.
Example four
Fig. 24 is a schematic structural diagram of a control bar display apparatus of an electronic whiteboard according to a fourth embodiment of the present invention. The control bar display device of the electronic whiteboard provided by the embodiment can be integrated in the control bar display equipment of the electronic whiteboard. Referring to fig. 24, the control bar display apparatus of the electronic whiteboard according to the present embodiment includes: a receiving module 401, a resizing module 402 and a content adjusting module 403 are operated.
The operation receiving module 401 is configured to receive a frame size adjustment operation, where the frame size adjustment operation is performed on a target display window; a size adjustment module 402, configured to adjust the target display window to a target size, where the target size is determined according to a frame size adjustment operation; the content adjusting module 403 is configured to display a control bar according to a set display style, so that the control in the control bar meets a preset calling requirement, the control bar is located in a target display window, the control bar includes a content input sub-control bar and/or a content management sub-control bar, the set display style includes at least one of the number of controls, display patterns of the controls, an arrangement order between the controls, an arrangement direction of the controls, and a display width of the controls, and the set display style is determined according to a target size.
The technical scheme that this embodiment provided, through receiving the frame size adjustment operation that acts on target display window, adjust target display window to target size according to frame size adjustment operation, simultaneously according to the technical scheme who sets for the demonstration style that corresponds with target size and show the control fence, can solve when the demonstration size of display window changes, the fixed technical problem that leads to the unable user of calling of the demonstration position and the demonstration size of each control in its inside control fence, it follows the change of target size and synchronous change to realize the demonstration style in the control fence, guarantee the control that shows in the control fence simultaneously and be convenient for the user to call the control, user's use experience has been promoted.
Further, the target size is adjusted from a size in a first size range to a size in a second size range, and the size of the second size range in the first target direction is smaller than the size of the first size range in the first target direction; the content adjusting module 403 is specifically configured to: and changing the arrangement direction of the control in the control bar, wherein the arrangement direction is changed from a first target direction to a second target direction, the first target direction is a horizontal direction or a vertical direction, and the second target direction is a vertical direction of the first target direction.
On the basis of the foregoing embodiment, the target size is within the third size range, and the content adjustment module 403 is specifically configured to: and displaying all the controls in the control bar, wherein each control corresponds to the first display width.
On the basis of the foregoing embodiment, the content adjusting module 403 is specifically configured to: and displaying all input controls in the content input sub-control column, and displaying all management controls in the content management sub-control column, wherein each control corresponds to the first display width.
On the basis of the foregoing embodiment, the target size is within a fourth size range, the size in the fourth size range is smaller than the size in the third size range, and the content adjusting module 403 is specifically configured to: and displaying a first replacement button and a first control in the control bar, wherein the first control is a non-hidden control in all the controls, and the number of the controls of the first control is determined according to the current display width and the target size of each non-hidden control.
On the basis of the above embodiment, the fourth size range includes a first sub-range and a second sub-range, and the size in the first sub-range is larger than the size in the second sub-range;
the target size is within the first sub-range, and the content adjustment module 403 is specifically configured to: displaying a first replacement button and a part of input controls in a content input sub-control column, and displaying all management controls in a content management sub-control column; the target size is within the second sub-range, and the content adjusting module 403 is specifically configured to: displaying the first replacement button and the partial input control in the content input sub-control bar, and canceling the display of the content management sub-control bar.
On the basis of the above embodiment, the content management child control bar includes: a content switching sub-control bar and a content storage sub-control bar;
the content adjusting module 403 is specifically configured to: and displaying a first replacement button and a part of input controls in the content input sub-control column, and canceling the display of the content switching sub-control column and/or canceling the display of the content storage sub-control column.
On the basis of the above embodiment, the second sub-range includes: the size in the first grandchild range is larger than that in the second grandchild range;
the target size is within the first grandchild range, and the content adjustment module 403 is specifically configured to: displaying a first replacement button and a part of input controls in a content input sub-control column, canceling display of the content switching sub-control column, and displaying all storage controls in a content storage sub-control column, wherein the storage controls belong to management controls; the target control is in the second grandchild range, and the content adjusting module 403 is specifically configured to: and displaying a first replacement button and a part of input controls in the content input sub-control column, and canceling to display the content switching sub-control column and the content storage sub-control column.
On the basis of the above embodiment, the method further includes: the first click receiving module is used for receiving a first click operation after a first replacement button and a first control are displayed in the control bar, wherein the first click operation acts on the first replacement button; and the first control replacing module is used for replacing the set control in the control bar with a second control, the second control is a hidden control in all the controls, and the set control is a part of non-hidden controls or all non-hidden controls in the first control.
On the basis of the above embodiment, the control is set as a partially non-hidden control in the first control, and the first control replacing module includes:
a cancel display unit for canceling the display setting control; and the control supplementing module is used for moving the non-hidden controls reserved in the first control to the display position of the set control according to the arrangement sequence and supplementing a second control at the blank position of the control bar.
On the basis of the above embodiment, the setting control is an input control in the content input sub-control column.
On the basis of the above embodiment, when the control replacement module is used to replace the set control in the control bar with the second control, the control replacement module is further configured to: displaying a second replacement button;
correspondingly, the method also comprises the following steps: the second click receiving module is used for receiving a second click operation after the set control in the control bar is replaced by a second control, and the second click operation acts on a second replacement button; and the second control replacing module is used for replacing the second control in the control bar with the setting control.
On the basis of the foregoing embodiment, the target size is within a fifth size range, and the size in the fifth size range is smaller than the size in the third size range and larger than the size in the fourth size range, and the content adjusting module 403 is specifically configured to: and displaying all the controls in the control bar, wherein each control corresponds to a second display width, and the second display width is smaller than the first display width.
On the basis of the foregoing embodiment, the target size is within a fourth size range, and the size within the fourth size range is smaller than the size within the second size range, and the content adjusting module 403 is specifically configured to: and changing the display pattern of each control currently displayed in the control column to reduce the display width of each control currently displayed.
On the basis of the foregoing embodiment, the content adjusting module 403 is specifically configured to: and keeping the icons of the currently displayed controls, and deleting the Chinese names corresponding to the currently displayed controls so as to reduce the display width of the currently displayed controls.
On the basis of the embodiment, the arrangement direction of the controls in the control bar is the horizontal direction, the content input sub-control bar is displayed in the same row with the touch writing area, and the content management sub-control bar is displayed in the same row with the touch management area; the arrangement direction of the controls in the control bar is vertical, the content input sub-control bar is displayed in the same line with the touch writing area, and the content management sub-control bar is displayed in the same line with the touch management area.
On the basis of the above embodiment, the content adjusting module 403 includes: the control determining unit is used for determining each control displayed in the control bar according to the target size; the rule confirming unit is used for determining the display rule of each control according to the target size; and the control display unit is used for displaying each control in the control bar according to the display rule.
On the basis of the above embodiment, the control determination unit includes: the quantity determining subunit is used for determining the quantity of the controls corresponding to the target size, and the smaller the target size is, the smaller the quantity of the controls is; and the control acquiring subunit is used for acquiring all the controls displayed in the control bar from all the controls to be displayed, wherein the number of the controls is equal to the number of the controls, and the controls to be displayed are preset controls which can be displayed in the control bar.
On the basis of the above embodiment, the number of controls includes: the number of input controls displayed in the content input sub-control column and the number of control controls displayed in the content control sub-control column.
On the basis of the above embodiment, the control acquiring subunit is specifically configured to: and selecting the control displayed in the control column from all the controls to be displayed according to the display priority of each control to be displayed.
On the basis of the above embodiment, the rule confirming unit includes; the pattern confirmation subunit is used for acquiring the display patterns of the controls and the arrangement directions of the controls according to the target size; the sequencing confirmation subunit is used for determining the sequencing sequence among the controls according to a first set rule; and the width calculating subunit is used for calculating the display width of each control according to the display pattern and the target size.
On the basis of the above embodiment, the first setting rule includes: the display priority of the control, the use frequency of the control, the set display order of the control or the corresponding first letter sequence of the control.
On the basis of the above embodiment, the method further includes: the width confirmation module is used for calculating the display width of each control according to the display pattern and the target size, and taking the minimum display width as the display width of the control if the display width is smaller than the minimum display width of the control; the sum value calculating module is used for calculating the sum value of each minimum display width; the button determining module is used for confirming and displaying the first replacement button if the sum value is larger than the size of the control bar, and the size of the control bar is determined according to the target size; correspondingly, the control display unit is specifically configured to: and displaying the controls in the control bar according to the display rule, and synchronously displaying the first replacement button.
On the basis of the above embodiment, the control display unit is specifically configured to: and displaying each control in the control column according to the display rule, and displaying a first replacement button in the content input sub-control column.
The control bar display device of the electronic whiteboard provided by the embodiment can be used for executing the control bar display method of the electronic whiteboard provided by any embodiment, and has corresponding functions and beneficial effects.
EXAMPLE five
Fig. 25 is a schematic structural diagram of a control bar display device of an electronic whiteboard according to a fifth embodiment of the present invention. As shown in fig. 25, the control bar display device of the electronic whiteboard includes: a processor 50, a memory 51, a display 52, an input device 53, and an output device 54. The number of the processors 50 in the control bar display device may be one or more, and one processor 50 is taken as an example in fig. 25. The number of the memories 51 in the control bar display device may be one or more, and one memory 51 is taken as an example in fig. 25. The processor 50, the memory 51, the display screen 52, the input device 53, and the output device 54 of the control bar display apparatus may be connected by a bus or other means, and the bus connection is exemplified in fig. 25.
The memory 51 is used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the control bar display method of the electronic whiteboard according to any embodiment of the present invention (for example, the operation receiving module 401, the resizing module 402, and the content adjusting module 403 in the control bar display apparatus of the electronic whiteboard). The memory 51 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 51 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 51 may further include memory located remotely from the processor 50, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The display screen 52 is a display screen 52 with a touch function, which may be a capacitive screen, an electromagnetic screen, or an infrared screen. In general, the display screen 52 is used for displaying data according to instructions from the processor 50, and is also used for receiving touch operations applied to the display screen 52 and sending corresponding signals to the processor 50 or other devices. Optionally, when the display screen 52 is an infrared screen, the display screen further includes an infrared touch frame, and the infrared touch frame is disposed around the display screen 52, and may also be configured to receive an infrared signal and send the infrared signal to the processor 50 or other devices.
The input device 53 may be used to receive input numeric or character information, and to generate key signal inputs and the like related to user settings and function control of the apparatus. The output device 54 may include an audio device such as a speaker. It should be noted that the specific composition of the input device 53 and the output device 54 may be set according to actual conditions. Optionally, a communication device 55 may be further included for establishing a communication connection with other devices, which may be a wired communication device and/or a wireless communication device.
The processor 50 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 51, that is, implements the control bar display method of the electronic whiteboard described above.
When the one or more programs are executed by the one or more processors 50, the one or more processors 50 are caused to perform the operations of:
receiving a frame size adjusting operation, wherein the frame size adjusting operation acts on the target display window; controlling the display screen 52 to adjust the target display window to a target size, wherein the target size is determined according to the frame size adjustment operation; the display screen 52 is controlled to display the control bar according to the set display style, so that the control in the control bar meets the preset calling requirement, the control bar is located in the target display window, the control bar comprises a content input sub-control bar and/or a content management sub-control bar, the set display style comprises at least one of the number of the controls, the display patterns of the controls, the arrangement sequence among the controls, the arrangement direction of the controls and the display width of the controls, and the set display style is determined according to the target size.
On the basis of the above embodiment, the target size is adjusted from a size in a first size range to a size in a second size range, the size of the second size range in the first target direction being smaller than the size of the first size range in the first target direction; when the processor 50 executes control to display the control bar on the display screen 52 according to the set display style, the following specific implementation is implemented:
and controlling the display screen 52 to change the arrangement direction of the controls in the control bar, wherein the arrangement direction is changed from a first target direction to a second target direction, the first target direction is a horizontal direction or a vertical direction, and the second target direction is a vertical direction of the first target direction.
On the basis of the foregoing embodiment, when the processor 50 executes control to display the control bar on the display screen 52 according to the set display style, the target size is within the third size range, specifically implementing:
and controlling the display screen 52 to display all the controls in the control bar, wherein each control corresponds to the first display width.
On the basis of the above embodiment, when the processor 50 executes control to control the display screen 52 to display all the controls in the control bar, the following specific implementation is performed:
and controlling the display screen 52 to display all input controls in the content input sub-control column and all management controls in the content management sub-control column.
On the basis of the above embodiment, the target size is within a fourth size range, the size within the fourth size range being smaller than the size within the third size range;
when the processor 50 executes control to display the control bar on the display screen 52 according to the set display style, the following specific implementation is implemented:
and controlling the display screen 52 to display a first replacement button and a first control in the control bar, wherein the first control is a non-hidden control in all the controls, and the number of the controls of the first control is determined according to the current display width and the target size of each non-hidden control.
On the basis of the above embodiment, the fourth size range includes a first sub-range and a second sub-range, and the size in the first sub-range is larger than the size in the second sub-range;
the target size is within the first sub-range, and when the processor 50 executes control of the display screen 52 to display the first replacement button and the first control in the control bar, implementation is specifically as follows:
controlling the display screen 52 to display a first replacement button and a part of input controls in the content input sub-control column, and display all management controls in the content management sub-control column;
the target size is within the second sub-range, and when the processor 50 executes control of the display screen 52 to display the first replacement button and the first control in the control bar, implementation is specifically as follows:
and controlling the display screen 52 to display the first replacement button and the partial input control in the content input sub-control column and cancel the display of the content management sub-control column.
On the basis of the above embodiment, the content management child control bar includes: a content switching sub-control bar and a content storage sub-control bar;
when the processor 50 executes control to cancel displaying the content management child control bar on the display screen 52, the following specific implementation is implemented:
and controlling the display screen 52 to cancel displaying the content switching sub-control bar and/or cancel displaying the content storage sub-control bar.
On the basis of the above embodiment, the second sub-range includes: the size in the first grandchild range is larger than that in the second grandchild range;
when the target size is within the first grandchild range, and the processor 50 executes control of the display screen 52 to cancel displaying the content management child control bar, specifically, the following is implemented:
controlling the display screen 52 to cancel displaying the content switching sub-control bar, and displaying all storage controls in the content storage sub-control bar, where the storage controls belong to the management controls;
when the target size is within the second grandchild range, and the processor 50 executes control of the display screen 52 to cancel displaying the content management child control bar, specifically, the following is implemented:
and controlling the display screen 52 to cancel the display of the content switching sub-control bar and the content storage sub-control bar.
On the basis of the above embodiment, after executing the control of the display screen 52 to display the first alternative button and the first control in the control bar, the processor 50 further implements:
receiving a first click operation, wherein the first click operation acts on the first replacement button;
and controlling the display screen 52 to replace the set control in the control bar with a second control, wherein the second control is a hidden control in all the controls, and the set control is a part of non-hidden controls or all non-hidden controls in the first control.
On the basis of the above embodiment, the setting control is a part of the non-hidden control in the first control, and when the processor 50 executes control to replace the setting control in the control bar with the second control by the display screen 52, the following specific implementation is performed:
control the display screen 52 to cancel displaying the setting control;
and controlling the display screen 52 to move the non-hidden controls reserved in the first control to the display position of the set control according to the arrangement sequence, and supplementing a second control at the blank position of the control bar.
On the basis of the above embodiment, the setting control is an input control in the content input sub-control bar.
On the basis of the above embodiment, when the processor 50 executes control to replace the setting control in the control bar with the second control on the display screen 52, specifically, the following steps are implemented:
control the display screen 52 to display a second alternate button;
correspondingly, after executing the control of the display screen 52 to replace the setting control in the control bar with the second control, the processor 50 further implements:
receiving a second click operation, wherein the second click operation acts on the second replacement button;
and controlling the display screen 52 to replace the second control in the control bar with the setting control.
On the basis of the above embodiment, the target size is within a fifth size range, and the size within the third size range is smaller than the size within the first size range and larger than the size within the second size range;
when the processor 50 executes control to display the control bar on the display screen 52 according to the set display style, the following specific implementation is implemented:
and controlling the display screen 52 to display all the controls in the control bar, wherein each control corresponds to a second display width, and the second display width is smaller than the first display width.
On the basis of the above-described embodiment, the target size is within a sixth size range, the size within the sixth size range being smaller than the size within the fourth size range,
when the processor 50 executes control to display the control bar on the display screen 52 according to the set display style, the following specific implementation is implemented:
and controlling the display screen 52 to change the display pattern of each currently displayed control in the control bar so as to reduce the display width of each currently displayed control.
On the basis of the above embodiment, when the processor 50 executes control to the display screen 52 to replace the display pattern of each target control displayed in the control bar, the following specific implementation is implemented:
and controlling the display screen 52 to keep the icons of the currently displayed controls and delete the Chinese names corresponding to the currently displayed controls.
On the basis of the embodiment, the arrangement direction of the controls in the control bar is the horizontal direction, the content input sub-control bar is displayed in the same row with the touch writing area, and the content management sub-control bar is displayed in the same row with the touch management area; the arrangement direction of the controls in the control bar is vertical, the content input sub-control bar is displayed in the same line with the touch writing area, and the content management sub-control bar is displayed in the same line with the touch management area.
On the basis of the above embodiment, when the processor 50 executes control to display the control bar on the display screen 52 according to the set display style, the following specific implementation is implemented:
determining each control displayed in a control bar according to the target size;
determining a display rule of each control according to the target size;
and controlling the display screen 52 to display each control in the control bar according to the display rule.
On the basis of the above embodiment, when the processor 50 executes the control displayed in the control bar determined according to the target size, the following specific implementation is implemented:
determining the number of controls corresponding to the target size, wherein the smaller the target size is, the smaller the number of controls is;
and acquiring all controls displayed in a control bar from all controls to be displayed, wherein the number of the controls is equal to the number of the controls, and the controls to be displayed are preset controls which can be displayed in the control bar.
On the basis of the above embodiment, the number of controls includes: the number of input controls displayed in the content input sub-control column and the number of control controls displayed in the content control sub-control column.
On the basis of the above embodiment, when the processor 50 executes to acquire each control displayed in the control bar from all the controls to be displayed, the following specific implementation is performed:
and selecting the control displayed in the control column from all the controls to be displayed according to the display priority of each control to be displayed.
On the basis of the above embodiment, when the processor 50 executes the display rule of each control determined according to the target size, the following specific implementation is implemented:
acquiring the display pattern of each control and the arrangement direction of the controls according to the target size;
determining the arrangement sequence of the controls according to a first set rule;
and calculating the display width of each control according to the display pattern and the target size.
On the basis of the above embodiment, the first setting rule includes: the display priority of the control, the use frequency of the control, the set display order of the control or the corresponding first letter sequence of the control.
On the basis of the above embodiment, after the processor 50 performs the calculation of the display width of each control according to the display pattern and the target size, the following is further implemented:
if the display width is smaller than the minimum display width of the control, taking the minimum display width as the display width of the control;
calculating the sum of the minimum display widths;
if the sum is larger than the size of the control bar, confirming to display a first replacement button, wherein the size of the control bar is determined according to the target size;
when the processor 50 executes the control of the display screen 52 to display the target control in the control bar according to the display rule, the processor is further configured to:
and controlling the display screen 52 to synchronously display the first replacement button.
On the basis of the above embodiment, when the processor 50 executes and controls the display screen 52 to synchronously display the first replacement button, the processor is specifically configured to:
controlling the display screen 52 to display a first alternate button in the content input sub-control bar.
The control bar display device of the electronic whiteboard provided above can be used to execute the control bar display method of the electronic whiteboard provided in any of the above embodiments, and has corresponding functions and beneficial effects.
EXAMPLE six
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are executed by a computer processor to perform a control bar display method for an electronic whiteboard, and the method includes:
receiving a frame size adjustment operation, wherein the frame size adjustment operation acts on a target display window;
adjusting the target display window to a target size, wherein the target size is determined according to the frame size adjustment operation;
displaying the control bar according to the set display style, so that the control in the control bar meets the preset calling requirement;
the control bar is positioned in the target display window and comprises a content input sub-control bar and/or a content management sub-control bar;
the set display style comprises a control and a display rule of the control, and the set display style is determined according to the target size.
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present invention is not limited to the above-described operations of the control bar display method of the electronic whiteboard, and may also perform related operations in the control bar display method of the electronic whiteboard provided in any embodiments of the present invention, and has corresponding functions and advantages.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a robot, a personal computer, a server, or a network device) to execute the control bar display method of the electronic whiteboard according to any embodiment of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (25)

1. A control bar display method of an electronic whiteboard is characterized by comprising the following steps:
receiving a frame size adjustment operation, wherein the frame size adjustment operation acts on a target display window;
adjusting the target display window to a target size, wherein the target size is determined according to the frame size adjustment operation;
displaying a control bar according to a set display style, so that a control in the control bar meets a preset calling requirement;
the control bar is positioned in the target display window and comprises a content input sub-control bar and/or a content management sub-control bar;
the set display style comprises at least one of the number of controls, display patterns of the controls, arrangement sequence among the controls, arrangement direction of the controls and display width of the controls, and is determined according to the target size;
the control bar is displayed according to the set display style, and the control bar comprises:
determining each control displayed in a control bar according to the target size;
determining a display rule of each control according to the target size;
displaying each control in the control bar according to the display rule;
the determining the display rule of each control according to the target size includes:
acquiring the display pattern of each control and the arrangement direction of the controls according to the target size;
determining the arrangement sequence of the controls according to a first set rule;
and calculating the display width of each control according to the display pattern and the target size.
2. The control bar displaying method of an electronic whiteboard of claim 1, wherein the target size is adjusted from a size in a first size range to a size in a second size range, the size of the second size range in the first target direction being smaller than the size of the first size range in the first target direction;
the display control bar according to the set display style comprises:
and changing the arrangement direction of the control in the control bar, wherein the arrangement direction is changed from a first target direction to a second target direction, the first target direction is a horizontal direction or a vertical direction, and the second target direction is a vertical direction of the first target direction.
3. The control bar displaying method of an electronic whiteboard of claim 1, wherein the target size is within a third size range;
the display control bar according to the set display style comprises:
and displaying all the controls in the control bar, wherein each control corresponds to the first display width.
4. The method according to claim 3, wherein the displaying all the controls in the control bar comprises:
and displaying all input controls in the content input sub-control column, and displaying all management controls in the content management sub-control column.
5. The control bar displaying method of an electronic whiteboard of claim 3, wherein the target size is in a fourth size range, and sizes in the fourth size range are smaller than sizes in the third size range;
the display control bar according to the set display style comprises:
and displaying a first replacement button and a first control in the control bar, wherein the first control is a non-hidden control in all the controls, and the number of the controls of the first control is determined according to the current display width and the target size of each non-hidden control.
6. The control bar displaying method of an electronic whiteboard of claim 5, wherein the fourth size range includes a first sub-range and a second sub-range, and the size in the first sub-range is larger than the size in the second sub-range;
the target size is within a first sub-range, and the displaying a first alternate button and a first control in the control bar comprises:
displaying a first replacement button and a part of input controls in the content input sub-control column, and displaying all management controls in the content management sub-control column;
the target size is within a second sub-range, and the displaying a first alternate button and a first control in the control bar comprises:
and displaying a first replacement button and a part of input controls in the content input sub-control bar, and canceling the display of the content management sub-control bar.
7. The control bar display method of an electronic whiteboard according to claim 6, wherein the content management child control bar includes: a content switching sub-control bar and a content storage sub-control bar;
the canceling of the display of the content management child control bar includes:
and canceling the display of the content switching sub-control bar and/or canceling the display of the content storage sub-control bar.
8. The control bar displaying method of an electronic whiteboard according to claim 7, wherein the second sub-range includes: the size in the first grandchild range is larger than that in the second grandchild range;
the target size is within a first grandchild range, and the canceling of the display of the content management child control bar includes:
canceling to display the content switching sub-control bar, and displaying all storage controls in the content storage sub-control bar, wherein the storage controls belong to the management controls;
the target size is within a second grandchild range, and the canceling of the display of the content management child control bar includes:
and canceling the display of the content switching sub-control bar and the content storage sub-control bar.
9. The method according to claim 5, wherein after the displaying the first replacement button and the first control in the control bar, the method further comprises:
receiving a first click operation, wherein the first click operation acts on the first replacement button;
and replacing a set control in the control bar with a second control, wherein the second control is a hidden control in all the controls, and the set control is a part of non-hidden controls or all non-hidden controls in the first control.
10. The method according to claim 9, wherein the setting control is a partially non-hidden control in the first control,
the replacing the set control in the control bar with the second control comprises:
canceling the display setting control;
and moving the non-hidden controls reserved in the first control to the display position of the set control according to the arrangement sequence, and supplementing a second control at the blank position of the control bar.
11. The method according to claim 9 or 10, wherein the setting control is an input control in the content input sub-control bar.
12. The method according to claim 9, wherein the replacing of the control set in the control bar with the second control further comprises:
displaying a second replacement button;
after the setting control in the control bar is replaced by the second control, the method further comprises the following steps:
receiving a second click operation, wherein the second click operation acts on the second replacement button;
and replacing the second control in the control bar with the setting control.
13. The control bar displaying method of an electronic whiteboard of claim 5, wherein the target size is in a fifth size range, the size in the fifth size range being smaller than the size in the third size range and larger than the size in the fourth size range;
the display control bar according to the set display style comprises:
and displaying all the controls in the control bar, wherein each control corresponds to a second display width, and the second display width is smaller than the first display width.
14. The control bar display method of an electronic whiteboard according to claim 5, wherein the target size is within a sixth size range, a size in the sixth size range being smaller than a size in the fourth size range,
the display control bar according to the set display style comprises:
and replacing the display pattern of each control currently displayed in the control bar so as to reduce the display width of each control currently displayed.
15. The method according to claim 14, wherein the changing the display pattern of each currently displayed control in the control bar comprises:
and keeping the icons of the currently displayed controls, and deleting the Chinese names corresponding to the currently displayed controls.
16. The method according to claim 1, wherein the arrangement direction of the controls in the control bar is a horizontal direction, the content input sub-control bar is displayed in the same column as the touch writing area, and the content management sub-control bar is displayed in the same column as the touch management area;
the arrangement direction of the controls in the control bar is a vertical direction, the content input sub-control bar is displayed in the same line with the touch writing area, and the content management sub-control bar is displayed in the same line with the touch management area.
17. The method according to claim 1, wherein the determining, according to the target size, each control to be displayed in the control bar includes:
determining the number of controls corresponding to the target size, wherein the smaller the target size is, the smaller the number of controls is;
and acquiring all controls displayed in a control bar from all controls to be displayed, wherein the number of the controls is equal to the number of the controls, and the controls to be displayed are preset controls which can be displayed in the control bar.
18. The method according to claim 17, wherein the number of controls includes: the number of input controls displayed in the content input sub-control column and the number of management controls displayed in the content management sub-control column.
19. The method according to claim 17, wherein the obtaining of each control displayed in the control bar from all the controls to be displayed comprises:
and selecting the control displayed in the control column from all the controls to be displayed according to the display priority of each control to be displayed.
20. The method according to claim 1, wherein the first setting rule includes: the display priority of the control, the use frequency of the control, the set display order of the control or the corresponding first letter sequence of the control.
21. The method according to claim 1, further comprising, after calculating the display width of each control according to the display pattern and the target size:
if the display width is smaller than the minimum display width of the control, taking the minimum display width as the display width of the control;
calculating the sum of the minimum display widths;
if the sum is larger than the size of the control bar, confirming to display a first replacement button, wherein the size of the control bar is determined according to the target size;
the displaying each control in the control bar according to the display rule further includes:
the first replacement button is displayed synchronously.
22. The control bar displaying method of an electronic whiteboard of claim 21, wherein the synchronously displaying the first replacement button comprises:
displaying a first alternate button in the content input sub-control bar.
23. A control bar display device of an electronic whiteboard, comprising:
the operation receiving module is used for receiving frame size adjusting operation, and the frame size adjusting operation acts on the target display window;
the size adjusting module is used for adjusting the target display window to a target size, and the target size is determined according to the frame size adjusting operation;
the content adjusting module is used for displaying the control bar according to a set display style, so that the control in the control bar meets the preset calling requirement;
the control bar is positioned in the target display window and comprises a content input sub-control bar and/or a content management sub-control bar;
the set display style comprises at least one of the number of controls, display patterns of the controls, arrangement sequence among the controls, arrangement direction of the controls and display width of the controls, and is determined according to the target size;
the control bar is displayed according to the set display style, and the control bar comprises:
determining each control displayed in a control bar according to the target size;
determining a display rule of each control according to the target size;
displaying each control in the control bar according to the display rule;
the determining the display rule of each control according to the target size includes:
acquiring the display pattern of each control and the arrangement direction of the controls according to the target size;
determining the arrangement sequence of the controls according to a first set rule;
and calculating the display width of each control according to the display pattern and the target size.
24. A control bar display device of an electronic whiteboard, comprising:
a memory, a display screen, and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to perform operations comprising:
receiving a frame size adjustment operation, wherein the frame size adjustment operation acts on a target display window;
controlling the display screen to adjust the target display window to a target size, wherein the target size is determined according to the frame size adjustment operation;
controlling the display screen to display a control bar according to a set display style, so that the control in the control bar meets a preset calling requirement;
the control bar is positioned in the target display window and comprises a content input sub-control bar and/or a content management sub-control bar;
the set display style comprises at least one of the number of controls, display patterns of the controls, arrangement sequence among the controls, arrangement direction of the controls and display width of the controls, and is determined according to the target size;
the control the display screen to display the control bar according to the set display style comprises the following steps:
determining each control displayed in a control bar according to the target size;
determining a display rule of each control according to the target size;
controlling the display screen to display each control in the control bar according to the display rule;
the determining the display rule of each control according to the target size includes:
acquiring the display pattern of each control and the arrangement direction of the controls according to the target size;
determining the arrangement sequence of the controls according to a first set rule;
and calculating the display width of each control according to the display pattern and the target size.
25. A storage medium containing computer-executable instructions for performing the control bar display method of an electronic whiteboard of any of claims 1-22 when executed by a computer processor.
CN201810987450.2A 2018-08-28 2018-08-28 Control bar display method, device, equipment and storage medium of electronic whiteboard Active CN109189532B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810987450.2A CN109189532B (en) 2018-08-28 2018-08-28 Control bar display method, device, equipment and storage medium of electronic whiteboard
PCT/CN2018/115963 WO2020042378A1 (en) 2018-08-28 2018-11-16 Control bar display method, apparatus and device for electronic whiteboard, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810987450.2A CN109189532B (en) 2018-08-28 2018-08-28 Control bar display method, device, equipment and storage medium of electronic whiteboard

Publications (2)

Publication Number Publication Date
CN109189532A CN109189532A (en) 2019-01-11
CN109189532B true CN109189532B (en) 2021-05-11

Family

ID=64916406

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810987450.2A Active CN109189532B (en) 2018-08-28 2018-08-28 Control bar display method, device, equipment and storage medium of electronic whiteboard

Country Status (2)

Country Link
CN (1) CN109189532B (en)
WO (1) WO2020042378A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110705229B (en) * 2019-09-10 2023-04-07 广州市博农讯恺信息技术有限公司 Editing class list arrangement recommendation method and device
CN111414221B (en) * 2020-03-20 2022-06-28 联想(北京)有限公司 Display method and device
CN113535286A (en) * 2020-04-15 2021-10-22 斑马智行网络(香港)有限公司 Interface display method, device, equipment and storage medium
CN111897460A (en) * 2020-06-16 2020-11-06 北京配天技术有限公司 Control display method and device and storage device
CN111913710A (en) * 2020-08-17 2020-11-10 中消云(北京)物联网科技研究院有限公司 Method and device for setting navigation bar
CN112269520B (en) * 2020-10-27 2022-04-12 广州视源电子科技股份有限公司 Element display control method and device, interactive panel and storage medium
CN112631475B (en) * 2020-12-29 2022-11-11 安徽鸿程光电有限公司 Toolbar adjusting method, apparatus, device and computer readable storage medium
CN112799761A (en) * 2021-01-27 2021-05-14 中国工商银行股份有限公司 Search bar generation method and device, electronic equipment and storage medium
CN114816184A (en) * 2022-04-26 2022-07-29 曙光网络科技有限公司 Display method, device, equipment and storage medium of operation control

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440087A (en) * 2013-08-07 2013-12-11 广东欧珀移动通信有限公司 Method and mobile terminal for customizing position of status bar
CN103543996A (en) * 2012-07-17 2014-01-29 腾讯科技(深圳)有限公司 Browser window management method and device
CN105653139A (en) * 2015-12-22 2016-06-08 深圳市万普拉斯科技有限公司 Webpage navigation menu display method and system
CN107272997A (en) * 2017-07-31 2017-10-20 深圳天珑无线科技有限公司 Navigation bar display methods, device and computer-readable recording medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741969A (en) * 2008-11-07 2010-06-16 康佳集团股份有限公司 Method for managing a plurality of controls on display interface of mobile phone and control manager thereof
CN101776991B (en) * 2009-12-28 2013-10-02 金蝶软件(中国)有限公司 Control display text replacing method and device
CN103164197A (en) * 2011-12-14 2013-06-19 中兴通讯股份有限公司 User interface (UI) distribution self-adaption method, mobile device and distribution generating device
KR102133826B1 (en) * 2013-09-23 2020-07-14 팬텍 주식회사 Terminal and method for controlling display of multi window
US9329761B2 (en) * 2014-04-01 2016-05-03 Microsoft Technology Licensing, Llc Command user interface for displaying and scaling selectable controls and commands
KR102444920B1 (en) * 2014-11-20 2022-09-19 삼성전자주식회사 Device and control method thereof for resizing a window
CN105739972A (en) * 2016-01-21 2016-07-06 浪潮通用软件有限公司 Screen self-adaption method and device of control
CN106484407A (en) * 2016-09-28 2017-03-08 上海银天下科技有限公司 Control display packing and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103543996A (en) * 2012-07-17 2014-01-29 腾讯科技(深圳)有限公司 Browser window management method and device
CN103440087A (en) * 2013-08-07 2013-12-11 广东欧珀移动通信有限公司 Method and mobile terminal for customizing position of status bar
CN105653139A (en) * 2015-12-22 2016-06-08 深圳市万普拉斯科技有限公司 Webpage navigation menu display method and system
CN107272997A (en) * 2017-07-31 2017-10-20 深圳天珑无线科技有限公司 Navigation bar display methods, device and computer-readable recording medium

Also Published As

Publication number Publication date
WO2020042378A1 (en) 2020-03-05
CN109189532A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN109189532B (en) Control bar display method, device, equipment and storage medium of electronic whiteboard
US7432928B2 (en) User interface state reconfiguration through animation
US10474320B2 (en) Document channel selection for document viewing application
JP4880334B2 (en) Scrollable and resizable formula bar
KR101720849B1 (en) Touch screen hover input handling
US9069437B2 (en) Window management method, apparatus and computing device
US10228835B2 (en) Method for displaying information, and terminal equipment
US20150046853A1 (en) Computing Device For Collaborative Project Management
CN103246433A (en) Screen user-defined window-dividing display control method
CN103914258A (en) Mobile terminal and method for operating same
CN108064369B (en) Interaction method and device of flexible display screen
DE112012000189T5 (en) Touch screen keyboard for providing word predictions in partitions of the touch screen keyboard in close association with candidate letters
CN108475172B (en) Information display method and device and terminal equipment
US9921719B2 (en) Touch display apparatus and wallpaper replacing method thereof
KR20150083651A (en) Electronic apparatus and data displaying method thereof
WO2017215542A1 (en) Method and device for displaying image
CN112148405A (en) Desktop layout method and device and electronic equipment
CN113835580A (en) Application icon display method and device, electronic equipment and storage medium
CN114564263A (en) Page layout adjusting method and device
CN113986076A (en) Icon display control method and device, electronic equipment and storage medium
JP2009187308A (en) Display controller, display control method, program, and storage medium
JP5906344B1 (en) Information processing apparatus, information display program, and information display method
JP6722240B2 (en) Information processing apparatus, information processing program, information processing method, and information processing system
WO2023284762A1 (en) Application notification display method and apparatus, and electronic device
US8839296B2 (en) Program guide generation apparatus, program guide generation method, and program guide generation program

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
GR01 Patent grant
GR01 Patent grant