29 January 2021
id 701402967this depends in the size you passed as the first argument
anyway, show us minimal code to reproduce your issue,
I have added the lines related to it in the paste link..Lemme try to make a minimal code..Thanks for the quick response! 😊
id 371921595I have added the lines related to it in the paste link..Lemme try to make a minimal code..Thanks for the quick response! 😊
by "weird", you just mean it has low quality (pixelized)?
id 701402967by "weird", you just mean it has low quality (pixelized)?
Yes! It looks pixelated when I scale up..
id 701402967this will stick to your size, while keeping the scaling smooth (better interpolation quality)
pixmap.scaled(new_size, Qt.IgnoreAspectRatio,
Qt.SmoothTransformation)
I did try IgnoreAspectRatio but I got the same result. Did scaling in resizeEvent only to end up in a loop
id 371921595I did try IgnoreAspectRatio but I got the same result. Did scaling in resizeEvent only to end up in a loop
are you sure that you used Qt.SmoothTransofrmation?
if yes then nothing can help you, as probably the image source not the good quality, or it gets distorted while scaling.
another solution to paint the image your self by using QWidget as background, and painting the SVG icons inside it
id 701402967are you sure that you used Qt.SmoothTransofrmation?
if yes then nothing can help you, as probably the image source not the good quality, or it gets distorted while scaling.
another solution to paint the image your self by using QWidget as background, and painting the SVG icons inside it
Yes..I will try to again look into it in the morning ..If nothing works, I guess QWidget is the way to go. Thanks again for the help.
30 January 2021
31 January 2021
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
ëRiCIf you start off with Python already and you use Qt for Python on top of that... what would you want to add?
I think his problem is that he cannot make a software that will cover all the possible data analysis people might want to. With that in mind, he thought about using Qt for Python as a language/toolkit to be used by the intended public.
Elias Coutinho1 - 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 belo
I got it
id 1201656962Can Python be added as a scripting language for a pyside app or does it need to be C++?
A PySide app by definition is a Python script. It has PySide as an import but the host is Python.
You can do things vice versa and call Python from a C++ app. Personally, I think that is the wrong approach that gives you problems.