ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

snapshot for April 2021
‹ April 2021 ›×
C
the only necessary change I see is the pyqtSignal to Signal that you need to do.
GIF
动画.gif.mp4 · 30 KB · click to show
Please share code using pastebin/dpaste/etc or something, it's a pain to read/understand it here if you just paste it as a message
Thank you for reply, pycharm code snippet and source address, running effect, I have sent it, I'm sorry for don't know what better code sharing method.
I can reproduce, but I'm more surprised by PyQt5's behavior than by PySide2's
F
if you introduce your own valueChanged signal with a different purpose, you might want to name it differently to the one coming from QSlider
B
Is there other ways to implement a delayed value QSlider, I don't want the user to send a large number of requests when they drag the Slider, because the background involves IO operations.
Just rename your signal to delayedValueChanged or whatever
F
Right now you have the original valueChanged from Qt and your own valueChanged
B
It works, thanks a lot, I thought I must modify the default valueChanged signal to take effect. 😭
I
GIF
markup_pyside6.gif.mp4 · 79 KB · click to show
Weekend fun: The power of Python and rich-features of Qt/PySide6 allow us to make our own markup Syntax :-D if PySide6 adds the support for Qt6 property binding, we could do real declarative syntax without hacks :-D
C
Please use external services to share code, like pastebin, dpaste and others
Calendar: April 2021
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