Hi,
I have QMainwindow with QMenubar to which I have added the QcomboBox as cornerwidget.
pMenuBar->setCornerWidget(pComboBox);
I have QMdiArea whose parent is QMainwindow and I have set this QMdiArea to its central widget.
mdi=new QMdiArea(this);
setCentralWidget( mdi );
Then I created QMdiSubWindow window.
QMdiSubWindow *midsubWindow= mdi->addSubWindow(Qwidget);
The application looks fine when the QMdiSubWindow is not Maximized (see Image.png)
But the moment I Maximize the QMdiSubWindow it Hides the Combobox that I have set on QMenubar as Corner widget(see maximize.png ).
I tried everything in my application but it looks like QT does not allow this.
Attached are the two images which shows the scenario.
Any help would be appreciated.
Thanks.
Bookmarks