add bringToFront functionality for Qt5, use old code only for Qt4