Results 1 to 9 of 9

Thread: How to create labels dynamically according to the slider value

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2013
    Location
    Bangalore, India
    Posts
    36
    Thanks
    9
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Question How to create labels dynamically according to the slider value

    Hello everyone,

    How can I create QLabel dynamically depending on the slider input? eg. if slider value is 3, then I need to create 3 labels. any suggestions or examples will be really appreciated.

    Thanks in advance!!!

    jakr13
    Last edited by jakr13; 5th December 2014 at 06:05.

Similar Threads

  1. Dynamically change slider max range
    By Don_Hannes in forum Qt Programming
    Replies: 2
    Last Post: 3rd October 2012, 16:19
  2. Replies: 2
    Last Post: 21st March 2010, 09:01
  3. how to dynamically add labels
    By mohanakrishnan in forum Qt Programming
    Replies: 5
    Last Post: 20th October 2009, 10:19
  4. Tick Labels for Slider
    By jcraig in forum Qt Tools
    Replies: 2
    Last Post: 9th August 2007, 17:21

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.