Re: [Openflipper] re-initialize plugin when user click on Clear all

Hi, I can just guess. Typicall errors: typo in function name? forgot to declare it as “slot”? private/public? forgot to inherited from the corresponding interface? The Move Plugin for example uses this Slot, maybe you can compare it with your plugin. Greets, Matthias Moeller Von: Juliette Pera Gesendet: Donnerstag, 16. April 2015 15:24 An: Matthias Möller Hi Matthias, Thank you for your answer! The thing is I already tried to use this slot and modify it in my code ( right now only display "cleared" ) but when I actually click on the "clear all" action, it doesn't seems to be executed. Do you know where it might comes from? Thanks again, Juliette 2015-04-16 15:10 GMT+02:00 Möller, Matthias <matthias.moeller@rwth-aachen.de>: Hi, you can use the slot from BaseInterface "slotAllCleared()"( http://openflipper.org/Daily-Builds/Doc/Free/Developer/a00314.html#aa00a3111... ) for reciving the signal. The slot can be defined in your plugin and will be executed whenever a "clear all" action was performed via GUI or via script or in a plugin. Greets, Matthias M. Von: openflipper-bounces@lists.rwth-aachen.de [openflipper-bounces@lists.rwth-aachen.de]" im Auftrag von "Juliette Pera [juliette.pera@gmail.com] Gesendet: Donnerstag, 16. April 2015 12:44 An: openflipper@lists.rwth-aachen.de Betreff: [Openflipper] re-initialize plugin when user click on Clear all Hi, I would like to integrate in my plugin a function that will reinitialize my plugin whenever the user click on "Clear all". Should I connect directly a function that I create to this action button? If anyone already did it, I would really appreciate some help! Thank you, Juliette -- Juliette Pera
participants (1)
-
matthias.moeller@rwth-aachen.de