Results 1 to 2 of 2

Thread: How to create a Qt bar diagram or Vertical slider?

  1. #1
    Join Date
    Mar 2011
    Location
    Coimbatore,TamilNadu,India
    Posts
    382
    Thanks
    10
    Thanked 13 Times in 12 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default How to create a Qt bar diagram or Vertical slider?

    How to create a Qt bar diagram or Vertical gauge like the attached picture with irregular gaps between the limits in Y axis?

    bargraph.jpg

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: How to create a Qt bar diagram or Vertical slider?

    Do you want this to be a display-only widget? A "slider" implies that the user can click on it to adjust the position. If you want it to be just an output widget (like your dial widget), then it is pretty easy.

    I also assume you know in advance where the y-divisions are, correct?
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. Replies: 8
    Last Post: 6th December 2014, 09:10
  2. Replies: 1
    Last Post: 19th May 2014, 07:04
  3. How To Create Simple Images Slider?
    By Ade Malsasa Akbar in forum Newbie
    Replies: 5
    Last Post: 1st June 2013, 08:42
  4. Replies: 2
    Last Post: 21st March 2010, 09:01
  5. vertical slider
    By TomASS in forum Newbie
    Replies: 4
    Last Post: 29th November 2009, 00:30

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.