Results 1 to 2 of 2

Thread: QSilder - I need some advice

  1. #1
    Join Date
    Jul 2013
    Posts
    36
    Thanks
    14
    Thanked 8 Times in 8 Posts
    Qt products
    Qt5

    Default QSilder - I need some advice

    I am working on a GUI to operate a µController. For some settings I use the QSlider, which I might not use perfectly. I use the slider with the "slider_released()" signal. Next to the slider I have a Qlabel, which shows the value of the Slider. Problem is: As long as I don't release the slider, I don't get a value. So what I did was I made a second Signal with "value_changed(int)" and gave that value to the label. But I think there might be an easier way?

  2. #2
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    507
    Thanks
    11
    Thanked 76 Times in 74 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QSilder - I need some advice

    Hi, QSlider inherits the valueChanged(int) signal from QAbstractSlider.

    Ginsengelf

Similar Threads

  1. XML advice
    By stefan in forum Newbie
    Replies: 1
    Last Post: 24th December 2011, 14:12
  2. Advice and Widgets To Use
    By different in forum Newbie
    Replies: 3
    Last Post: 25th March 2010, 00:52
  3. Basic Advice
    By Ferric in forum Newbie
    Replies: 1
    Last Post: 18th December 2009, 08:52
  4. Need Advice: Best IDE for Mac OSX
    By JimDaniel in forum Qt Programming
    Replies: 6
    Last Post: 18th October 2008, 23:14
  5. Newbie needs advice
    By Seth in forum Newbie
    Replies: 3
    Last Post: 12th April 2007, 22:50

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.