PDA

View Full Version : Border radius cannot be fixed on main widget..



Pereubu2018
11th July 2018, 14:23
Here is my main setup:
TestCamer1::TestCamer1(QWidget *parent)
: QMainWindow(parent)
{
ui->setupUi(this);
…

}

I have set border-radius on my QWidget :
border-radius: 10px; (in StyleSheet). Here is what I have:



It seems that I have something behind QWidget where I have to make same setting. But what is that? Am I missing something? On QMainWindow (qt Designer) I do not have, where to modify stylesheet..