ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

сообщение · 2022-01-20 22:53 UTC
M
Ссылка
click to show
Hey, I want to visualise some data, which I get over network with a byte-wise protocol. So I handle this communication via Python itself. I want to update and create QML objects, where each QML object has its own Python(PySide6) object. So I am wondering, what is possible/best practice to do this? I read in the internet and following sites/articles: Using Slots/Signals https://stackoverflow.com/questions/39398730/qt-create-object-in-c-and-expose-to-qml This seems not very straight forward for me, it feels like more work and I have no glue, if or how I expose every single PySide6 object, maybe with the new QML_Element decorator? The other option is to create the objects from the backend https://doc.qt.io/qt-5/qtqml-cppintegration-interactqmlfromcpp.html I have the feeling, it is not very QML style and I will maybe loose control in QML? Can you give me some advises? Is there somewhere an example? What is best practice with PySide6? Thanks

All messages on 20 January 2022 · 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