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