Results 1 to 2 of 2

Thread: How to add labels in any layout dynamically from external Library file ??

  1. #1
    Join Date
    Nov 2015
    Location
    India
    Posts
    16
    Thanks
    2
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default How to add labels in any layout dynamically from external Library file ??

    Hey I want to add lables in my form using data from external link library
    how do i do it??

  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: How to add labels in any layout dynamically from external Library file ??

    You just create the label instances and then call addWidget() on the layout.

    Cheers,
    _

Similar Threads

  1. Replies: 8
    Last Post: 6th December 2014, 09:10
  2. Replies: 1
    Last Post: 7th February 2013, 08:51
  3. Replies: 1
    Last Post: 18th May 2012, 21:46
  4. how to dynamically add labels
    By mohanakrishnan in forum Qt Programming
    Replies: 5
    Last Post: 20th October 2009, 10:19

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.