QT: made the code nicer + convolution dialog