Results 1 to 3 of 3

Thread: SetSinglestep

  1. #1
    Join Date
    Sep 2019
    Posts
    6
    Thanks
    3
    Qt products
    Qt5
    Platforms
    MacOS X

    Lightbulb SetSinglestep

    How can I setSinglestep in spinbox when the value is 100 setSinglestep to 100 and when value is 100 setSinglestep to 1000??

    thank you for reply

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,462
    Thanked 271 Times in 266 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: SetSinglestep

    Connect to the signal QSpinBox::valueChanged(int i) and in slot use QSpinBox::setSingleStep.

  3. #3
    Join Date
    Sep 2019
    Posts
    6
    Thanks
    3
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: SetSinglestep

    I'll try . Thank you

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.