def __init__(self, parent=None): QtGui.QSpinBox.__init__(self, parent) self.setStyleSheet(''' QSpinBox { border:0px; } ''')