A simple button + alert in both QML and CPP way