ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

сообщение · 2019-12-31 17:48 UTC
U
So, I finally have a proof-of-concept now. The code is kind of messy currently cause I've tried so many things to get it work. In two words: to be able to directly invoke methods of the internal model (`QObject`-derived element inside a ListView`) I define property of my custom registered type and then simply reference it in QML handlers (such as `onClicked`). The tricky part was to add `result argument in Slot definition, otherwise the call returns nothing. And to emit a signal from the Python internal model and catch it in QML ListView element I've used a straightforward signal: Connections { target: listItem // this is a property representing a single list element onLogAdded: { log.append(message); } }

All messages on 31 December 2019 · 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