Menu

filtering sported slots/signals

Help
2019-01-20
2019-01-20
  • Miguel Angel

    Miguel Angel - 2019-01-20

    Hi, sorry for asking a noob question, but is there any way to filter out some of the slots/signals in the class to avoid them being exported to py? i.e. I would like to remove the QObject slots for clarity.
    thanks in advance!!

     
  • Florian Link

    Florian Link - 2019-01-20

    No, that is currently not implemented. You could expose non-QObject C++ objects and write wrappers/decorator classes for them. Or you could modify PythonQtClassInfo to stop inheritance traversal before QObject.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.