added minimize button for Qt4
Added minimize button for Qt5