Qt World Summit: Submit your Presentation

[Solved] Pushbutton pressed

  • Hello
    I need a hint on how to solve this problem

    I got a button and on the buttons click event the counter thet I use takes step by ten (10)
    but in the buttons pressed event i want the counter to step one (1) until the buttons release event.

    Maybe this is a simpel task but I'm stuck

    used a Timer and press and release signals.

  • you could use the pressed signal of the button.

  • I'm trying with that but it will not work,
    I think I need a loop inside the on_button_pressed() func

Log in to reply