multiple inheritance ?
-
Will multiple inheritance full-fill the task ??
I am starting another thread to ask SIMPLE yes / no questions, IF that is an issue, I will delete ALL after I get the answers.
I have this class
class Console : public QPlainTextEdit
{
Q_OBJECT
.....it does not have "status bar" as a method and there is no "ui" form too.
can I code multiple inheritance class coded this way :
class Console_ext : public QPlainTextEdit, public QMainWindow
{
Q_OBJECT
.....Yes / No ?
if NO
then ...
howPS
Reason for reusing the original class QPlainTextEdit - invested time in coding it to my spec. -
@AnneRanch said in multiple inheritance ?:
if NO
then ...
howAlready answered here on how to solve it: https://forum.qt.io/topic/155559/another-reuse-question/3
You can not inherit from multiple QObject instances.
-
@AnneRanch Are we now in the "Remove the threads I don't like" phase again?
-