Results 1 to 2 of 2

Thread: progress bar text position

  1. #1
    Join Date
    Feb 2010
    Location
    Russia, Omsk
    Posts
    28
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default progress bar text position

    Hello all.
    How to set a text position of progressbar. I Have a horizontal progressbar, I want to show percents under one, but it appears to the right of progressbar.

    Thanks in advance

  2. #2
    Join Date
    Sep 2011
    Location
    Manchester
    Posts
    538
    Thanks
    3
    Thanked 106 Times in 103 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: progress bar text position

    I'm pretty sure it can't be done out-of-the-box.

    Create custom widget with progress bar (without text) and label below it and update label every time progress bar gets updated.

  3. The following user says thank you to Spitfire for this useful post:

    Annihilator (12th April 2012)

Similar Threads

  1. To Draw Text at given position on QGraphicsScene
    By volcano in forum Qt Programming
    Replies: 6
    Last Post: 4th February 2010, 08:16
  2. Text/icon position of a tabWidget
    By b_ginner in forum Qt Programming
    Replies: 1
    Last Post: 16th October 2009, 09:07
  3. Button Text Position
    By Slewman in forum Qt Tools
    Replies: 1
    Last Post: 29th September 2009, 16:35
  4. Position of text in a qlabel
    By jiveaxe in forum Qt Programming
    Replies: 1
    Last Post: 25th May 2008, 13:26
  5. Pixel Position and Printing text
    By nErnie in forum Qt Programming
    Replies: 1
    Last Post: 7th November 2006, 12:35

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.