Results 1 to 6 of 6

Thread: Automatic update of scale division on resize of plot widget

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,318
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Automatic update of scale division on resize of plot widget

    Install an eventFilter for the scale widgets and handle the resize events. There you can change the scale division using the regular Qwt APIs. Maybe it's worth to reimplement QwtPlot::minimumSizeHint as it depends on the scale widgets ( and its ticks and labels ) in the first place.

    Uwe

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

    mariposa (12th September 2010)

Similar Threads

  1. Automatic scale of Graphics View
    By mirelon in forum Qt Programming
    Replies: 1
    Last Post: 12th January 2010, 21:36
  2. Scale division problem
    By Indalo in forum Qwt
    Replies: 0
    Last Post: 2nd December 2009, 08:36
  3. Replies: 5
    Last Post: 27th September 2009, 12:55
  4. qwp plot axis scale
    By Cal in forum Qwt
    Replies: 1
    Last Post: 11th May 2009, 17:10
  5. how to hide the scale in qwt plot
    By babu198649 in forum Qwt
    Replies: 2
    Last Post: 7th March 2008, 06:38

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.