simulton / QSchematic

A library that allows creating diagrams such as flowcharts or even proper engineering schematics within a Qt application.
https://simulton.com
MIT License
231 stars 60 forks source link

how can i use this lib in my pyside6 project? #52

Closed PeaceZhang closed 3 months ago

PeaceZhang commented 9 months ago

Hello, Simulton Experts,

First thank you for you did this great job. I think this library is very suitable for autosar swc architecture design, and now i have a idea to develop a GUI for my opensource project:https://github.com/PeaceZhang/ArxmlTools. for the GUI solution, I want use Pyside6 to develop it. and i want integrate QSchematic to it.

So do you have any solution for this topic?

Best regards, heping,zhang

Tectu commented 9 months ago

Hi,

There are plenty of libraries written in C++ with a corresponding Python wrapper so you can use it from Python. Qt itself is a good example. Therefore, we're not aware of any reason as to why you couldn't use this QSchematic library with Python.

You'll have to write the Python wrapper but there are plenty of documentation, tutorials and examples out there on that subject.

bjornstromberg commented 7 months ago

i have not myself digged deep into it, but start digging from shiboken side https://doc.qt.io/qtforpython-6/shiboken6/index.html

no clue how much work it will be to generate the python interfaces but it should be possible as far as i have understood.