Re: [PyQt] Synchronized scrolling between two tables

2011-11-01 Thread Scott Price
According to the documentation: QTableView.scrollTo (*self*, QModelIndex *index*, QAbstractItemView.ScrollHint *hint* = QAbstractItemView.EnsureVisible) I assume you would have to create a QModelIndex based on the first tables' scrolled to record, and then feed it into the second table via a k

Re: [PyQt] Synchronized scrolling between two tables

2011-11-01 Thread Wolfgang Rohdewald
Am Dienstag, 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. > > Is that possible? yes. Ha

[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] PyQt4.Gui.QFileDialog

2011-11-01 Thread Andreas Pakulat
On 01.11.11 12:27:45, Janwillem van Dijk wrote: > I am sorry to say that this does not help either. On linux the > dialog shows until the sleep finishes on windows it exits as soon as > the button is clicked as expected. > For the time being I changed to traits. Bit heavy weight perhaps but > give

[PyQt] Localizing QDateEdit popup calendar

2011-11-01 Thread Joe Moudrik
Hello, I have a slight problem with QDateEdit. I want to use the popup calendar dateEdit.setCalendarPopup(True) to set the date. The popup hovewer ignores my locale (Czech) settings (set in both the QDateEdit and top widget as well) and shows everything in Englsh. Is it possible to set the locale

Re: [PyQt] PyQt4.Gui.QFileDialog

2011-11-01 Thread Hans-Peter Jansen
On Monday 31 October 2011, 08:07:00 Janwillem wrote: > I want a small script with just a few filedialogs not a full blown > gui application . However when I try the code below the dialog does > not disappear after clicking the Open button on the dialog but stays > on top until the script exits. Wh

Re: [PyQt] PyQt4.Gui.QFileDialog

2011-11-01 Thread Janwillem van Dijk
I am sorry to say that this does not help either. On linux the dialog shows until the sleep finishes on windows it exits as soon as the button is clicked as expected. For the time being I changed to traits. Bit heavy weight perhaps but give the opportunity to have a few other parameters convenie

[PyQt] pyqt vs pyside for desktop & Android development

2011-11-01 Thread Gour
Hello! We're starting with Python & Qt and plan to write multi-platform desktop app using Python+Qt technology. Moreover, we'd like to write 'lite' app for Android and wonder whether there is any support in PyQt for doing Python+Qt for this mobile OS? We've found this link http://thp.io/2011/pys