astrodatagui: add count all flares dummy button

This commit is contained in:
2024-05-13 15:08:09 +02:00
parent dbdda26399
commit 00f37d80e8
2 changed files with 13 additions and 1 deletions
+5
View File
@@ -53,6 +53,8 @@ class AstrodataGUI(QtWidgets.QMainWindow):
self.cbPlotShowQuality.stateChanged.connect(self.plotOptionsShowQuality) self.cbPlotShowQuality.stateChanged.connect(self.plotOptionsShowQuality)
self.btCountAllFlares.clicked.connect(self.btCountAllFlaresClicked)
self.setupCustomSimbadQueries() self.setupCustomSimbadQueries()
self.show() self.show()
self.loadDB() self.loadDB()
@@ -340,3 +342,6 @@ class AstrodataGUI(QtWidgets.QMainWindow):
method = self.comboPlotPeriodogramMethod.currentText() method = self.comboPlotPeriodogramMethod.currentText()
view = self.comboPlotPeriodogramView.currentText() view = self.comboPlotPeriodogramView.currentText()
self.flaredetectorPreview.setPeriodogramState(periodogramEnabled, method, view) self.flaredetectorPreview.setPeriodogramState(periodogramEnabled, method, view)
def btCountAllFlaresClicked(self):
pass
+7
View File
@@ -120,6 +120,13 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<widget class="QPushButton" name="btCountAllFlares">
<property name="text">
<string>Count All Flares</string>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>