Results 1 to 6 of 6

Thread: QMenuBar's CornerWidget hides on maximizing QMdiSubWindow

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    delhi India
    Posts
    56
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default QMenuBar's CornerWidget hides on maximizing QMdiSubWindow

    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.
    Attached Images Attached Images

Similar Threads

  1. new dialog hides behind... help me please
    By cooper in forum Qt Programming
    Replies: 8
    Last Post: 14th June 2009, 21:55
  2. Update to 4.4.2: cornerWidget functionality changed
    By mclark in forum Qt Programming
    Replies: 5
    Last Post: 21st November 2008, 01:14
  3. Maximizing QWidget to front of desktop
    By JimDaniel in forum Qt Programming
    Replies: 2
    Last Post: 10th November 2007, 16:08
  4. Maximizing a widget
    By Max Yaffe in forum Qt Tools
    Replies: 3
    Last Post: 11th July 2007, 06:05
  5. maximizing own widget on parent
    By masoroso in forum Newbie
    Replies: 8
    Last Post: 21st April 2006, 17:12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.