[PyQt] Adding a table to GUI in QT Designer
    Nader Abedrabbo 
    aenader1 at yahoo.com
       
    Wed Aug 24 15:06:48 BST 2011
    
    
  
Thanks Tony. 
I was able to add a context menu to the table with the functionality I need
and now can Cut&Paste from excel to my code with no problems.  
One issue I still have is that I have 4 tabs in my program and each tab has
its own table.  In order to cut and paste to the correct table (with its
associated name) I am having to re-write the code for each table
individually, which I know is redundant and bad programming, but I don't
know a way around it. 
To solve this problem, is there a way for the program to: 
1. Track the location of the mouse in the program and when it is located
ONLY over a table to activate the QMenu context menu; 
2. When it is located over a certain table to report the name of that table
back? 
That way I could simplify my code. 
Thanks, 
Nader Abedrabbo
yes it's possible to do that... read about QMenu classes to do the right
click and
maybe visit here to other examples
http://www.rkblog.rk.edu.pl/w/p/python/#3
2011/8/22 Nader Abedrabbo <aenader1 at yahoo.com>
>
-- 
View this message in context: http://old.nabble.com/Adding-a-table-to-GUI-in-QT-Designer-tp32313584p32326763.html
Sent from the PyQt mailing list archive at Nabble.com.
    
    
More information about the PyQt
mailing list