Home > Software engineering >  QT widgets, rounded selected corner only
QT widgets, rounded selected corner only

Time:01-18

I can set a QT QPushButton to rounded button by setting "border-radius" in style sheet, however i just want to set only the right edge (top and bottom right) corner of the button to rounded. How to do it?

CodePudding user response:

You can set border-top-right-radius and border-bottom-right-radius in style sheet.

  •  Tags:  
  • Related