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

add QtConsoleApp using newapplication #492

Closed
wants to merge 48 commits into from
Closed

Conversation

minrk
Copy link
Member

@minrk minrk commented Jun 1, 2011

ipython-qtconsole now uses the newapplication and config system, and the inline svg/png switch is configurable, as well as QtConsole font family/size.

ellisonbg and others added 23 commits May 17, 2011 22:05
* app_name -> name.
* config_file_paths is properly typed.
also include choices in help output for Enums
initialize loads config, and ensures command-line opts override those specified in config files.
Old files are left in place, until applications make the transition to newapp.
ProfileDir is adapted from old ClusterDir
doing ipython foo="" would fail as invalid.
@ellisonbg
Copy link
Member

This is awesome!!!! I have only given this a quick look through, but I am very excited to look at this more!

@minrk
Copy link
Member Author

minrk commented Jun 2, 2011

One thing that's missing is the KernelApp has configurables, etc. for exec_lines, exec_files, etc., but the code to actually run them isn't there. This code will be exactly identical to that in the terminal IPythonApp, so I'm wondering if there should be a subclass somewhere, perhaps a core.shellapp.InteractiveShellApp.

@minrk
Copy link
Member Author

minrk commented Jun 4, 2011

This branch is now based on the terminal IPython code in #485, due to a common subclass between TerminalIPythonApp and IPKernelApp.

Until that's merged into newapp, the more accurate diff for this PR is here

This means that loading extensions, initial startup scripts, etc. are now supported by the qtconsole.

minrk added 4 commits June 7, 2011 15:41
useful for delegating subapps, which would previously
conflict if both apps were launched with instance()
This way later calls to App.instance() will return the running
application, whereas calling App() would create an isolated
Application object.
minrk added 21 commits June 7, 2011 16:17
…lapp

Now there's a class for IPKernel to inherit from in the qt code
This way later calls to App.instance() will return the running
application, whereas calling App() would create an isolated
Application object.
The inline backend now has preliminary config support for rc and figure format.
Also set the default editor to notepad on Windows.
This way later calls to App.instance() will return the running
application, whereas calling App() would create an isolated
Application object.
Now 'ipython qtconsole' will behave the same as 'ipython-qtconsole'
minrk added a commit to minrk/ipython that referenced this pull request Jun 10, 2011
@minrk
Copy link
Member Author

minrk commented Jun 10, 2011

merged into newapp as f6b7029

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

Successfully merging this pull request may close these issues.

None yet

3 participants