Re: [PyQt] Signal on Selection in QTreeView

2008-03-17 Thread Kevin Foss
Andreas, I am sorry but I am still not seeing the whole picture. I've been through my reference books as well as just about any page that exists online that talks about selection models and I just can't put 2 and 2 together. To show you my difficulties, I've tried to test this

Re: [PyQt] Signal on Selection in QTreeView

2008-03-17 Thread Andreas Pakulat
On 17.03.08 16:31:54, Kevin Foss wrote: >Your understanding seems to correct. I do not want to change the list > entries at this point. To confirm what you said, I do want to have the item > details of a list entry displayed in a separate widget when the user selects > the list entry. Pa

Re: [PyQt] Signal on Selection in QTreeView

2008-03-17 Thread Kevin Foss
Andreas, Your understanding seems to correct. I do not want to change the list entries at this point. To confirm what you said, I do want to have the item details of a list entry displayed in a separate widget when the user selects the list entry. Part of the explanation below was an ide

Re: [PyQt] Signal on Selection in QTreeView

2008-03-17 Thread Andreas Pakulat
On 17.03.08 13:31:01, Kevin wrote: > Andreas, > > The problem is that my connect statement does not call the appropriate > function. > > I've done some searching based on your recommendations, yet I have not > been able to find a basic example I can understand. > >Could you point me to a

Re: [PyQt] Signal on Selection in QTreeView

2008-03-17 Thread Kevin
Andreas, The problem is that my connect statement does not call the appropriate function. I've done some searching based on your recommendations, yet I have not been able to find a basic example I can understand. Could you point me to a simple example that would take a list with

Re: [PyQt] QSqlTableModel: how to check the UPDATE statement inside the model?

2008-03-17 Thread Sibylle Koczian
Am Dienstag, 11. März 2008 23:11:31 schrieb Hans-Peter Jansen: > Am Dienstag, 11. März 2008 schrieb Sibylle Koczian: > > Hello, > > > > somewhere in the QSqlTableModel code there must be SQL statements for > > UPDATE, INSERT and DELETE, to make the model editable. Right? I can't > > find methods to

no cookie :-( (Re: [PyQt] QtDBus not wrapped, trouble using dbus-python (communication hangs))

2008-03-17 Thread Adeodato Simó
* Adeodato Simó [Fri, 14 Mar 2008 10:55:15 +0100]: > * Jim Bublitz [Thu, 13 Mar 2008 15:41:30 -0800]: > > Setting some of the fields in KAboutData also sets some info that DBus uses > > (name, domain info?) - setting it incorrectly (like putting the .py > > extension > > on the name) also caus

Re: [PyQt] Signal on Selection in QTreeView

2008-03-17 Thread Andreas Pakulat
On 17.03.08 10:22:05, [EMAIL PROTECTED] wrote: > Hi, > I'm trying to use a list that contains a media library react to a user > clicking on an item in the list. When clicked, the details of the item would > show up in a GroupBox elsewhere on the screen. However, at this time I'm a > little s

[PyQt] Signal on Selection in QTreeView

2008-03-17 Thread fossks
Hi, I'm trying to use a list that contains a media library react to a user clicking on an item in the list. When clicked, the details of the item would show up in a GroupBox elsewhere on the screen. However, at this time I'm a little stumped on Lists/Trees/Models/Views. I'm including the

Re: [PyQt] newbie question about events without a signal/slot(?)

2008-03-17 Thread Andreas Pakulat
On 17.03.08 14:28:44, [EMAIL PROTECTED] wrote: > now i want to react to the 'QLineEdit.focusInEvent', but i don't know how > this works. just defining a 'def focusInEvent' didn't work and there's is no > signal for this event?! You need to write a QLineEdit subclass which than defines that funct

[PyQt] newbie question about events without a signal/slot(?)

2008-03-17 Thread listen
hi, i'm brandnew to (Py)Qt and have a question i couldn't find an answer to by reading in the reference. i have this very easy piece of code: --- #!/usr/bin/env python import sys from PyQt4.QtCore import * from PyQt4.QtGui import * class Form(QDialog): def __init__(self, parent=None):