Home > Software engineering >  Design with QSS Qlabel is rounded corners, but when to display images in pictures or right Angle how
Design with QSS Qlabel is rounded corners, but when to display images in pictures or right Angle how

Time:09-17

Design with QSS Qlabel is rounded corners, but when to display images in pictures or how to solve rectangular
QSS code
QLabel {
Border - width: 5 px 5 px 5 px 5 px;
Border - style: solid;
Border - color: RGB (76,76,76);
Border - the radius: 15 px;
}
Code v
UI. Label_3 - & gt; SetScaledContents (true);
UI. Label_3 - & gt; SetPixmap (QPixmap (" D: \ \ resource \ \ test4 PNG "));

Show pictures or right-angle great god how the solution

CodePudding user response:

Use PS pictures instead of rounded corners,

CodePudding user response:

May be your picture name what part of not good, can give the picture to add a class or id to add style

CodePudding user response:

reference 1st floor zhao4zhong1 response:
with PS pictures instead of rounded corners,


Can use the code images into rounded corners

CodePudding user response:

refer to the second floor CSDNWJJ response:
name may be your picture which part of not good, can give the picture to add a class or id to add style


Don't know much about

CodePudding user response:

The same problem, the building Lord solved?
I can't use the method of PS, because use camera to capture video frames, need real-time display,

CodePudding user response:

In this paper, the four and the window background color the same rounded cover video four angles,
  • Related