Results 1 to 2 of 2

Thread: calling new widgets from active widget in QMdiArea

  1. #1
    Join Date
    Jul 2010
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default calling new widgets from active widget in QMdiArea

    Hi

    Is it possible to a new Widget/form from active widget/form which is in QMdiArea ?

    QMdiArea(Active Widget "Form1" contains push button)
    on clicking push button -> new widget should show in same QMdiArea.

    Thanks
    arun

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android
    Thanks
    62
    Thanked 260 Times in 246 Posts

    Default Re: calling new widgets from active widget in QMdiArea

    I have never done this, but it should be possible.

    Just try to connect the button clicked signal with the main window's QMdiArea slot that creates and show the new MdiSubWindows.

Similar Threads

  1. Calling a method to a parent window/widget
    By johnnyturbo3 in forum Newbie
    Replies: 4
    Last Post: 6th November 2010, 16:52
  2. Replies: 2
    Last Post: 30th July 2010, 16:59
  3. Replies: 5
    Last Post: 19th April 2010, 00:31
  4. How to restore removed widget from QMdiArea ?
    By remdex in forum Qt Programming
    Replies: 1
    Last Post: 7th August 2009, 20:59
  5. Extra moveEvent after calling winId for a widget.
    By Alex_123 in forum Qt Programming
    Replies: 1
    Last Post: 31st December 2008, 18:57

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
  •  
Qt is a trademark of The Qt Company.