def popupCalculator(self, value): from camelot.view.controls.calculator import Calculator calculator = Calculator() calculator.setValue(value) calculator.calculation_finished_signal.connect(self.calculation_finished) calculator.exec_()
def popupCalculator(self, value): from camelot.view.controls.calculator import Calculator calculator = Calculator() calculator.setValue(value) calculator.calculation_finished_signal.connect( self.calculation_finished) calculator.exec_()