Skip to content

Implement pyside6 style properties #1275

@nstelter-slac

Description

@nstelter-slac

What's the problem this feature will solve?

need to implement pyside6 'property' declarations alongside the pyqt5 way.

pyside6 property declarations should be done like this: https://doc.qt.io/qtforpython-6/PySide6/QtCore/Property.html

i think this should also fix the rendering issues with examples/drawing/drawing_demo.ui (should render the same as pyqt5)

Describe the solution you'd like.

for now, the code should support pyqt5 or pyside6 properties (https://doc.qt.io/qtforpython-6/PySide6/QtCore/Property.html) depending on what wrapper is currently enabled (set by QT_API=...)

this probably will have to be done using qt-wrapper conditional checks as are already in the codebase:
if ACTIVE_QT_WRAPPER == QtWrapperTypes.PYSIDE6: etc...

Additional context.

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions