Hi all,
I'm using Qt5 static build from sources on Windows XP. The QT Creator is 3.2.1.
I have added button on main window. Then i add QGroupBox around it.
The group box is enabled initially and not checkable.
I can't click it with the mouse. Only with the keyboard when button has focus.
I made the GroupBox to split the button in the middle.
The part which is covered with group box is not clickable.
There is enable attribute in .ui file.
The .h file contains the following:
groupBox->setObjectName(QStringLiteral("groupBox"));
groupBox->setEnabled(true);
groupBox
->setGeometry
(QRect(50,
10,
271,
111));
groupBox->setMouseTracking(false);
groupBox->setFocusPolicy(Qt::NoFocus);
groupBox->setAcceptDrops(false);
groupBox->setFlat(false);
groupBox->setCheckable(false);
groupBox->setChecked(false);
groupBox = new QGroupBox(centralwidget);
groupBox->setObjectName(QStringLiteral("groupBox"));
groupBox->setEnabled(true);
groupBox->setGeometry(QRect(50, 10, 271, 111));
groupBox->setMouseTracking(false);
groupBox->setFocusPolicy(Qt::NoFocus);
groupBox->setAcceptDrops(false);
groupBox->setFlat(false);
groupBox->setCheckable(false);
groupBox->setChecked(false);
To copy to clipboard, switch view to plain text mode
Does the groupbox changes the messages to it's child controls?
What is the problem?
Thanks,
Bookmarks