Results 1 to 2 of 2

Thread: QtGui. How to catch event then controls added to widget (wgt is container!)

  1. #1
    Join Date
    Oct 2009
    Location
    Russia, South Ural, Chelyabinsk
    Posts
    42
    Thanks
    1
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default QtGui. How to catch event then controls added to widget (wgt is container!)

    Hi to all!

    I have a main widget (container, inherited from QWidget) and I need to initialize child contorls by parent params then it added (dropped) to main widget.

    I heed signal or event, because control loaded from ui files by QFromBuilder/QUiLoader.

    Then control added to main wiget it must be called childControl->setupControls(...);

    Thanks!

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QtGui. How to catch event then controls added to widget (wgt is container!)

    What is the question/problem?
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. how to catch close event in this program? [pyqt]
    By pyqt123 in forum Qt Programming
    Replies: 15
    Last Post: 14th December 2009, 12:30
  2. Catch click Hyperlink event
    By summer_of_69 in forum Qt Programming
    Replies: 1
    Last Post: 22nd June 2009, 20:43
  3. Catch a row selection event in QTableView
    By Windsoarer in forum Qt Programming
    Replies: 1
    Last Post: 2nd March 2009, 23:44
  4. Replies: 2
    Last Post: 24th November 2008, 16:19
  5. Replies: 2
    Last Post: 4th August 2007, 05:31

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.