yes it's possible to do that... read about QMenu classes to do the right click and<div>maybe visit here to other examples</div><div><br></div><div><a href="http://www.rkblog.rk.edu.pl/w/p/python/#3">http://www.rkblog.rk.edu.pl/w/p/python/#3</a><br>
<div><br><div class="gmail_quote">2011/8/22 Nader Abedrabbo <span dir="ltr"><<a href="mailto:aenader1@yahoo.com">aenader1@yahoo.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Greetings,<br>
<br>
I am new to PyQt.<br>
I am creating a GUI for a program I created in Python and I need to add a<br>
table with advanced functions in it. I am able to use QTableWidget to<br>
create the table, but there is no "right click" functionality to the table.<br>
I need to create a table to do these things:<br>
<br>
1. Right click to perform a Cut & Paste of data from Excel, clear data<br>
and so on that are usually available in other advanced softwares.<br>
2. The number of rows in the table should be dynamically adjusted to the<br>
number of data being pasted.<br>
<br>
<br>
Is that functionality possible in PyQt?<br>
<br>
Thanks,<br>
Nader<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://old.nabble.com/Adding-a-table-to-GUI-in-QT-Designer-tp32313584p32313584.html" target="_blank">http://old.nabble.com/Adding-a-table-to-GUI-in-QT-Designer-tp32313584p32313584.html</a><br>
Sent from the PyQt mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</font></blockquote></div><br><br clear="all"><div><br></div>-- <br><font color="#888888"><font color="#888888">Antonio Pe</font><span><font color="#888888">ñ</font></span><font color="#888888">a</font><span></span><br><font color="#888888">Secure email with PGP 0x8B021001 available at <a href="http://pgp.mit.edu" target="_blank">http://pgp.mit.edu</a><br>
</font></font><font color="#888888">
<font color="#888888">Fingerprint: 74E6 2974 B090 366D CE71 7BB2 6476 FA09 8B02 1001</font></font><br>
</div></div>