Press one button - emit signal more time
-
It's possible to use some bolean to avoid press one button all time? For example sometimes i'm doing thing's repetitive for example i'm doing some paint with qt and i want when i press button all time draw. In other words, it is possible to put on one botton pressed all time with some boolean to avoid press many times.
-
It's possible to use some bolean to avoid press one button all time? For example sometimes i'm doing thing's repetitive for example i'm doing some paint with qt and i want when i press button all time draw. In other words, it is possible to put on one botton pressed all time with some boolean to avoid press many times.
-
@Jeronimo Why not just call the slot which is connected to your button where you need it? And yes you can set a boolean variable in the button slot.
-
@Jeronimo Why not just call the slot which is connected to your button where you need it? And yes you can set a boolean variable in the button slot.
-
@Jeronimo Why not just call the slot which is connected to your button where you need it? And yes you can set a boolean variable in the button slot.
-
@jsulm normally i call with this way:
connect (ui->botonpaint,SIGNAL(clicked()),this,SLOT(paint()));But you recommend me to call slot? where i put this call to be better?¿