Console/Terminal Widget for Qt?
Asked Answered
V

4

7

Anyone know of any widget in Qt4 that acts as a terminal/console? Open-source would be good.

Thanks in advance.

Vi answered 5/8, 2011 at 18:58 Comment(0)
V
5

Found some decent source code here. Very basic functionality, but I've been adding to it some and I think it has promise to do what I need it to.

NOTE: I have only tested this code in Win32.

Here is a link to my new question concerning this code.

Vi answered 9/8, 2011 at 14:14 Comment(2)
I'd really like a read-only console, but one that supports the \r command so CLI progress bars would work. I was going to roll my own, but then I found this. Would this work?Tyne
Yes. See code.google.com/p/qterminalwidget/source/browse/trunk/…Crackup
K
5

QConsole used to do something like that. (Not sure the project is active anymore, but you might want to have a look).

Kopje answered 5/8, 2011 at 19:7 Comment(3)
This looks more like a python command prompt, not really a bash or MS-DOS terminal. Thanks though.Vi
Hmm okay. Indeed we looked at it some years ago for the QPyConsole it contains. I assumed the base QConsole could be of use.Kopje
Sadly QConsole is abstract in their implementation.Vi
V
5

Found some decent source code here. Very basic functionality, but I've been adding to it some and I think it has promise to do what I need it to.

NOTE: I have only tested this code in Win32.

Here is a link to my new question concerning this code.

Vi answered 9/8, 2011 at 14:14 Comment(2)
I'd really like a read-only console, but one that supports the \r command so CLI progress bars would work. I was going to roll my own, but then I found this. Would this work?Tyne
Yes. See code.google.com/p/qterminalwidget/source/browse/trunk/…Crackup
P
2

If you are on Qt6, you can use the QLightTerminal.

Piegari answered 15/2, 2022 at 21:42 Comment(0)
I
1

If you're on Qt5 now, there's the QTermWidget widget from the LXQt project.

Imperishable answered 14/1, 2019 at 2:10 Comment(1)
see also the gnu octave fork of libqterminal with windows supportBaiss

© 2022 - 2024 — McMap. All rights reserved.