Results 1 to 2 of 2

Thread: counting controls in a form with its childs ?

  1. #1
    Join Date
    Mar 2010
    Posts
    10
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Question counting controls in a form with its childs ?

    I think winAPI's handle functions doesnt working for QT forms.
    So how can i use or.is there a working QT api functions something like winapi have like :
    getnexthandle getfirsthandle ,FindWindowEx,FindWindowLike ,GetWindow ,GetWindowClassName,winhandle APIs ?
    to catch and count controls in a form ?

    or

    how can I get the name of control and its class name under mouse via a dll that loaded an exe ?

    thanks
    Last edited by hcetiner; 6th April 2010 at 18:41.

  2. #2
    Join Date
    Apr 2010
    Location
    Rostov-na-Donu, Russia
    Posts
    153
    Thanks
    2
    Thanked 26 Times in 23 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: counting controls in a form with its childs ?

    Qt Code:
    1. QWidget::findCildren
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. Counting flags in a bit mask
    By Lykurg in forum General Programming
    Replies: 1
    Last Post: 24th July 2009, 10:53
  2. Paint over childs
    By SABROG in forum Qt Programming
    Replies: 3
    Last Post: 26th May 2009, 12:34
  3. Hiding controls changes spacing of other controls
    By MrGarbage in forum Qt Programming
    Replies: 1
    Last Post: 18th December 2007, 20:47
  4. [QT4] Counting files in a directory (Linux)
    By ucntcme in forum Qt Programming
    Replies: 2
    Last Post: 24th July 2007, 22:59
  5. Replies: 4
    Last Post: 31st August 2006, 12:11

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.