ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

сообщение · 2021-07-01 20:41 UTC
C
Replymessage unavailable
Well, sadly I cannot recall the exact case with a plain @Slot(), but as mentioned, using it allows you to add them to the QMetaObject at type parsing time, rather than when you connect a signal to it. (see long discussion here https://bugreports.qt.io/browse/PYSIDE-315 ), also implying hat the instance of the dynamic QMetaObject is the same as the application, there is a detail implementation that when we register the Signal-Slot connections, another instance of the QMetaObject is created. There seems to also be a requirement for Mixin Signals. Other perks come from the arguments, -@Slot(type) for specification on which slot to trigger (useful for QML too) - Some people rely on having a @Slot(name="something") then connecting a signal to something, and other arguments. Using the @Slot decorator also helps with solutions like Nuitka ( https://bugreports.qt.io/browse/PYSIDE-1589 )

All messages on 1 July 2021 · Whole feed · оригинал в Telegram

Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog