Hierosme

Results 131 comments of Hierosme

The better is to create our, that not take a tonne of time. I 'll send screenshoot's during my try.

After hours of try, import image and scale to max size is really hard to do. I have better result by use QPainterPath and Gradient. ![image](https://github.com/helloSystem/Utilities/assets/56162977/ba5b423b-64dc-424b-b552-9dc26cd7c41e)

More rounded ![image](https://github.com/helloSystem/Utilities/assets/56162977/57be6fb2-0725-4fd8-9d7f-7e1cac3d4652)

![image](https://github.com/helloSystem/Utilities/assets/56162977/e89ef51b-7a1c-4a8c-bcdf-66c75d6c8d0e) Here the code ``` python if not self.state_pressed: gradient = QLinearGradient(0, 0, 0, self.height() * 4) gradient.setColorAt(0.0, Qt.white) gradient.setColorAt(0.06, self.color()) gradient.setColorAt(0.7, Qt.black) else: gradient = QLinearGradient(0, 0, 0, self.height()...

Basic Layout ![image](https://github.com/helloSystem/Utilities/assets/56162977/cbbe9a49-b304-422d-9f95-2472162d8630) Scientific Layout ![image](https://github.com/helloSystem/Utilities/assets/56162977/5108bc4a-cfc8-4659-b3ae-30466740c455) Yes it can controle the size ...

But look at me thaat cosine of 42 !!! ![image](https://github.com/helloSystem/Utilities/assets/56162977/d4643972-a195-4e14-b743-5d64c54162ac) @louies0623 If you have color suggess for scientific layout. What about the Display gradient ?

i recommand to use **os.path.join(toto, titi)** and not str concatenation like **str(toto + "/" + titi)**. That is more robust and cross platform (The goal of the OS module). If...

`os.path.join(os.path.dirname(__file__), "Grab.png")` pure style. like : ``` python msg.setIconPixmap( QPixmap(os.path.join(os.path.dirname(__file__), "Grab.png")).scaled( 48, 48, Qt.KeepAspectRatio, Qt.SmoothTransformation ) ) ``` @louies0623 is it possible make it improvement ?

> @Hierosme Could you please replace "os.path.dirname" directly with "os.path.join"? For example, this paragraph. This `self.setPixmap(QtWidgets.QWizard.BackgroundPixmap, QtGui.QPixmap(os.path.dirname(__file__) + '/Welcome.png'))` to `self.setPixmap(QtWidgets.QWizard.BackgroundPixmap, QtGui.QPixmap(os.path.join (__file__) + '/Welcome.png'))` If fact no: os.path.join() join...

Any news of it pull request ? @louies0623 have make a huge work and a merge is require from my point. The image path it not a trouble, i can...