Re: [PyQt] Passing text from MainWindow to popup Dialog

2011-03-22 Thread Entity Reborn
Store your popup as a variable in the main dialog class, (self.popup = MyPopup()), and then later you can access that dialog using self.popup from your main form. On Mar 22, 2011, at 2:39 PM, James Polk wrote: I have a scenario where my MainWindow needs to call and display a popup Window...and

Re: [PyQt] Issue with selected cells in a QTableView

2011-03-22 Thread Vicent Mas
On 2011-03-22 "Hans-Peter Jansen" said: > On Tuesday 22 March 2011, 20:50:18 Vicent Mas wrote: > > 2011/3/22 simozack : > > > 2011/3/22 Vicent Mas : > > >> it is explained in my second mail of this thread. Vincent Van de > > >> Vyvre asked exactly the same. If it is not clear enough I can > > >>

Re: [PyQt] Issue with selected cells in a QTableView

2011-03-22 Thread Hans-Peter Jansen
On Tuesday 22 March 2011, 20:50:18 Vicent Mas wrote: > 2011/3/22 simozack : > > 2011/3/22 Vicent Mas : > >> it is explained in my second mail of this thread.  Vincent Van de > >> Vyvre asked exactly the same. If it is not clear enough I can > >> explain it again. But let me insist, even if my scrip

Re: [PyQt] Passing text from MainWindow to popup Dialog

2011-03-22 Thread Hans-Peter Jansen
On Tuesday 22 March 2011, 22:39:12 James Polk wrote: > I have a scenario where my MainWindow needs to call and display > a popup Window...and while the window is open, processing continues > in the main application, and during processing needs to send a string > or two of text to the popup dialog.

[PyQt] Passing text from MainWindow to popup Dialog

2011-03-22 Thread James Polk
I have a scenario where my MainWindow needs to call and display a popup Window...and while the window is open, processing continues in the main application, and during processing needs to send a string or two of text to the popup dialog. I know how to call and display the popup window/dialog,..an

Re: [PyQt] Issue with selected cells in a QTableView

2011-03-22 Thread Pavel Brych
Hi Vicent, I thing you are clear enough. When I run your code and tried to reproduce your problem, I noticed that selection is actually right, only cells are not repainted to visualize this new selection, because in your TableView.updateView() method you disconnecting all slots from selectionChang

Re: [PyQt] Issue with selected cells in a QTableView

2011-03-22 Thread Vicent Mas
2011/3/22 simozack : > 2011/3/22 Vicent Mas : > >> it is explained in my second mail of this thread.  Vincent Van de >> Vyvre asked exactly the same. If it is not clear enough I can explain >> it again. But let me insist, even if my script was purely an academic >> exercise, without practical inter

Re: [PyQt] Issue with selected cells in a QTableView

2011-03-22 Thread simozack
2011/3/22 Vicent Mas : > it is explained in my second mail of this thread.  Vincent Van de > Vyvre asked exactly the same. If it is not clear enough I can explain > it again. But let me insist, even if my script was purely an academic > exercise, without practical interest, *if it exposes a PyQt4

Re: [PyQt] Long running processes, threads, progress dialog

2011-03-22 Thread Hans-Peter Jansen
On Tuesday 22 March 2011, 04:27:14 Catriona Johnson wrote: > Hello > > I have a GUI application that occasionally has a number of long > running processes - eg data deletions , html report generation. > > I have a custom progress widget that displays a spinning icon (my > client didn't like the Qt

Re: [PyQt] Issue with selected cells in a QTableView

2011-03-22 Thread Vicent Mas
2011/3/22 simozack : > *Sorry, I answered with a private e-mail* > > 2011/3/17 Vicent Mas : > >> can somebody help me with this problem, please? I've spent several >> days thinking about it but I still don't know if it is a bug (as I >> believe) or not and I have not a fix, not even a workaround. >

Re: [PyQt] Issue with selected cells in a QTableView

2011-03-22 Thread simozack
*Sorry, I answered with a private e-mail* 2011/3/17 Vicent Mas : > can somebody help me with this problem, please? I've spent several > days thinking about it but I still don't know if it is a bug (as I > believe) or not and I have not a fix, not even a workaround. Hi Vincent, It works fine if

Re: [PyQt] sip bug wrapping protected enum in ABC

2011-03-22 Thread Phil Thompson
On Tue, 22 Mar 2011 02:42:37 +, Demetrius Cassidy wrote: > With a simple class definition like the following, it seems that SIP tries > to wrap SIPTransaction::States using a sip generated class, but of course > that class is not created for ABCs. I am using the latest SIP snapshot, SIP > 4.12