def _showCalendar(self):
        menu   = QtGui.QMenu(self)
        action = QtGui.QWidgetAction(menu)
        item   = DatePickerWidget(self._setDate, self.qtDate) # Pass in callback function
        action.setDefaultWidget(item)
        menu.addAction(action)
        menu.popup(QtGui.QCursor.pos())
Pop up a little calendar window so the user can select a date
dataset/ETHPy150Open nasa/CrisisMappingToolkit/cmt/util/production_gui.py/ProductionGui._showCalendar