Results 1 to 2 of 2

Thread: Replace widget on tab

  1. #1
    Join Date
    May 2009
    Location
    Gorontalo
    Posts
    200
    Thanks
    20
    Thanked 5 Times in 5 Posts
    Qt products
    Platforms
    Unix/X11 Windows

    Default Replace widget on tab

    I'm read about QTabWidget in QtDoc. But I don't found way for replace widget on tab. Only addTab and removeTab. How about replace widget on tabwidget ?

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Replace widget on tab

    There is no replace function, because normally you don't need such a function. But you can make it yourself, by simple add the new and remove the old. That shouldn't be a problem.

Similar Threads

  1. Find Replace Implementation
    By bismitapadhy in forum Qt Programming
    Replies: 2
    Last Post: 13th April 2020, 16:40
  2. Replace keyPressEvent (dot with tab)
    By the_bis in forum Qt Programming
    Replies: 1
    Last Post: 6th June 2008, 10:43
  3. How do I replace a widget?
    By pir in forum Qt Programming
    Replies: 4
    Last Post: 24th July 2006, 16:51
  4. Replace text
    By Hz in forum Qt Programming
    Replies: 2
    Last Post: 22nd March 2006, 08:16

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.