def get_max_datetime(self, widget): """ Get the toolkits widget's minimum datetime attribute. """ datetime = widget.maximumDateTime() return qdatetime_to_python(datetime)
def get_datetime(self, widget): """ Get the toolkits widget's active datetime. """ datetime = widget.dateTime() return qdatetime_to_python(datetime)