@markleo
PySide is not a language. It's just a bunch of Python code bindings to Qt functions written in C++. So your question is just about Python. To which you have answered that "Python is a weakly - typed language".
But the window does get resized when using more text, below is a demonstration of the same window being rendered with different amounts of text in the label
image.png
The text does resize the window dynamically but does it to a wrong size
As it is an issue of the underlying Qt library unrelated to the Python bindings it would have to reported under QTBUG though ( see https://wiki.qt.io/Reporting_Bugs / https://wiki.qt.io/Qt_for_Python/Reporting_Bugs ).
@markleo
For IPC you have shared memory, TCP sockets, named pipes, for parent/child processes stdin/stdout, or specifically Qt Remote Objects. All available from Qt and Python.
It looks exactly like the bug reported there and it says it was fixed.
I think we are ok to use Pyside6 without the addons for now. Everything works and I do not think we are missing any functionality. I reported it here as it looks like a bug and I thought it should have been reported and addressed in the future releases of PySide.
Using option A is not an option for us. we have an old pipeline with hundreds of .ui files dynamically loaded all over the place. It is also a very convenient way to build interfaces and I'm not sure why anyone would want to add an extra step and generate the python classes manually.
@markleo
https://qfluentwidgets.com/pages/designer/
I cannot imagine that Qt Designer would document, explain or tutorial on that third-party app, it would be up to the third-party to do so, as per the link.
@markleo
As @Pl45m4 has said. PyQt and PySide are so similar that there is no reason why you should not create a PySide project and then just substitute PyQt for PySide everywhere it occurs. Plus project templates are really only a couple of files and lines of code, once you've seen one you are not missing out if you just write/copy in the few lines.
Hi and thanks for your welcome.
Good question, I'm trying to create Qt bindings for Ada language.
Some attempts with C++ were failing due to some C++ subtleties.
But Python provides C API which I can used easily with Ada.
I provide some very first Qt bindings for Ada.
But class inheritance is still in Python.
I wanted to make them full Ada. I'm able to instantiate a class inherited from QRasterWindow (for instance) but a call to the method metric (for instance) provoques a seg fault.
(for simplicity I post the code in C)
It seems you would need an item on top of your images that you would paint transparently and then use something like QPainterPath to create the shape for your selection. The QGraphicsPathItem might be enough for your needs.
One strange thing is that the error shown is invalid Python. As @JonB suggested, check the exact difference between the two files. Especially if you set this property.