def _create_control(self, parent): """ Create the toolkit-specific control that represents the widget. """ control = QSpinBox(parent) return control