コード例 #1
0
 def GeneratePlot(self):
     self.PlotWindow = QtWidgets.QWidget()
     self.ui = GraphicWidgetLogic(self)
     self.ui.setupUi(self.PlotWindow)
     self.ui.initializeBinds()
     self.ui.plotSquare(self.doubleSpinBoxAmplitude.value(), self.doubleSpinBoxFrequency.value())
     return self.PlotWindow
コード例 #2
0
 def GeneratePlot(self):
     self.PlotWindow = QtWidgets.QWidget()
     self.ui = GraphicWidgetLogic(self)
     self.ui.setupUi(self.PlotWindow)
     self.ui.initializeBinds()
     self.ui.plotHarmonic(self.x, self.y)
     return self.PlotWindow