FW: [PyQt] Using a QCompleter with a QLineEdit
hpj at urpla.net
Wed Jun 24 21:35:45 BST 2009
Am Mittwoch, 24. Juni 2009 schrieb Greg Smith:
> Here is a very simple test.
> Just run it in a command shell, and be sure the .ui file lives in the
> same directory as the .py file.
The usual, all time number one issue:
"take care of lifetime issues, if a Qt class doesn't derive from QWidget"
applies, even if Phil tries to mitigate this issue since some time..
BTW: execPath could be empty
execPath = os.path.dirname(sys.argv) or '.'
BTW2: what do you want the str() do in your expression?
More information about the PyQt