CN116860138B - Method for realizing synchronous scaling of electronic whiteboard content and background and processing terminal - Google Patents

Method for realizing synchronous scaling of electronic whiteboard content and background and processing terminal Download PDF

Info

Publication number
CN116860138B
CN116860138B CN202310884746.2A CN202310884746A CN116860138B CN 116860138 B CN116860138 B CN 116860138B CN 202310884746 A CN202310884746 A CN 202310884746A CN 116860138 B CN116860138 B CN 116860138B
Authority
CN
China
Prior art keywords
qgraphics
display
canvas
control layer
layer
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
CN202310884746.2A
Other languages
Chinese (zh)
Other versions
CN116860138A (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.)
Guangdong Baolun Electronics Co ltd
Original Assignee
Guangdong Baolun 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 Guangdong Baolun Electronics Co ltd filed Critical Guangdong Baolun Electronics Co ltd
Priority to CN202310884746.2A priority Critical patent/CN116860138B/en
Publication of CN116860138A publication Critical patent/CN116860138A/en
Application granted granted Critical
Publication of CN116860138B publication Critical patent/CN116860138B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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/0483Interaction with page-structured environments, e.g. book metaphor
    • 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/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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/0486Drag-and-drop

Landscapes

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

Abstract

The invention discloses a realization method and a processing terminal for synchronous scaling of electronic whiteboard content and background, wherein the method is based on QGraphics view-QGraphics Scene-QGraphics Item view hierarchy of a qt platform, one is used as a control layer, the other is used as a display layer, the control layer is used for receiving scaling and dragging operation instructions, and the display size of the control layer is forbidden to be limited, the display layer is used for responding to the scaling and dragging operation instructions, so that the display size is adjusted on the display layer based on the position information of a current canvas after being processed by the control layer, thereby adjusting the display position and displaying canvas content, and the display layer is forbidden to add QGraphics Items and ignore all interaction events. The invention can drag infinitely to expand the drawing area, can draw new page content in the new drawing area continuously, and improves the user experience.

Description

Method for realizing synchronous scaling of electronic whiteboard content and background and processing terminal
Technical Field
The invention relates to the technical field of electronic whiteboard scaling, in particular to a method for realizing synchronous scaling of electronic whiteboard content and background and a processing terminal.
Background
Currently, conventional electronic whiteboards are scaled equally together with the contents of the pages of the electronic whiteboard and the whiteboard background when performing page scaling (zoom-in and zoom-out) operations. For these reasons, although tiling the whiteboard background is achieved by limiting the maximum display area (size) of the electronic whiteboard, the canvas size of the electronic whiteboard cannot be changed, and thus the canvas cannot be dragged infinitely. The canvas of the existing electronic whiteboard can only be suitable for a small amount of drawing content, the maximum display area of the canvas can be supported for drawing the content angle, the drawing area cannot be expanded by dragging the canvas, and drawing can be continued only by clearly showing the existing display content of the canvas. Moreover, the background added by the canvas cannot be self-adaptive to the size of the current canvas display area, and the page content displayed by the current canvas background can be changed along with the zooming and dragging operations, so that inconvenience is brought to a user.
Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to provide a method for realizing synchronous scaling of electronic whiteboard content and background and a processing terminal, which can solve the problems described in the background art.
The technical scheme for realizing the purpose of the invention is as follows: a realization method for synchronous scaling of electronic whiteboard content and background is based on QGraphics view-QGraphics item view level of qt platform to set two QGraphics view window pages, one as control layer and one as display layer, wherein QGraphics view represents graphic scene, namely canvas, canvas background is rendered on QGraphics view, QGraphics view represents display window, QGraphics item represents graphic element,
the first QGraphics View window page serving as a control layer is used for receiving a zooming and dragging operation instruction, the display size of the control layer is forbidden to be limited, the second QGraphics View window page serving as a display layer is used for responding to the zooming and dragging operation instruction, and display size adjustment is carried out on the display layer based on position information of a current canvas processed by the control layer, so that the canvas is adjusted to a correct display position and canvas content is displayed, the canvas content is composed of QGraphics Items, and the display layer is forbidden to add the QGraphics Items and ignore all interaction events.
Further, the current display size of the first QGraphicView window page serving as a control layer is automatically changed according to the added QGraphicItem attribute.
A processing terminal, comprising:
a memory for storing program instructions;
and the processor is used for running the program instructions to execute the steps of the implementation method of the synchronous scaling of the electronic whiteboard content and the background.
The beneficial effects of the invention are as follows: according to the invention, two display window pages QGraphics view are arranged on the QGraphics screen, one is used as a control layer, the other is used as a display layer, the control layer is added with QGraphics Items, the display layer is not added with any QGraphics Items, the display size of the control layer is not limited, so that the display window pages can be changed according to the condition of the QGraphics Items, the display layer size can be adaptively adjusted according to the position information processed by the control layer, so that the canvas can be adjusted to a correct display position and page contents are displayed, the canvas can be dragged infinitely through the control layer and the display layer, a drawing area is expanded, new page contents can be drawn in a new drawing area continuously, and the user experience is improved. In addition, the canvas background can be adaptively adapted to the size of the current display area of the canvas, so that the synchronous scaling effect is achieved.
Drawings
FIG. 1 is a schematic block diagram of the present invention;
fig. 2 is a schematic diagram of a processing terminal.
Detailed Description
The invention will be further described with reference to the accompanying drawings and detailed description:
as shown in FIG. 1, in the implementation method for synchronous scaling of electronic whiteboard content and background, two QGraphics View window pages are set on the basis of the QGraphics View-QGraphics Scene-QGraphics Item view hierarchy of the qt platform, one is used as a control layer and recorded as a first QGraphics View window page, and the other is used as a display layer and recorded as a second QGraphics View window page. Wherein QGraphiscscene represents a graphic scene, i.e., as a canvas, the current canvas background is rendered on QGraphiscscene, QGraphiscsView represents a display window (i.e., a view), and QGraphiscsItem represents a graphical element. The current display size of the first QGraphics View window page serving as the control layer is automatically changed according to the added QGraphics Item attribute, the control layer is used for receiving zooming and dragging operation instructions, and the display size of the control layer is forbidden to be limited, namely the second QGraphics View window page serving as the control layer is infinite. The second QGraphics View window page serving as the display layer is used for responding to the zooming and dragging operation instructions to adjust the display size on the display layer based on the position information of the current canvas after being processed by the control layer, so that the canvas is adjusted to the correct display position and the canvas content is displayed, the canvas content is composed of QGraphics Items, and the display layer prohibits adding the QGraphics Items and ignores all interaction events, namely prohibits adding any QGraphics Items.
According to the invention, two display window pages QGraphics view are arranged on the QGraphics screen, one is used as a control layer, the other is used as a display layer, the control layer is added with QGraphics Items, the display layer is not added with any QGraphics Items, the display size of the control layer is not limited, so that the display window pages can be changed according to the condition of the QGraphics Items, the display layer size can be adaptively adjusted according to the position information processed by the control layer, so that the canvas can be adjusted to a correct display position and page contents are displayed, the canvas can be dragged infinitely through the control layer and the display layer, a drawing area is expanded, new page contents can be drawn in a new drawing area continuously, and the user experience is improved. In addition, the canvas background can be adaptively adapted to the size of the current display area of the canvas, so that the synchronous scaling effect is achieved.
As shown in fig. 2, the present invention further provides a processing terminal 100, which includes:
a memory 101 for storing program instructions;
a processor 102 for executing the program instructions to perform the steps of the method for implementing the electronic whiteboard content and background synchronous scaling.
The embodiment disclosed in the present specification is merely an illustration of one-sided features of the present invention, and the protection scope of the present invention is not limited to this embodiment, and any other functionally equivalent embodiment falls within the protection scope of the present invention. Various other corresponding changes and modifications will occur to those skilled in the art from the foregoing description and the accompanying drawings, and all such changes and modifications are intended to be included within the scope of the present invention as defined in the appended claims.

Claims (3)

1. A method for realizing synchronous scaling of electronic whiteboard content and background is characterized in that two QGraphics View window pages are arranged on the basis of QGraphics View-QGraphics Scene-QGraphics Item view hierarchy of a qt platform, one is used as a control layer, the other is used as a display layer, wherein QGraphics Scene represents a graphic scene, namely, is used as a canvas, the canvas background is rendered on the QGraphics Scene, QGraphics View represents a display window, QGraphics Item represents a graphic element,
the first QGraphics View window page serving as a control layer is used for receiving a zooming and dragging operation instruction, the display size of the control layer is forbidden to be limited, the second QGraphics View window page serving as a display layer is used for responding to the zooming and dragging operation instruction, and display size adjustment is carried out on the display layer based on position information of a current canvas processed by the control layer, so that the canvas is adjusted to a correct display position and canvas content is displayed, the canvas content is composed of QGraphics Items, and the display layer is forbidden to add the QGraphics Items and ignore all interaction events.
2. The method according to claim 1, wherein the current display size of the first QGraphicsView window page as the control layer is automatically changed according to the added QGraphicsItem attribute.
3. A processing terminal, characterized in that it comprises:
a memory for storing program instructions;
a processor for executing the program instructions to perform the steps of the method for implementing synchronous scaling of electronic whiteboard content and background according to any of claims 1-2.
CN202310884746.2A 2023-07-18 2023-07-18 Method for realizing synchronous scaling of electronic whiteboard content and background and processing terminal Active CN116860138B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310884746.2A CN116860138B (en) 2023-07-18 2023-07-18 Method for realizing synchronous scaling of electronic whiteboard content and background and processing terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310884746.2A CN116860138B (en) 2023-07-18 2023-07-18 Method for realizing synchronous scaling of electronic whiteboard content and background and processing terminal

Publications (2)

Publication Number Publication Date
CN116860138A CN116860138A (en) 2023-10-10
CN116860138B true CN116860138B (en) 2024-02-09

Family

ID=88230242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310884746.2A Active CN116860138B (en) 2023-07-18 2023-07-18 Method for realizing synchronous scaling of electronic whiteboard content and background and processing terminal

Country Status (1)

Country Link
CN (1) CN116860138B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118034568B (en) * 2024-04-11 2024-08-27 荣耀终端有限公司 Handwriting input processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999332A (en) * 2011-11-14 2013-03-27 微软公司 Animation for display assembly generated by computer and of user interface and content item
CN111078169A (en) * 2019-11-29 2020-04-28 武汉虹信技术服务有限责任公司 Front-end device of visual large-screen system and construction method thereof
CN114020233A (en) * 2022-01-06 2022-02-08 广州朗国电子科技股份有限公司 Meeting whiteboard window mode writing adaptation method, system, device and medium
CN115079869A (en) * 2022-08-16 2022-09-20 长沙朗源电子科技有限公司 Rendering method and device of electronic whiteboard

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10404532B2 (en) * 2015-04-10 2019-09-03 Comcast Cable Commnications, LLC Virtual gateway control and management

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999332A (en) * 2011-11-14 2013-03-27 微软公司 Animation for display assembly generated by computer and of user interface and content item
CN111078169A (en) * 2019-11-29 2020-04-28 武汉虹信技术服务有限责任公司 Front-end device of visual large-screen system and construction method thereof
CN114020233A (en) * 2022-01-06 2022-02-08 广州朗国电子科技股份有限公司 Meeting whiteboard window mode writing adaptation method, system, device and medium
CN115079869A (en) * 2022-08-16 2022-09-20 长沙朗源电子科技有限公司 Rendering method and device of electronic whiteboard

Also Published As

Publication number Publication date
CN116860138A (en) 2023-10-10

Similar Documents

Publication Publication Date Title
US9069437B2 (en) Window management method, apparatus and computing device
US8952992B2 (en) Zoom processing device, zoom processing method, and computer program
US8194099B2 (en) Techniques for displaying digital images on a display
US9933935B2 (en) Device, method, and graphical user interface for editing videos
US7889212B2 (en) Magnifying visual information using a center-based loupe
US9071870B2 (en) System and method for viewing digital visual content on a device
CN116860138B (en) Method for realizing synchronous scaling of electronic whiteboard content and background and processing terminal
JPH06274586A (en) Displaying system
CN108228050B (en) Picture scaling method and device and electronic equipment
US9747010B2 (en) Electronic content visual comparison apparatus and method
WO2008064604A1 (en) Method and device for opening and closing image browsing window
CN105549934A (en) Display interface control method and system
CN107870795B (en) Method and device for displaying electronic map
CN105511712A (en) Method and device for showing picture
CN112083989A (en) Interface adjusting method and device
CN114564263A (en) Page layout adjusting method and device
CN105094584A (en) View scaling processing method and view scaling processing apparatus
CN111835972B (en) Shooting method and device and electronic equipment
US7212210B2 (en) Method and apparatus for enlarging an output display on a display
JP5376685B2 (en) CONTENT DATA DISPLAY DEVICE, CONTENT DATA DISPLAY METHOD, AND PROGRAM
CN116909505A (en) Display method, device, system and medium of self-adaptive visual area
CN115617225A (en) Application interface display method and device, electronic equipment and storage medium
CN110363832B (en) Subtitle generating method and device
CN103927094B (en) Information processing method, device and electronic equipment
CN110471595A (en) A kind of method and device of object scaling

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