ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

сообщение · 2020-01-15 20:34 UTC
J
Hi, Hi can't make Qobject.findChildren work with delegate. qml ListView { width: parent.width height: parent.height model: [1,2,3,4,5] objectName: "blob" delegate: Button { objectName: "bla" height: 100 width: parent.width text:"mokok" + modelData onClicked: ddb.child(root) } }and on the python side, inside de ddb QObject : python @Slot(QObject) def child(self, un): print(un.findChildren(QObject, QRegExp('bla')))it retuns []. Using other objectName works well. I only have this matter with delegate not with other stuff. any idea on it ?

All messages on 15 January 2020 · 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