def set_trade_total(self, value): value_float = utilities.internal2float(value) self.mainWindow.doubleSpinBoxTotal.setValue(value_float)
def set_trade_price(self, value): value_float = utilities.internal2float(value) self.mainWindow.doubleSpinBoxPrice.setValue(value_float)
def set_trade_size(self, value): value_float = utilities.internal2float(value) self.ui.doubleSpinBoxBtc.setValue(value_float)