code: def create_widget(self):
          
          widget = QDoubleSpinBox(self.parent_widget())
          widget.setKeyboardTracking(False)
          self.widget = widget
docs: Create the underlying QDoubleSpinBox widget.