17 July 2024
ëRiCFor simple replacement you can also use Python built-in % notation
value_dict = {'rgb': (1,2,3)}
print('something: (%(rgb)s)' % value_dict)
ëRiCvalue_dict = {'rgb': (1,2,3)}
print('something: (%(rgb)s)' % value_dict)
oh yeah i did try this but i was getting frustrated dealing with escaping special characters and stuff
ëRiCYou can also use .format but that would need you to make double {{ for every literal {
yeah I was using fstrings at first
ëRiCI'm sticking with % notation as it simply doesn't break CSS highlighting :D
ill do this then, it seems perfect and one lesser import
18 July 2024
anya ♥Is there a group like this but for Qt C++?
in portuguese there's one - not sure about the other languages
anya ♥Is there a group like this but for Qt C++?
Ссылка
click to show
click to show
Search telegram group CplusplusQt
24 July 2024
Ссылка
click to show
click to show
okay so im having some trouble implementing a screenshot type feature in my app
so my app is essentially a system-wide colorpicker, you can see here how I grab the screen and how I use paintEvent to draw my widget:
https://github.com/transistxr/colorpycker/blob/main/src/colorpycker/floatingwidget.py
i want to make this work on wayland, i tried the d-bus implementation but
1) qt complains about recursive paint because im using an event loop inside an event loop?
2) it's really slow because it has to wait for a response instead of it being on-demand
I'm kind of stuck here and im p sure i don't know enough to move forward so ill need to be enlightened on how to figure this out and i might be missing something really fundamental
https://github.com/transistxr/colorpycker/blob/wayland_screengrab/src/colorpycker/screenshot.py
29 July 2024
QMediaPlaylist was removed and might be re-added https://code.qt.io/cgit/qt/qtmultimedia.git/commit/?id=5773f7214c7430a98dea3974c0597cb3ee0ea7f5
filing bug reports in JIRA https://bugreports.qt.io/projects/PYSIDE it doesn't matter if you end up opening a few, as long as you let us know the issues, we can try to fix them
id 6625631820Hello, how are you? I’m starting with PySide6 and wanted to know if you have any recommendations for Qt Designer tutorials. In English or Spanish, either is fine. Greetings from Argentina.
Hola Sebastián, glad to have you around.
We don't have a specific tutorial for the Qt Designers, which uses Widgets for an advance application, only https://doc.qt.io/qtforpython-6/tutorials/basictutorial/uifiles.html (please use Option A)
30 July 2024
shadow3d the tutorial was updated yesterday https://codereview.qt-project.org/c/pyside/pyside-setup/+/579365 it shold be available in the next release
Cristián 🥑shadow3d the tutorial was updated yesterday https://codereview.qt-project.org/c/pyside/pyside-setup/+/579365 it shold be available in the next release
Hi! Thank you!!! I’m going to check it out. I really appreciate all the information you gave me.