Hi ,<br><br>I am new in Pyqt , i am confuse on one thing whenever i make buttons the first button color always have reddish layer . I am also attaching the code and Screen Shot .<br><br>import sys<br>from PyQt4 import QtGui, QtCore<br>
<br>app = QtGui.QApplication(sys.argv)<br>widget = QtGui.QWidget()<br><br>widget.setGeometry(200, 100, 400, 300)<br>widget.setWindowTitle('PyQt Application')<br><br>close = QtGui.QPushButton(QtGui.QIcon('default.gif'), 'Close', widget)<br>
close.setGeometry(10, 10, 100, 30)<br>close1 = QtGui.QPushButton(QtGui.QIcon('default.gif'), 'Close', widget)<br>close1.setGeometry(10, 50, 100, 30)<br><br>def hello():<br>    print 'hello everybody'<br>
<br>widget.connect(close, QtCore.SIGNAL('clicked()'), hello)<br>widget.connect(close1, QtCore.SIGNAL('clicked()'), hello)<br><br>widget.show()<br>sys.exit(app.exec_())<br>