[update] rename QtPylot -> PyLoT (suggestion)
This commit is contained in:
parent
af5953b053
commit
255eca3c05
10
QtPyLoT.py → PyLoT.py
Executable file → Normal file
10
QtPyLoT.py → PyLoT.py
Executable file → Normal file
@ -49,7 +49,7 @@ from obspy.core.util import AttribDict
|
|||||||
try:
|
try:
|
||||||
import pyqtgraph as pg
|
import pyqtgraph as pg
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print('QtPyLoT: Could not import pyqtgraph. {}'.format(e))
|
print('PyLoT: Could not import pyqtgraph. {}'.format(e))
|
||||||
pg = None
|
pg = None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
@ -964,7 +964,7 @@ class MainWindow(QMainWindow):
|
|||||||
|
|
||||||
def get_current_event(self, eventbox=None):
|
def get_current_event(self, eventbox=None):
|
||||||
'''
|
'''
|
||||||
Return event (type QtPylot.Event) currently selected in eventbox.
|
Return event (type PyLoT.Event) currently selected in eventbox.
|
||||||
'''
|
'''
|
||||||
if not eventbox:
|
if not eventbox:
|
||||||
eventbox = self.eventBox
|
eventbox = self.eventBox
|
||||||
@ -973,7 +973,7 @@ class MainWindow(QMainWindow):
|
|||||||
|
|
||||||
def get_current_event_path(self, eventbox=None):
|
def get_current_event_path(self, eventbox=None):
|
||||||
'''
|
'''
|
||||||
Return event path of event (type QtPylot.Event) currently selected in eventbox.
|
Return event path of event (type PyLoT.Event) currently selected in eventbox.
|
||||||
'''
|
'''
|
||||||
event = self.get_current_event(eventbox)
|
event = self.get_current_event(eventbox)
|
||||||
if event:
|
if event:
|
||||||
@ -981,7 +981,7 @@ class MainWindow(QMainWindow):
|
|||||||
|
|
||||||
def get_current_event_name(self, eventbox=None):
|
def get_current_event_name(self, eventbox=None):
|
||||||
'''
|
'''
|
||||||
Return event path of event (type QtPylot.Event) currently selected in eventbox.
|
Return event path of event (type PyLoT.Event) currently selected in eventbox.
|
||||||
'''
|
'''
|
||||||
path = self.get_current_event_path(eventbox)
|
path = self.get_current_event_path(eventbox)
|
||||||
if path:
|
if path:
|
||||||
@ -3034,7 +3034,7 @@ class MainWindow(QMainWindow):
|
|||||||
|
|
||||||
class Project(object):
|
class Project(object):
|
||||||
'''
|
'''
|
||||||
Pickable class containing information of a QtPyLoT project, like event lists and file locations.
|
Pickable class containing information of a PyLoT project, like event lists and file locations.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
@ -22,7 +22,7 @@ from PySide import QtCore, QtGui
|
|||||||
try:
|
try:
|
||||||
import pyqtgraph as pg
|
import pyqtgraph as pg
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print('QtPyLoT: Could not import pyqtgraph. {}'.format(e))
|
print('PyLoT: Could not import pyqtgraph. {}'.format(e))
|
||||||
pg = None
|
pg = None
|
||||||
|
|
||||||
def _pickle_method(m):
|
def _pickle_method(m):
|
||||||
|
@ -2472,7 +2472,7 @@ class TuneAutopicker(QWidget):
|
|||||||
QWidget used to modifiy and test picking parameters for autopicking algorithm.
|
QWidget used to modifiy and test picking parameters for autopicking algorithm.
|
||||||
|
|
||||||
:param: parent
|
:param: parent
|
||||||
:type: QtPyLoT Mainwindow
|
:type: PyLoT Mainwindow
|
||||||
'''
|
'''
|
||||||
|
|
||||||
def __init__(self, parent):
|
def __init__(self, parent):
|
||||||
|
Loading…
Reference in New Issue
Block a user