Hello!
I have created a QGroupBox but there is no frame. I have looked in the documentation and tried several things but I cannot succeed in making the frame appear.
Thank you!
Here is the piece of code I have written:
QGridLayout *widgetLayout=new QGridLayout();
QGridLayout *groupBoxLayout=new QGridLayout();
QGroupBox *gb=new QGroupBox("test");
QLineEdit *le=new QLineEdit();
groupBoxLayout->addWidget(le,0,0);
gb->setLayout(groupBoxLayout);
layout->addWidget(gb,0,1);
setLayout(layout);
Bookmarks