closeButton = new QPushButton();
closeButton->setStyleSheet("QPushButton{image:url(:/xx/Resources/blackclose.png);background-color:transparent;}"
"QPushButton:hover{image:url(:/xx/Resources/blueclose.png)}"
"QPushButton:pressed{image:url(:/xx/Resources/blueclose.png)}");