Also, you can move the code that actually creates/adds the buttons to a separate class method and then call it from both the constructor and when you get a signal that new files were added. I am not sure what 'reloop constructor' means, but you do not want to try to call the constructor again.