def METHOD_NAME(self, parent):
    """Finishes initializing the editor by creating the underlying toolkit
    widget.
    """
    # set min and max early, don't wait for editor sync
    self.minimum_datetime = self.factory.minimum_datetime
    self.maximum_datetime = self.factory.maximum_datetime
    self.control = QtGui.QDateTimeEdit()
    self.update_minimum_datetime()
    self.update_maximum_datetime()
    self.control.dateTimeChanged.connect(self.update_object)