Re: Widget does not update
If the CircleParameter widget is inside a layout, calling resize() will not work. You have to set a fixed size for your widget.
The paint event probably doesn't get called because the widget size is (0, 0).
Try printing this->size() in setRadius. It will most likely be (0, 0);
Re: Widget does not update
Quote:
Originally Posted by
marcel
If the CircleParameter widget is inside a layout, calling resize() will not work. You have to set a fixed size for your widget.
I did not know about this behaviour of widgets in a layout. It works now. Thank you very much for your help!