Results 1 to 2 of 2

Thread: Generating Dial using Qwt in Qt

  1. #1
    Join Date
    Jun 2015
    Location
    India
    Posts
    28
    Thanks
    7
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Android Maemo/MeeGo

    Default Generating Dial using Qwt in Qt

    I am able to generate a dial with scale outside the dial using Qwt.I need to display the scale inside the dial.how can i display the scale inside the dial using Qwt

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,309
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Generating Dial using Qwt in Qt

    This is not supported, but on my TODO list since quite some time ( see https://sourceforge.net/p/qwt/feature-requests/54/ ).

    I remember, that in a similar request a user posted code for a modified QwtRoundscaleDraw - it might have been here or on the Qwt mailing list - check the archives. This patch wasn't that difficult and did the job.

    But if the layout of your application doesn't rely on a valid minimumSizeHint() writing a patched version of QwtRoundscaleDraw yourself is not that difficult. If you want to do this ( or found the patched version in some archive ) please upload a patch to https://sourceforge.net/p/qwt/patches, so that I don't forget to implement this feature next time I'm working on that part of Qwt.

    Uwe

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

    Navi (20th June 2015)

Similar Threads

  1. Dial Controller
    By jeff28 in forum Newbie
    Replies: 1
    Last Post: 23rd August 2012, 00:36
  2. Dial Gauge
    By jeff28 in forum Newbie
    Replies: 1
    Last Post: 23rd August 2012, 00:35
  3. Can I set image for qwt dial
    By validator in forum Qwt
    Replies: 3
    Last Post: 17th December 2010, 07:20
  4. How can I draw needle for dial in Qwt
    By validator in forum Qwt
    Replies: 6
    Last Post: 3rd February 2008, 21:27
  5. Can I launch a dial-up connection in Windows?
    By gtthang in forum Qt Programming
    Replies: 3
    Last Post: 9th February 2006, 13:32

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.