astrodatagui: hand dictionary list over to FlareSummaryPlotGUI
This commit is contained in:
@@ -351,9 +351,8 @@ class AstrodataGUI(QtWidgets.QMainWindow):
|
||||
self.flaredetectorPreview.setPeriodogramState(periodogramEnabled, method, view)
|
||||
|
||||
def btCountAllFlaresClickedDone(self, allFlaresDictList):
|
||||
print(allFlaresDictList)
|
||||
self.calcAllFlaresThread = None
|
||||
self.AllFlaresWindow = FlareSummaryPlotGUI()
|
||||
self.AllFlaresWindow = FlareSummaryPlotGUI(allFlaresDictList)
|
||||
self.AllFlaresWindow.show()
|
||||
|
||||
def btCountAllFlaresClicked(self):
|
||||
|
||||
@@ -6,8 +6,10 @@ from matplotlib.backends.backend_qtagg import (
|
||||
|
||||
class FlareSummaryPlotGUI(QWidget):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
def __init__(self, starFLareDictList):
|
||||
super(FlareSummaryPlotGUI, self).__init__()
|
||||
|
||||
self.starFLareDictList = starFLareDictList
|
||||
|
||||
self.mainLayout = QVBoxLayout()
|
||||
self.setLayout(self.mainLayout)
|
||||
|
||||
Reference in New Issue
Block a user