tags:

views:

20

answers:

0

Hi .. my application has a QTableWidget with 2 columns. These columns can be re-sized by user or by routine.

I have a routine to resize these columns and columnResized event handler. This event gets called for each column. But when my routine is resizing it I want this handler to get called once I have resized both the columns. As my logic in columnResized event must use both column sizes for further use.

I am looking for something like "Suspend event firing" -> "Resize both the columns" -> "Resume Event firing".

Can someone guide me on how to achieve this in PyQt ? ..