genius... it works like a charm ! thank you.
now for the other part.. how do you think i should check and allow the context menu to appear only when i click on a TableWidgetItem?