Skip to content

Migrate UI framework from DearPyGUI to PySide6#510

Closed
Copilot wants to merge 13 commits intomainfrom
copilot/refactor-cvstudio-in-pyside6
Closed

Migrate UI framework from DearPyGUI to PySide6#510
Copilot wants to merge 13 commits intomainfrom
copilot/refactor-cvstudio-in-pyside6

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 18, 2026

Replaces DearPyGUI with PySide6 (Qt) as the default UI framework. Core node editor functionality is complete; individual node implementations require adaptation in future work.

Implementation

Node Editor (node_editor/pyside6_node_editor.py)

  • QGraphicsView-based canvas with QGraphicsScene
  • GraphicsNode (QGraphicsItem) with input/output NodeSockets
  • NodeConnection using QPainterPath for Bezier curves
  • Export/import with validation

Main Application (main.py)

  • Initializes node factories from directory (234 nodes discovered)
  • Menu system populated dynamically by node type
  • File I/O via QFileDialog
  • Original DearPyGUI version preserved in main_dearpygui.py

Architecture

PySide6NodeEditor(QGraphicsView)
  └── QGraphicsScene
      ├── GraphicsNode(QGraphicsItem)
      │   ├── NodeSocket (input/output connection points)
      │   └── QGraphicsProxyWidget (for embedding Qt widgets)
      └── NodeConnection(QGraphicsPathItem)

Current State

Working:

  • Node creation from menus
  • Visual node positioning and connections
  • Pan/zoom navigation
  • Graph serialization

Phase 2 (not in this PR):

  • Node instance integration with processing logic
  • Parameter widgets (sliders, inputs, etc.)
  • Data flow execution pipeline

Example Usage

# PySide6 (default)
python main.py

# Legacy DearPyGUI
python main_dearpygui.py

# Demo
python demo_pyside6.py

Files

  • main.py - Now uses PySide6
  • main_dearpygui.py - Original DearPyGUI implementation (backup)
  • node_editor/pyside6_node_editor.py - Node editor implementation
  • demo_pyside6.py - Demo script
  • Documentation updated (README.md, PYSIDE6_MIGRATION_GUIDE.md, PYSIDE6_MIGRATION_SUMMARY.md)

Dependencies

requirements.txt already contained PySide6>=6.4.0; no dependency changes needed.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 7 commits February 18, 2026 11:26
…UI conversion

Co-authored-by: hackolite <826027+hackolite@users.noreply.github.com>
…guide

Co-authored-by: hackolite <826027+hackolite@users.noreply.github.com>
… status

Co-authored-by: hackolite <826027+hackolite@users.noreply.github.com>
…imeline consistency

Co-authored-by: hackolite <826027+hackolite@users.noreply.github.com>
…yside6

[WIP] Refactor CVstudio to use PySide6
Copilot AI and others added 6 commits February 18, 2026 11:42
Co-authored-by: hackolite <826027+hackolite@users.noreply.github.com>
Co-authored-by: hackolite <826027+hackolite@users.noreply.github.com>
Co-authored-by: hackolite <826027+hackolite@users.noreply.github.com>
Co-authored-by: hackolite <826027+hackolite@users.noreply.github.com>
…mprove TODOs

Co-authored-by: hackolite <826027+hackolite@users.noreply.github.com>
Co-authored-by: hackolite <826027+hackolite@users.noreply.github.com>
Copilot AI changed the title [WIP] Refactor CVstudio using PySide6 Migrate UI framework from DearPyGUI to PySide6 Feb 18, 2026
Copilot AI requested a review from hackolite February 18, 2026 11:51
@hackolite hackolite closed this Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants