Results 1 to 2 of 2

Thread: Execute TabWidget

  1. #1
    Join Date
    Mar 2014
    Posts
    11
    Thanks
    2
    Qt products
    Qt5
    Platforms
    Windows

    Default Execute TabWidget

    Hi to all,
    I create a new tabWidget choosen in tamplate form.
    Now I want to execute (launch) by clicking on a push button that is inside the MainWindow. I'm able to execute a dialog object...but no a tabWidget object.
    Someone can help me?

  2. #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: Execute TabWidget

    A tab widget, like most other widgets, can be shown.

    exec(), like for dialogs, means "blocking" the current code, i.e. diverting event processing to a nested event loop.

    show() will make the widget visible and continue with the code after show while the widget is becoming visible.

    Cheers,
    _

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

    cecchinoSMI (11th April 2014)

Similar Threads

  1. WebView and tabWidget
    By maston in forum Qt Programming
    Replies: 1
    Last Post: 21st October 2010, 15:31
  2. tabWidget in Designer
    By ShamusVW in forum Newbie
    Replies: 1
    Last Post: 10th August 2010, 09:21
  3. Add tab to tabwidget thru Designer.
    By phillip_Qt in forum Qt Programming
    Replies: 2
    Last Post: 13th January 2010, 11:00
  4. TabWidget
    By Salazaar in forum Newbie
    Replies: 5
    Last Post: 17th May 2007, 21:07
  5. tabWidget Question
    By phlash in forum Qt Tools
    Replies: 1
    Last Post: 28th March 2007, 10:54

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.