PDA

View Full Version : Connecting paintever to other widget?



marc2050
10th May 2011, 03:47
Hi.

I've 2 widgets in my application screen.

On the left is a list of items to choose. On the right, is the widget that draws the items based on what is chosen on the left. Now, the question is, how do I connect the left widget selection to the update of the paintevent on the right widget? If it is in the same widget, I could just call the update() function. But now the widgets are separate. How do you manually invoke another widget's paintevent or update?

Thanks!!
Marc

Lykurg
10th May 2011, 06:45
By using signals and slots?