classes for I/O started, QtPyLoT.py cleaned
This commit is contained in:
parent
25351d3827
commit
d016a80a72
@ -91,26 +91,7 @@ if __name__ == '__main__':
|
||||
pylot_app = QApplication(sys.argv)
|
||||
|
||||
pylot_main = MainWindow()
|
||||
pylot_main.setWindowTitle('TestWindow')
|
||||
|
||||
ok_btn = QPushButton('OK', pylot_main)
|
||||
|
||||
@pyqtSlot()
|
||||
def on_click():
|
||||
print('clicked')
|
||||
|
||||
@pyqtSlot()
|
||||
def on_press():
|
||||
print('pressed')
|
||||
|
||||
@pyqtSlot()
|
||||
def on_release():
|
||||
print('released')
|
||||
|
||||
# Connect signals to slots
|
||||
ok_btn.clicked.connect(on_click)
|
||||
ok_btn.pressed.connect(on_press)
|
||||
ok_btn.pressed.connect(on_release)
|
||||
pylot_main.setWindowTitle('PyLoT-The Picking and Localization Tool')
|
||||
|
||||
# Show window and run the app
|
||||
pylot_main.show()
|
||||
|
0
pylot/core/readdata/__init__.py
Normal file
0
pylot/core/readdata/__init__.py
Normal file
14
pylot/core/readdata/types.py
Normal file
14
pylot/core/readdata/types.py
Normal file
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# Provide user the opportunity to read arbitrary organized database
|
||||
# types. This means e.g. seiscomp data structure (SDS) or event based
|
||||
# EGELADOS structure.
|
||||
#
|
||||
|
||||
class GenericDataBase(object):
|
||||
def __init__(self, root=None, kwargs**):
|
||||
pass
|
||||
|
||||
|
||||
class SeiscompDataStructure(GenericDataBase):
|
||||
pass
|
Loading…
Reference in New Issue
Block a user