remove of QList<QAbstractButton*> buttons and use of mainLayout and group to access to buttons