Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interactively testing Nodz in PyCharm/IPython #2

Open
satishgoda opened this issue Jun 6, 2017 · 0 comments
Open

Interactively testing Nodz in PyCharm/IPython #2

satishgoda opened this issue Jun 6, 2017 · 0 comments

Comments

@satishgoda
Copy link

satishgoda commented Jun 6, 2017

This issue is just an FYI for anyone who want to try out Nodz from within PyCharm with IPython running a Qt event loop. (I was not able to add to the Wiki, so I am adding to the issue.)

I have loaded Nodz and Qt.py repos in Pycharm and setup dependency of Qt.py on Nodz. I them marked the repos as sources root, so that they are available in PYTHONPATH.

In order for the IPython gui event loop to work properly, I first had to import Qt module and then enable application event loop in IPython.

In[1]: import Qt
In[2]: Qt
Out[2]: <module 'Qt' from 'F:\src\GitHub\nodegraph\Qt.py\Qt.py'>
In[3]: %gui qt4

Then I opened nodz_demo.py in the PyCharm editor and selectively executed code. Then in the Python Console, I interacted with the diagram.

nchaverou pushed a commit to nchaverou/Nodz that referenced this issue Jul 18, 2017
…ide2

Fix QCompleter is in QtWidgets in PySide2(Qt5), was in QtGui in PySide(Qt4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant