The QMainWindow
is the main window in a Qt application. So usually you'd have only one, but would it be possible at all to have multiple QMainWindow
instances in your application?
I am working on integrating a Qt-based GUI application B into another Qt-based GUI application A. Both these applications have a QMainWindow
, and I was considering as a first step to create a new QMainWindow
that has both old QMainWindows
on tabs. That way it would allow me to concentrate on wiring the backend of GUI B to the backend of A without having to change anything in the user interface itself. Is this a viable approach, or do you have other suggestions?