ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

29 March 2022
2022-03-29×
29 March 2022
You can use the method .item(int) on your QListWidget to get the item on a specific row.
depends on the custom QWidget and the attributes you set there
QListWidgetItem doesn't know its position on the QListWidget, so the only non-optimal approach will be for you to iterate all the items on the ListWidget, and find the proper index
or...you create an additional map to store that, for example a dictionary that contains the row index (from QListWidget) and the QListWidgetItem index as value
then you can look that up, but I'm not sure if it's better :/
if you can access the item, then access to the properties that you would do with any object. What's the problem?
what's the 'image' you use in update_image_label ? a dictionary?
(also keep in mind this is a channel/group for PySide, as the title states, not PyQt)
and what's the error when you access self.images[image["image_index"]].score ?
then that's not possible I'd say
I'd use a View/Model approach, but that will require you to understand the implementation, and change the current implementation to adapt on how a model works
the View are widgets. If you are using qlistwidget, then use qlistview with a custom model. Please be aware it's not just replace the name, you need to do more things.
Calendar: March 2022
Archive by month
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