Results 1 to 4 of 4

Thread: Return to MainWindow

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Return to MainWindow

    So your application has a central widget when you set the text editor?

    If so, just keep the reference to the widget and set it again when needed.

    You might also want to do the same for the text edit, so that you don't create a new one every time.

    Cheers,
    _

  2. The following user says thank you to anda_skoa for this useful post:

    Drama (16th January 2016)

Similar Threads

  1. Replies: 3
    Last Post: 16th April 2015, 21:49
  2. How to return a QFile ?
    By oldFox64 in forum Newbie
    Replies: 7
    Last Post: 7th February 2014, 15:02
  3. Replies: 1
    Last Post: 2nd January 2013, 09:48
  4. Replies: 0
    Last Post: 6th November 2011, 09:22
  5. Replies: 1
    Last Post: 12th April 2011, 09:53

Tags for this Thread

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.