ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

snapshot for January 2024
‹ January 2024 ›×
26 January 2024
K
I think I'd create another signal that you use as a proxy for the accepted signal, and handle that instead. Then you can control when the dialog closes.
M
Dialog{ standardButtons: Dialog.Save | Dialog.Cancel
K
Actually in this case I guess it's standard dialog.
M
Probably you can, i always had struggles with the layout when I did
K
Can't you just add it to ButtonBox? That doesn't seem like it would affect layout.
I
I am loving qt. Concise, beautiful. But whats the real advantages of using a desktop instead a browser? Has specific cases of browser limitations? Apreciate links of materials to read.
27 January 2024
R
Good afternoon guys, how do I get the signal from a widget inside a QTableWidget using the setCellWidget method? I'm creating buttons dynamically in the table, in the Widget I'm passing QPushBotton without reference to make it dynamic, but I don't know how to get the signal for each button created, does anyone have any suggestions?
but for that I would have to instantiate the QPushBotton, and in that case it would not be dynamic
ex. tab = QTableWidget() tab.setCellWidget(r, 0, QPushBotton(text="Open")) Note: r is generated dynamically
R
ex2. btn=QPushBotton(text="Open") tab = QTableWidget() tab.setCellWidget(r, 0, btn) Note: in this scenario I can get the signal through the BRN, but it is not dynamic
R
In example 2 you could easily do this: btn.clicked.connect(function) but it would not be dynamic
28 January 2024
29 January 2024
R
Good morning, I managed to create the buttons dynamically, I was instantiating them in the constructor so it wasn't working, I had to instantiate them in the add button method, then it worked.
I
Can I use python database features in conjunction with qt slots and connections or is better use qt sql instead? And why?
30 January 2024
A
The goal was mainly to find a way without using Matplotlib event loop because it forces the MPL backend to Qt.
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