QT Embedded Simultaneous Display via Paint Event Feedback
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In the QT Embedded system, frame buffer operations do not display simultaneously with the graphics, leading to poor user experience and errors due to non-synchronous updates.
Innovation Solution
A simultaneous display method is introduced, where a target QT paint event triggers a drawing function, which in turn triggers a predefined event to execute a frame buffer operation, ensuring that both display contents are shown simultaneously on the same display device.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If frame buffer operation is used to directly update display buffer, then display updating efficiency is improved, but display content synchronization with QT graphics deteriorates
Solution Approach 1:
The patent uses QT paint events as feedback signals to coordinate frame buffer operations with QT graphics rendering. When a paint event is detected, the system triggers frame buffer updates at the appropriate moment, creating a synchronized feedback loop that maintains both efficiency and synchronization.
Solution Approach 2:
The system performs preliminary actions by preparing frame buffer updates in advance of QT paint events. By pre-positioning the frame buffer operation to execute at the moment of paint event, the system ensures synchronization without waiting for QT rendering to complete.
2Stability of the object's composition
If QT double buffer method is used for graphics rendering, then graphics rendering stability is improved, but display updating speed deteriorates
Solution Approach 1:
The patent segments the display update process into two independent paths: QT graphics rendering through double buffer for stability, and frame buffer direct updates for speed. By segmenting these functions and coordinating them through paint events, the system achieves both stability and speed without compromise.
3Adaptability or versatility
If frame buffer operation executes independently from QT painting process, then operation independence is improved, but display content accuracy deteriorates
Solution Approach 1:
The paint event mechanism provides feedback that coordinates independent frame buffer operations with QT rendering. The system maintains operational independence while using paint events as synchronization feedback to ensure display content accuracy and prevent forward/backward display issues.
Data Source
AI summary
The present disclosure provides a simultaneous display method, system, and computer numerical control machine tool based on QT embedded. The method includes triggering a target QT paint event which displays a first display content; executing a drawing function corresponding to the QT paint event, and meanwhile, triggering a predefined first triggering event; wherein, the first triggering event is used to trigger a frame buffer operation to display a second display content, and the second display content and the first display content are contents required to be simultaneously displayed; displaying the first display content and the second display content simultaneously by a display device. The present disclosure can guarantee that the frame buffer operation is executed after executing the target QT paint event, to ensure that the frame buffer operation and QT embedded drawing are displayed simultaneously, avoiding displaying errors and improving the user experience.

