def METHOD_NAME(self):
    val, selected = QtWidgets.QInputDialog.getInt(
        self,
        "Core number of windings",
        "Set core number of windings",
        value=self.coreWindings,
    )
    if not selected:
        return
    if not (self.fixedValues and val >= 0):
        self.coreWindings = val
    if self.fixedValues:
        self.update()