[pydev - Users] Qt4 and auto completition

View: New views
4 Messages — Rating Filter:   Alert me  

[pydev - Users] Qt4 and auto completition

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7466423
By: deventm

Hi, I'm new to Python and using Pydev the first time. I like to use python to
develop with Qt4. Now, from Java Eclipse I'm used to the auto completition (i.e.
if I enter xxxx. the IDE will give me every public method and attribute and
with Ctrl+Space I get the overview, too). It works fine with the python lib,
but it do nothing with the Qt4 lib. I.e. QtCore. Ctrl-Space do nothing.

Can I somehow activate it? I using Fedora and I have PyQt4 and PyQt4-devel
installed.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

------------------------------------------------------------------------------
_______________________________________________
Pydev-users mailing list
Pydev-users@...
https://lists.sourceforge.net/lists/listinfo/pydev-users

[pydev - Users] RE: Qt4 and auto completition

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7466434
By: fabioz

Hi,

Actually, pydev extensions has that, but only for files for which you have python
code... as PyQt4 doesn't have source code, just the dll with the bindings, right
now pydev will only give you code-completion for it when you have it imported.
ie. if you do

from PyQt4 import QtCore
QtCore.|<-- request completion here

it should give you those tokens.

Cheers,

Fabio

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

------------------------------------------------------------------------------
_______________________________________________
Pydev-users mailing list
Pydev-users@...
https://lists.sourceforge.net/lists/listinfo/pydev-users

[pydev - Users] RE: Qt4 and auto completition

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7466462
By: deventm

I have exact the same code but nothing happens.
Shouldn't PyQt4-devel have the sources for PyQt4?

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

------------------------------------------------------------------------------
_______________________________________________
Pydev-users mailing list
Pydev-users@...
https://lists.sourceforge.net/lists/listinfo/pydev-users

[pydev - Users] RE: Qt4 and auto completition

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7467650
By: fabioz

Strange... do you have some error in your error log? (see:
http://pydev.sourceforge.net/faq.html#how_do_i_report_a_bug)

Did you properly configure your python interpreter after installing PyQt4? (when
it's configured, it caches many things and doesn't change it later if you change
system libraries, so, you have to reconfigure the interpreter).

Cheers,

Fabio

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

------------------------------------------------------------------------------
_______________________________________________
Pydev-users mailing list
Pydev-users@...
https://lists.sourceforge.net/lists/listinfo/pydev-users