[new] preparing MainWindow for location button
This commit is contained in:
parent
06337b4d66
commit
21bb39d528
10
QtPyLoT.py
10
QtPyLoT.py
@ -759,6 +759,16 @@ class MainWindow(QMainWindow):
|
|||||||
"PyLoT - seismic processing the python way[*]")
|
"PyLoT - seismic processing the python way[*]")
|
||||||
self.setWindowModified(self.dirty)
|
self.setWindowModified(self.dirty)
|
||||||
|
|
||||||
|
def check4Loc(self):
|
||||||
|
return self.picksNum() > 4
|
||||||
|
|
||||||
|
def picksNum(self):
|
||||||
|
num = 0
|
||||||
|
for phases in self.getPicks().values():
|
||||||
|
num += len(phases)
|
||||||
|
return num
|
||||||
|
|
||||||
|
|
||||||
def tutorUser(self):
|
def tutorUser(self):
|
||||||
self.updateStatus('select trace to pick on station ...', 10000)
|
self.updateStatus('select trace to pick on station ...', 10000)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user