So, I'd like to start by saying that PythonQt seems incredibly useful, but it does sadden me with it's lack of documentation. I'm trying to ascertain the difference between a decorator and a custom class wrapper, as per https://doc.qt.io/archives/qq/qq23-pythonqt.html, the PyCPPWrapperExample vs. PyDecoratorsExample. Is there an advantage to one over the other? They seem to be doing incredibly similar things, excapt that one requires an addDecorators call.
Thanks a bunch.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
So, I'd like to start by saying that PythonQt seems incredibly useful, but it does sadden me with it's lack of documentation. I'm trying to ascertain the difference between a decorator and a custom class wrapper, as per https://doc.qt.io/archives/qq/qq23-pythonqt.html, the PyCPPWrapperExample vs. PyDecoratorsExample. Is there an advantage to one over the other? They seem to be doing incredibly similar things, excapt that one requires an addDecorators call.
Thanks a bunch.