def get_max_date(self, widget): """ Get the toolkits widget's minimum date attribute. """ date = widget.maximumDate() return qdate_to_python(date)
def get_date(self, widget): """ Get the toolkits widget's active date. """ date = widget.selectedDate() return qdate_to_python(date)