Results 1 to 2 of 2

Thread: How To Access To Child's Of A Tab

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2008
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default How To Access To Child's Of A Tab

    Hi!
    How i can access to a child widget of a tab???
    for example
    I have 3 tab. in all tabs i have placed a Button named New
    i need to access to New Button from Code.
    i have tried this code but...!

    Qt Code:
    1. for(int i=0; i < this->tabwidget->count(); i++)
    2. {
    3. this->tabwidget->widget(i)->btnNew->setEnabled(false);
    4. }
    To copy to clipboard, switch view to plain text mode 

    Please Help Me!
    Thanx.
    Last edited by jpn; 14th December 2008 at 17:28. Reason: missing [code] tags

Similar Threads

  1. Access an object stored in the list.
    By cbarmpar in forum General Programming
    Replies: 2
    Last Post: 21st September 2008, 20:19
  2. Error in connecting to MS ACCESS
    By cutie.monkey in forum Qt Programming
    Replies: 0
    Last Post: 9th September 2008, 02:10
  3. ODBC and MS Access
    By allensr in forum Qt Programming
    Replies: 2
    Last Post: 10th April 2007, 23:41
  4. Replies: 1
    Last Post: 4th October 2006, 16:05
  5. Replies: 5
    Last Post: 14th July 2006, 22:42

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.