ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

сообщение · 2021-05-01 19:57 UTC
A
Replymessage unavailable
@Slot(str, str, str, result=None) result parameter is the return type other positional arguments are the data types of the arguments that will be used to typecast the data from qml when the slot is called Suppose you want to call this slot from qml : // lets say myFunc returns an integer x = myFunc("testStr", 123); The respective slot annotation(or decorator if you wish to call it that) should be like this @Slot(str, int, result=int) def myFunc(self, arg1, arg2): # Here arg1 is "testStr" # And arg2 is 123 return 3.141

All messages on 1 May 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