What's the equivalent c++ code for border-radius in qss?
Unsolved
General and Desktop
-
You can set the border radius for a QWidget with stylesheet:
border-radius: 6px;
but if you want implement it only using c++ ( no setStylesheet() ), it find out to be too complicated(, on my opinion)!
so, is there a simple to achieve it?
or on the other hand, can we achieve it by using QProxyStyle without reimplementing many draw*() functions?