ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

snapshot for January 2021
‹ January 2021 ›×
29 January 2021
I
this depends in the size you passed as the first argument anyway, show us minimal code to reproduce your issue,
I didn't notice the second message while writing my first response,, let me check
I
this will stick to your size, while keeping the scaling smooth (better interpolation quality) pixmap.scaled(new_size, Qt.IgnoreAspectRatio, Qt.SmoothTransformation)
30 January 2021
I
Can SVG images be used instead of png or jpg? If so, I would suggest creating the image as vector and saving as svg image. Then it would scale to any size you need without becoming pixelated. I use Adobe Illustrator for that. Let me know if you need help with the image.
Ë
I don't think one can use SVG images straigt to QIcon (for some reason). But you can render it into a pixmap and pass that to the QIcon.
31 January 2021
E
Фотография
click to show
1 - In these buttons I am defining the height by CSS, but I think PySide5 must have some resource for this purpose. 2 - Another problem is the margins in the general context, I would like each object to be literally glued to the other, that is, without magens. What can I do? I have this code below:
I
Can Python be added as a scripting language for a pyside app or does it need to be C++?
Ë
🙃 PySide aka Qt for Python is a Python package. It runs only on Python. What problem do you want to solve?
I
I understand. I saw a video about an app created with Qt and they added python as a scripting language. I can’t anticipate every type of view or analysis I might want to perform on the data I want to bring into the app, so I thought if I could leave it somewhat open ended with a scripting language, it could be more flexible
Ë
If you start off with Python already and you use Qt for Python on top of that... what would you want to add?
R
The main software could be a C++ with Qt, where the extra data analysis would be made in python + qt if the user wants to.
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