ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

snapshot for March 2022
‹ March 2022 ›×
25 March 2022
C
nope, usually I lost track in the middle of too many comments :) I guess in case if you want to get devs attention, a simple way (in case there is no response) is to open a Suggestion on JIRA
26 March 2022
Hi, How To Add this Effect ListView QML ?
Is anyone interested in helping me to make a "circos plot" in pure Qt for python ? It's great for those who love circles
28 March 2022
C
oh cool! thank you very much :) I think I can review it this afternoon 🎉 Regarding reviewers, better to always add 'pyside' and that will be a group that adds all the devs automatically ;)
I have created a custom QSortFilterProxyModel, I update it using a custom function. What is the way to have the filtering to 'start again'?
Should I emit a signal for filterAcceptRow to run again?
S
self.invalidateFilter() was the trick
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.
30 March 2022
I
Do you know how to transform a line to a circle ? For instance I have 3 rectangle aligned horizontally. I would like to align them around a circle. Do I need some math ? Or can I do it using QMatrix transformation ?
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