[PyQt] Adding a table to GUI in QT Designer

2011-08-22 Thread Nader Abedrabbo
Greetings, I am new to PyQt. I am creating a GUI for a program I created in Python and I need to add a table with advanced functions in it. I am able to use QTableWidget to create the table, but there is no "right click" functionality to the table. I need to create a table to do these things

Re: [PyQt] Adding a table to GUI in QT Designer

2011-08-24 Thread Nader Abedrabbo
hen 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 c

[PyQt] Synchronized scrolling between two tables

2011-11-01 Thread Nader Abedrabbo
Greetings, I have a program where two tables are shows next to each other. One program is used to get user data, while the second table is used to show the results of the data after certain calculations are performed on the original data (via a calculate button). The list of data in the table

Re: [PyQt] Synchronized scrolling between two tables

2011-11-02 Thread Nader Abedrabbo
1. November 2011, 14:02:48 schrieb Nader Abedrabbo: >> What I would like though is a synchronized scrolling of the two tables, >> i.e. >> if I scroll the first table, then the second table should scroll to the >> same view (same row level) as the first table. >>

Re: [PyQt] Synchronized scrolling between two tables

2011-11-02 Thread Nader Abedrabbo
liderValue) def main(): app = QApplication(sys.argv) w = MyWindow() w.show() sys.exit(app.exec_()) if __name__ == "__main__": main() ##### Nader Abedrabbo wrote: > > Greetings, > > I have a program where two tab