Results 1 to 2 of 2

Thread: QwtKnob and QwtLog10ScaleEngine

  1. #1
    Join Date
    Jun 2011
    Posts
    3
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QwtKnob and QwtLog10ScaleEngine

    How can I make the QwtKnob object display a logarithmic scale from 10 to 1000 with the following markers on the scale 10, 30, 100, 300 and 1000?

    So far this is what I have:

    Qt Code:
    1. ui->d_knob->setScaleEngine( engine );
    2. ui->d_knob->setRange(10.0, 1000.0 );
    To copy to clipboard, switch view to plain text mode 

    And that results in the QwtKnob displayed with the markers 10, 100 and 1000 only.

    Thanks in advance,

  2. #2
    Join Date
    Jun 2011
    Posts
    3
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QwtKnob and QwtLog10ScaleEngine

    Help please!

Similar Threads

  1. Replies: 2
    Last Post: 17th April 2010, 16:48

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.