updated for pyqt6#103
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR updates the codebase to use PyQt6 instead of PyQt5, modernizing the Qt framework dependency and updating all related imports and API calls.
- Updates PyQt dependency from PyQt5 to PyQt6 (>=6) in environment configuration
- Migrates all PyQt5 imports to PyQt6 equivalents across visualization, analysis, and UI components
- Updates Qt API calls to use PyQt6's enum-based approach for constants and properties
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| environment.yml | Updates PyQt dependency specification to require version 6 or higher |
| bioviz/viz.py | Migrates PyQt5 imports to PyQt6 and updates Qt constant usage to enum-based syntax |
| bioviz/qt_ui/rectangle_on_slider.py | Updates PyQt imports and color constants to PyQt6 equivalents |
| bioviz/biorbd_vtk.py | Changes PyQt5 imports to PyQt6 for QtWidgets and QtGui modules |
| bioviz/analyses/muscle_analyses.py | Comprehensive refactor with PyQt6 migration and enhanced muscle analysis functionality |
| bioviz/analyses/ligament_analyses.py | Updates PyQt imports and frame shape constant usage for PyQt6 compatibility |
| bioviz/analyses/c3d_editor_analyses.py | Migrates PyQt5 imports and alignment constants to PyQt6 enum-based syntax |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change is