ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

5 July 2022
2022-07-05×
5 July 2022
Ë
Or even set it! One HAS to carry an instance around to keep track of the checked state? Or you actually look under the .children() of the thing and get/set the checkbox 0: <PySide2.QtWidgets.QLabel(0x229ec6bd2b0) at 0x00000229800B0C40> 1: <PySide2.QtWidgets.QTextEdit(0x229ec6bcdb0) at 0x00000229800B0440> 2: <PySide2.QtWidgets.QCheckBox(0x229ec6bd8b0) at 0x000002298011DD00> 3: <PySide2.QtWidgets.QPushButton(0x229ec6bcff0) at 0x000002298011DA80> 4: <PySide2.QtWidgets.QGridLayout(0x229ef45e820) at 0x000002298011D940>
I suppose you could use findChildren to find it, but that'd be quite a hack, yep
F
what's your goal? It sounds like you want to do something custom with the checkbox, so why use QErrorMessage at all then?
Ë
yeah that seems bizzare and barely usable. More likeley one implements a version on its own
F
it seems to do exactly what it's intended to do, yet you want it to do something entirely different?
I was going through the standarddialogs example.
F
But the whole point of QErrorDialog is that it handles that thing itself, no?
But wouldn't you want to have access to the users decision to show that message again?
I mean maybe you could pickle the dialog instance somehow and save the whole thing to disk to make it persistant?
Ë
that's how it currently works. You'd need to keep THE one instance alive forever to make this work persistently. I'd rather store a single bit for that somewhere somehow.
F
But then access to the checkbox alone won't help you either, unless you want to reimplement the whole "messages already shown" logic, at which point you probably just should use your own thing.
Yeah I just tried to set the checkbox before showMessage that won't help. The Diaolg pops up with the checkbox unticked 😃
Ë
The simpledialogsexample seems to suggests that QErrorMessage is derrived from QMessageBox but the .checkBox() method is not even there although it would have been obvious.
S
Ссылка
click to show
Hi, I tested the freezing problem of qt on the touch screen in different versions of PySide. I shared the test results (videos) in the link. As you can see from the videos, PySide2-5.13.2 version does not have freezing problem. But in the latest versions of PySide2 and PySide6 the touch screen freezes. Thank you. PySide2-5.13.2 = https://www.veed.io/view/5210b05a-4d35-4788-9017-82dca381b9d2 PySide2-5.15.2.1 & PySide6-6.3.1 = https://www.veed.io/view/645f04ec-b389-4a43-97b2-a97eabf63685
Calendar: July 2022
MoTuWeThFrSaSu123274205206371829101113122131415416171811920721222324252627528293031
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