Thanks Christofer and Boris,

that works fine now.
Great little example! That goes straight into my collection of cool reference code, thanks a lot!

frank

On 7/06/12 8:01 PM, [email protected] wrote:

The example uses PyQt, which has QStrings as a datatype, PySide uses normal strings instead.



Christofer Bertonha schrieb am 07.06.12 09:41:

You can crange to a list of strings eg: ['str1', 'str2']

A more pythonic way

[ ]' s
Christofer Bertonha

On Jun 7, 2012 3:28 AM, "Frank Rueter | OHUfx" <[email protected] <mailto:[email protected]>> wrote:

    Oh cool, would love to see what it does, but QtCore.QStringList()
    isn't
    valid in my version of PySide it would seem.
    Is there a quick fix?

    Anyway, it's late here, I will have a closer look tomorrow. Thanks
    heaps
    for the example!

    frank

    On 7/06/12 6:23 PM, simozack wrote:
    > 2012/6/7 Frank Rueter | OHUfx<[email protected]
    <mailto:[email protected]>>:
    >> quick question for the more experienced:
    >> Is there a core widget for text search? I'm after pretty
    something that
    >> looks pretty much like this one (at the top):
    >> http://farm5.static.flickr.com/4042/4574583703_f7be03c653.jpg
    > Some time ago, I wrote something like that. You can find it here:
    >
    
https://bitbucket.org/simozack/pyqtexamples/src/f037651e8406/EvolutionSearch.py
    >
    > It uses the completion facility of the qt framework for
    searching text
    > inside a list of value and it has a callback function you can use to
    > do something with the value selected, a delay parameter to make the
    > callback function more or less responsive.
    >
    > It was developed with pyqt, but I think there's no problem to use it
    > with pyside.
    >
    > HTH,
    > Simone
    _______________________________________________
    PySide mailing list
    [email protected] <mailto:[email protected]>
    http://lists.qt-project.org/mailman/listinfo/pyside




_______________________________________________
PySide mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/pyside
_______________________________________________
PySide mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to