Let me first say I've been using this forum passively for a while now and it has proved to be an invaluable resource in solving the majority of my PyQt questions. Now onto my main problem... I am currently developing an application that allows the user to distribute a frame sequence (3d rendering) across multiple computers for rendering. This application allows the user to not only view the current frames being rendered but also the connected hosts. Initially I was going to use a set of menus and buttons to control the tables then I realized it made more sense to create a right-click drop down menu. My main problem is that I cannot figure out a few things:

1.) ONLY popup the drop down menu IF it is over one of the table widgets (or perhaps more specifically, any row)
2.) Create individual menu sets for each table widget.
3.) Menu sets are based off of current information. For example, if the host is inactive you can only activate the host. (this is easy using if/else statements, I just need the get #1/2 working)

Other Items:
1.) If you don't know anything about PyQt please answer anyway as most of the information will carry over to Python.

2.) The gui was created using Qt Designer so all widgets are referenced using self.ui.<widget_name>

Thank you in advance for your help!