Results 1 to 2 of 2

Thread: QWT 5.2.0. Label on knob.

  1. #1

    Default QWT 5.2.0. Label on knob.

    Hello! I use QWT 5.2. I want to exchange scale label on knob from numbers to text. How I can do it?

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

    Default Re: QWT 5.2.0. Label on knob.

    Suclass QwtRoundScaleDraw object and implement YourRoundScaleDraw::label().Then pass it to the knob with QwtKnob::setScaleDraw().

    Uwe

Similar Threads

  1. qwt 5.2 install on qt 4.5
    By HyperB in forum Qwt
    Replies: 4
    Last Post: 13th May 2009, 20:03
  2. Qwt 5.2.0
    By Uwe in forum Qt-based Software
    Replies: 0
    Last Post: 22nd March 2009, 18:20

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.