How to share "layout" ?
-
This is off-shoot of another post.
I am using - from Qt example "terminal" class "Console" - which is derived from QPlainTextEdit.
It does a good job managing serial data, so let's not fix it - it ain't broke.
I would like to add another monitoring tasks to the class and display them in SAME object window.
'
This class QPlainTextEdit has NO ui file, none !I just cannot replace non-existent "layout" as I have successfully done in another object.
Can somebody (seriously ) suggest how to remedy this ?
Console::Console(QWidget *parent) : QPlainTextEdit(parent) {
-
Christian Ehrlicher Lifetime Qt Championreplied to Anonymous_Banned275 on last edited by Christian Ehrlicher
@AnneRanch said in How to share "layout" ?:
I just cannot replace non-existent "layout"
As already written now three times from various people out here.
Take a QWidget. Add a layout, add your Console and all the other widgets to this layout and you're done.