Results 1 to 2 of 2

Thread: Draw Tick and label using Qwt in Qt

Hybrid View

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

    Default Draw Tick and label using Qwt in Qt

    How to draw tick and label using QwtRoundScaleDraw

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,349
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    318
    Thanked 872 Times in 859 Posts

    Default Re: Draw Tick and label using Qwt in Qt

    Look at the source code for QwtRoundScaleDraw. Use it as a model in your own class to change the way your class draws the ticks and labels.

    No, I will not spoon-feed you code to do this. The example is right in front of you in the source code, if you'd spend the time looking at that and reading documentation instead of making endless posts here.

Similar Threads

  1. Replies: 1
    Last Post: 11th February 2015, 06:50
  2. Axis Tick and Label !
    By huyhoangfool in forum Qwt
    Replies: 5
    Last Post: 29th July 2014, 12:20
  3. QwtSlider turn off tick draw
    By snowbound in forum Qwt
    Replies: 1
    Last Post: 13th March 2014, 08:29
  4. X axis tick label - font size
    By junhonguk in forum Qwt
    Replies: 5
    Last Post: 26th April 2012, 15:15
  5. Replies: 2
    Last Post: 29th September 2011, 13:10

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
  •  
Qt is a trademark of The Qt Company.