Image 01
profile-image

ElecCham

Gordon Schumacher
QTermWidget

Qt Widgets by un-defined 33 comments

I did spend quite a few hours trying to fix this, to no avail...

I have managed a workaround by adding the following line to QTermWidget::init() -

Quote:QTimer::singleShot(0, this, SLOT(setFocus()));

I suspect that this really is a hack though, since I don't understand why I can't focus it in the first place. It's good enough for me to use for the moment though :) - Feb 18 2010
QTermWidget

Qt Widgets by un-defined 33 comments

Sorry, please ignore the bit about tabs - that was meant to refer to another app using QTermWidget...

If I run either ./consoleq -qws or ./consoleq_d -qws, I have no ability to activate the window so that I may type into it. The only action I can take which has any effect is to close the terminal window. - Feb 18 2010
QTermWidget

Qt Widgets by un-defined 33 comments

I've been trying to get QTerminal running in my "embedded" environment - it's actually a fairly standard Linux/x86 environment, but that it's running Qt/E instead of the standard Qt.

The thing I've run into is that it seems to behave badly upon first opening or when the window loses and regains focus - at those times, it's impossible to activate the window (the cursor remains an open square and you cannot type into the window). I've tried hacking at the code a fair bit, but the only way I could change that behaviour was to put in a delay before the first tab is created.

The only other issue I came across is that the application exits whenever the first tab's shell is exited. - Feb 18 2010