Yep, that's cooperating :)
I've already gone another route but still good to know.

I've put your findings on the github issue as well (hope you dont mind)

Greetz
Philipp


> Simon Anderson <[email protected]> hat am 6. Mai 2013 um 15:21
> geschrieben:
> 
>  just did a test and it seems that if you have a blank combo box it doesn't
> work, but when there are a few items in it, it seems to work correctly once
> the combo box has been selected.
>  using the standard released build.
> 
>  give it a try and let me know if it still doesn't co-operate.
> 
>  My thought is that if you don't delegate a string item it doesn't know what
> is meant to be in the QCombox, that is why keyboard input doesn't work.
>  Cheers
> 
>  from PyQt4 import QtGui, QtCore
>  import sip
>  si = Application
>  sianchor = sip.wrapinstance(long(si.getQtSoftimageAnchor()), QtGui.QWidget)
> 
>  dialog = QtGui.QMainWindow(sianchor)
>  uiComboBox = QtGui.QComboBox(parent=dialog)
>  uiComboBox.setFocusPolicy(QtCore.Qt.StrongFocus)
>  uiComboBox.setEditable(True)
>  uiComboBox.addItem("test")
>  uiComboBox.addItem("zzz")
>  dialog.show()
> 
> 
>  On Mon, May 6, 2013 at 9:53 PM, philipp.oeser <[email protected]
> <mailto:[email protected]> > wrote:
>    > >    Yes, this also fails with the mouse over the gui...
> > 
> >    opened an issue on
> > github:<https://github.com/caron/PyQtForSoftimage/issues/11>
> > 
> >    Greetz
> >    Philipp
> > 
> >    P.S.: thanx cesar for putting up that code snippet
> > 
> > 
> >     > > > Steven Caron < [email protected] <mailto:[email protected]> > hat am
> >     > > > 4. Mai 2013 um 01:18 geschrieben:
> > > 
> > >     i don't have time to look at this right now but can you make sure your
> > > mouse is over the gui when you attempt this?
> > > 
> > > 
> > >     On Fri, May 3, 2013 at 4:12 PM, César Sáez <[email protected]
> > > <mailto:[email protected]> > wrote:
> > >       > > > >       Yep, I can confirm it isnt working even with strong
> > >       > > > > focus.
> > > >       Here's a snippet anyone can run from script editor to test it
> > > > out...
> > > > 
> > > >       from PyQt4 import QtGui, QtCore
> > > >       import sip
> > > >       si = Application
> > > >       sianchor = sip.wrapinstance(long(si.getQtSoftimageAnchor()),
> > > > QtGui.QWidget)
> > > > 
> > > >       dialog = QtGui.QMainWindow(sianchor)
> > > >       uiComboBox = QtGui.QComboBox(parent=dialog)
> > > >       uiComboBox.setFocusPolicy(QtCore.Qt.StrongFocus)
> > > >       uiComboBox.setEditable(True)
> > > >       dialog.show()
> > > > 
> > > > 
> > > >       On Fri, May 3, 2013 at 4:52 AM, philipp.oeser
> > > > <[email protected] <mailto:[email protected]> > wrote:
> > > >         > > > > > 
> > > > >         If someone else can confirm (Enrique?, Simon?), I will submit
> > > > > an issue on github...
> > > > >         I can also put together a minimal Plugin that reproduces this.
> > > > > 
> > > > >       > > > >     > > > 
> > >    > > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >    [nhb]
> >             Philipp Oeser
> >             Pipeline Engineer
> >             T       +49 40 - 450 120 - 401 
> > <tel:+49%2040%20-%20450%20120%20-%20401>
> >             www.nhb.de <http://www.nhb.de>
> > 
> > 
> >    nhb video GmbH | nhb ton GmbH
> > 
> >    Alsterglacis 8 | 20354 Hamburg
> > 
> >             nhb video GmbH, HRB 61617
> >    Geschäftsführer: Michael Vitzthum, Matthias Rewig
> >    nhb ton GmbH, HRB 73877
> >    Geschäftsführer: Michael Vitzthum, Matthias Rewig
> >             [dolby]nhb is Dolby approved
> >             Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> > Informationen. Das unerlaubte Weiterleiten dieser Mail ist nicht gestattet.
> > This e-mail may contain confidential and/or privileged information. Any
> > unauthorised disclosure of the material in this e-mail is forbidden.
> >  > 
> 
> 
>  --
>  -------------------
>  Simon Ben Anderson
>  blog:<http://vinyldevelopment.wordpress.com/>
> 
















































[nhb]
        Philipp Oeser
        Pipeline Engineer
        T       +49 40 - 450 120 - 401
        www.nhb.de <http://www.nhb.de>


nhb video GmbH | nhb ton GmbH

Alsterglacis 8 | 20354 Hamburg

        nhb video GmbH, HRB 61617
Geschäftsführer: Michael Vitzthum, Matthias Rewig
nhb ton GmbH, HRB 73877
Geschäftsführer: Michael Vitzthum, Matthias Rewig
        [dolby]nhb is Dolby approved
        Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Das unerlaubte Weiterleiten dieser Mail ist nicht gestattet. This
e-mail may contain confidential and/or privileged information. Any unauthorised
disclosure of the material in this e-mail is forbidden.

Reply via email to