Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Enabling an initially disabled QWidget

$
0
0
Hi, this might be a very basic question but it drives me nuts and I can’t find any useful information. I have three QGroupBox objects which are not enabled in the Qt designer (disabled at application startup). This is intended since i want to enable them at runtime. mUi.groupBoxSignalSettingsSmoothingRotationZ->setEnabled(true); This call during app runtime to enable these Widgets does not actually enable them, they remain grayed out and disabled. Here comes the best part, when I enable these 3 widgets in the designer and disable them during runtime things work normally. The widgets enable and disable as intended. What am I missing here? Thx for your help.

Viewing all articles
Browse latest Browse all 18427

Trending Articles