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)
|
self.flaredetectorPreview.setPeriodogramState(periodogramEnabled, method, view)
|
||||||
|
|
||||||
def btCountAllFlaresClickedDone(self, allFlaresDictList):
|
def btCountAllFlaresClickedDone(self, allFlaresDictList):
|
||||||
print(allFlaresDictList)
|
|
||||||
self.calcAllFlaresThread = None
|
self.calcAllFlaresThread = None
|
||||||
self.AllFlaresWindow = FlareSummaryPlotGUI()
|
self.AllFlaresWindow = FlareSummaryPlotGUI(allFlaresDictList)
|
||||||
self.AllFlaresWindow.show()
|
self.AllFlaresWindow.show()
|
||||||
|
|
||||||
def btCountAllFlaresClicked(self):
|
def btCountAllFlaresClicked(self):
|
||||||
|
|||||||
@@ -6,8 +6,10 @@ from matplotlib.backends.backend_qtagg import (
|
|||||||
|
|
||||||
class FlareSummaryPlotGUI(QWidget):
|
class FlareSummaryPlotGUI(QWidget):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self, starFLareDictList):
|
||||||
super().__init__()
|
super(FlareSummaryPlotGUI, self).__init__()
|
||||||
|
|
||||||
|
self.starFLareDictList = starFLareDictList
|
||||||
|
|
||||||
self.mainLayout = QVBoxLayout()
|
self.mainLayout = QVBoxLayout()
|
||||||
self.setLayout(self.mainLayout)
|
self.setLayout(self.mainLayout)
|
||||||
|
|||||||
Reference in New Issue
Block a user