added eventlist, some changes in tab structure (layouts for each tab to keep tabs when refreshing)

This commit is contained in:
2017-04-20 12:05:34 +02:00
parent 227faf14c2
commit f5dcfc654d
3 changed files with 142 additions and 9 deletions

View File

@@ -1 +1 @@
f935-dirty
227f-dirty

View File

@@ -75,8 +75,9 @@ class map_projection(QtGui.QWidget):
self.comboBox_phase = QtGui.QComboBox()
self.comboBox_phase.insertItem(0, 'P')
self.comboBox_phase.insertItem(1, 'S')
self.top_row.addWidget(QtGui.QLabel('Select a phase: '))
self.top_row.addWidget(QtGui.QLabel('Select a phase: '))
self.top_row.addWidget(self.comboBox_phase)
self.top_row.setStretch(1,1) #set stretch of item 1 to 1
if not self.figure:
fig = plt.figure()