Results 1 to 2 of 2

Thread: QwtSlider resize

  1. #1
    Join Date
    Jan 2006
    Location
    La Spezia,Italy
    Posts
    77
    Thanks
    9
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QwtSlider resize

    Hi all,

    i would like to resize a QwtSlider affecting the slider area and the thumb but not the scale.

    using
    setGeometry(0,0,200,50) it only resize the overral dimension of the widget but it draws a slider at the bottom of this rect with the default size.

    Can you help me?

    Thanks in advance.

  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: QwtSlider resize

    The thumb is aligned to the scale - that's what this class is about.

    Uwe

Similar Threads

  1. Replies: 1
    Last Post: 9th May 2011, 21:45
  2. Align QwtSlider and QwtPlot
    By justoit in forum Qwt
    Replies: 4
    Last Post: 4th May 2011, 12:41
  3. Setting Initial QwtSlider Position
    By Mannion in forum Qwt
    Replies: 4
    Last Post: 3rd May 2011, 22:24
  4. Replies: 1
    Last Post: 2nd May 2010, 00:03
  5. Replies: 2
    Last Post: 22nd January 2008, 17: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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.