QT 2D Graphic View Flowchart Generation for Cross-Platform Development
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Flowchart software based on Microsoft Foundation Classes (MFC) has limited expansibility and is restricted to Windows operating systems, requiring third-party database support, which hinders cross-platform development and necessitates the development of a software that can generate flowcharts without relying on third-party installations.
Innovation Solution
A flowchart generating method and apparatus utilizing the QT 2D graphic view architecture, which supports cross-platform development by designing main processes and sub-modules with event broadcasting capabilities, allowing for zooming, rotating, and precise interaction, enabling the creation of flowcharts without the need for third-party software installations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If flowchart software is based on MFC, then it can provide flowchart design functionality, but it is restricted to Windows operating system and has limited expansibility
Solution Approach 1:
The patent applies universality by replacing MFC with QT framework, which provides cross-platform capabilities. The QT framework allows the flowchart software to run on multiple operating systems (Windows, Linux, macOS) without requiring separate versions, thus achieving multi-functionality and broad adaptability while maintaining a unified codebase.
Solution Approach 2:
The patent introduces QT as an intermediary layer between the flowchart design functionality and the operating system. This intermediary framework abstracts the underlying OS differences, allowing the application to interact with various operating systems through a unified interface, thereby resolving the platform restriction issue.
2Adaptability or versatility
If third-party database support is required, then flowchart functionality can be enhanced, but installation complexity increases and portability decreases
Solution Approach 1:
The patent extracts the database dependency from the core flowchart functionality. By using QT's built-in data handling capabilities and SQLite integration, the solution removes the requirement for third-party database software installation. The database functionality is integrated directly into the application, eliminating the need for separate database installations and reducing deployment complexity.
3Productivity
If QT 2D graphic view architecture is used, then cross-platform development is enabled and resource usage is reduced, but implementation complexity increases
Solution Approach 1:
The patent applies segmentation by dividing the flowchart software into distinct modules using QT's object-oriented architecture. The main process, sub-modules, and graphic view components are separated into independent, reusable units. This modular approach manages implementation complexity by organizing code into manageable segments while maintaining cross-platform capabilities through QT's standardized interfaces.
Data Source
AI summary
The present disclosure discloses a flowchart generating method including steps of: designing a main process and a sub-module of a flowchart; wherein the main process includes a main process start, a sub-module port, and a main process end. The sub-module includes a sub-module node, and the sub-module node includes a sub-module entry node, a sub-module exit node, and a sub-module interrupted node; establishing a connection relationship between the sub-module and the sub-module port. The present disclosure may support cross-platform development. Therefore, resources depended by the present disclosure may be reduced, and a third-part software may not be installed.


