I have two ui-objects designed in the ui-builder. The first one is a custom QFrame class which overwrites the paintEvent method. This is the place where I want to draw pixmaps. In the vertical middle of the frame, there is a QSlider(second ui-object). The slider can be seen as a timeline for a media player. the frame has a height of 80px, the slider a height of 60px. From a file I read some special time points for every media files. At each timepoint I want to draw a pixmap above or below the slider. The pixmaps have a size of 10x34px.
The problem when I do this, that the drawn pixmaps are clipped around the slider area. I read the example customizing QSlider with stylesheets and discovered the two attibutes groove and handle. I tried different qss attributes like opacity or background-clip, but nothing seems to work.
Does anyone have any idee how to configure the painter that the drawn objects are onto the slider area of how to configure the stylesheet of the slider that it's area is translucent? Any proposal would be helpful!
Thx in advance Andreas