title: Qmessagebox, Error: argument 1 has unexpected type 'Ui_MainWindow'
body: <p>With QTDesigner in version 5, I have done a mainwindow, now i like to create a QMessagebox on click on the Button in the mainwindow. </p>
  
  <p>I got an error : argument 1 has unexpected type 'Ui_MainWindow'</p>
  
  <p>I have no idea why this is not working, hopefully you can help me i'm really new to programming:</p>
  
  <p>The line i added:</p>
  
  <pre><code>self.pushButton.clicked.connect(QtWidgets.QMessageBox.information(self, "Empty String", "Please enter day."))
  </code></pre>
  
  <p>to:</p>
  
  <pre><code>from PyQt5 import QtCore, QtGui, QtWidgets
  
  class Ui_MainWindow(object):
      def setupUi(self, MainWindow):
          MainWindow.setObjectName("MainWindow")
          MainWindow.resize(320, 240)
          self.centralwidget = QtWidgets.QWidget(MainWindow)
          self.centralwidget.setObjectName("centralwidget")
          self.pushButton = QtWidgets.QPushButton(self.centralwidget)
          self.pushButton.setGeometry(QtCore.QRect(210, 160, 75, 23))
          self.pushButton.setObjectName("pushButton")
          MainWindow.setCentralWidget(self.centralwidget)
          self.menubar = QtWidgets.QMenuBar(MainWindow)
          self.menubar.setGeometry(QtCore.QRect(0, 0, 320, 21))
          self.menubar.setObjectName("menubar")
          MainWindow.setMenuBar(self.menubar)
          self.statusbar = QtWidgets.QStatusBar(MainWindow)
          self.statusbar.setObjectName("statusbar")
          MainWindow.setStatusBar(self.statusbar)
  
          self.retranslateUi(MainWindow)
          self.pushButton.clicked.connect(QtWidgets.QMessageBox.information(self, "Empty String", "Please enter day."))
          QtCore.QMetaObject.connectSlotsByName(MainWindow)
  
      def retranslateUi(self, MainWindow):
          _translate = QtCore.QCoreApplication.translate
          MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
          self.pushButton.setText(_translate("MainWindow", "PushButton"))
  
  
  if __name__ == "__main__":
      import sys
      app = QtWidgets.QApplication(sys.argv)
      MainWindow = QtWidgets.QMainWindow()
      ui = Ui_MainWindow()
      ui.setupUi(MainWindow)
      MainWindow.show()
      sys.exit(app.exec_())
  </code></pre>