astrodatagui: disable plot options by default
enable then when the first section/target table id was selected
This commit is contained in:
@@ -160,6 +160,7 @@ class AstrodataGUI(QtWidgets.QMainWindow):
|
|||||||
self.updateStarAltNames(altNames)
|
self.updateStarAltNames(altNames)
|
||||||
|
|
||||||
def sequenceSelected(self, item):
|
def sequenceSelected(self, item):
|
||||||
|
self.gbPlotOptions.setEnabled(True)
|
||||||
seqText = item.text().split(" - ")
|
seqText = item.text().split(" - ")
|
||||||
mainName = self.listDownloaded.currentItem().text()
|
mainName = self.listDownloaded.currentItem().text()
|
||||||
source = seqText[0]
|
source = seqText[0]
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>1612</width>
|
<width>1658</width>
|
||||||
<height>1043</height>
|
<height>1043</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@@ -218,7 +218,10 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="2">
|
<item row="0" column="2">
|
||||||
<widget class="QGroupBox" name="groupBox_4">
|
<widget class="QGroupBox" name="gbPlotOptions">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
|
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
@@ -1004,7 +1007,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>1612</width>
|
<width>1658</width>
|
||||||
<height>21</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
|||||||
Reference in New Issue
Block a user