thaolt / qscite

Automatically exported from code.google.com/p/qscite
GNU General Public License v2.0
0 stars 0 forks source link

Allow terminal interaction from within QSciTE #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I've started a QTerminal widget that inherits from QTextEdit.  It passes
it's input directly to a QProcess object that's running an instance of bash.

The QTerminal widget should have the following design features:
1. It should not be dependent on any QSciTE directly for any features.
2. It should have accessor methods for executing commands and retrieving
output (for future scripting capabilities in QSciTE).
3. It should have simple methods for changing fonts/colors (some already
provided by QTextEdit parent class).
4. It should have the ability to highlight Standard Error output, to make
it more distinguishable for users.

QTerminal, once in it's finished form, should be implemented in QSciTE
using the following guidelines:

1. It should be on enabled on a per-tab basis.
2. Upon being enabled, it should change directory to the location of the
currently-opened file in that tab.
3. It should detachable from the main window.
4. A tab in the preferences dialog should be added to allow the user to
choose font/color options (foreground and background).

Original issue reported on code.google.com by jpsut...@gmail.com on 17 Feb 2008 at 5:47

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I was studying someone else's implementation of a similar idea. They use 
QVBoxLayout
to group two Qt Widgets and stack them vertically...

http://doc.trolltech.com/4.3/qvboxlayout.html

Original comment by jpsut...@gmail.com on 17 Feb 2008 at 7:26

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
So far, design features 1 and 3 and integration feature 4 are present.
Highlighting standard error is going to be a pain in the neck to do through a 
pty.
Integration features 1 and 3 I don't need. Anyone who needs them is welcome to
implement them.

Original comment by bfrobin...@gmail.com on 19 Feb 2008 at 12:01

GoogleCodeExporter commented 8 years ago
Let's close this issue and open issues for specific QTerminal-related features 
we
want. With the amount of progress we have so far, this is way too broad.

Original comment by bfrobin...@gmail.com on 27 Feb 2008 at 1:40

GoogleCodeExporter commented 8 years ago
agreed

Original comment by jpsut...@gmail.com on 27 Feb 2008 at 5:46