title: Qt Python Calendar: selected day direct access
body: <p>I have calendar that is working fine.</p>
  
  <p>Here is the function that display the full date:</p>
  
  <pre><code>def selectDate(self,date):
      self.fullDate = str(date.day()) + " / " + str(date.month()) + " / " + str(date.year())
      print "full date: %s" % self.fullDate
  </code></pre>
  
  <p>And here the code with the calendar:</p>
  
  <pre><code>def TabCalendar(self):
      self.calendar = QtGui.QCalendarWidget(self.tab)
      self.calendar.setGeometry(QtCore.QRect(self.x1, self.y1, self.x2, self.y2)) 
  
      QtCore.QObject.connect(self.calendar, QtCore.SIGNAL("selectionChanged()"), self.selectDate)
      QtCore.QObject.connect(self.calendar, QtCore.SIGNAL("clicked(QDate)"), self.selectDate)
  </code></pre>
  
  <p>To have direct access to selected day, I am calling the function selectDate based on connect event, and then using the 'date' to obtain the precise date.day and so on -- which is working fine.</p>
  
  <p>The only awkward thing that is annoying me is that it gives the following warning..</p>
  
  <pre><code>TypeError: turbSchedule_selectDate() takes exactly 2 arguments (1 given)
  </code></pre>
  
  <p>Any suggestion to stop this TypeError warning?</p>
  
  <p>All comments and suggestions are highly appreciated.</p>