deleted obsolete module
This commit is contained in:
parent
63849177be
commit
3d8bea8f7e
@ -1,7 +1,6 @@
|
||||
from pylot.core.util.connection import checkurl
|
||||
from pylot.core.util.defaults import FILTERDEFAULTS
|
||||
from pylot.core.util.errors import OptionsError, FormatError, DatastructureError
|
||||
from pylot.core.util.layouts import layoutStationButtons
|
||||
from pylot.core.util.utils import fnConstructor, createArrival, createEvent,\
|
||||
createPick, createAmplitude, createOrigin, createMagnitude, getOwner, \
|
||||
getHash, getLogin, createCreationInfo, createResourceID, prepTimeAxis, \
|
||||
@ -9,5 +8,3 @@ from pylot.core.util.utils import fnConstructor, createArrival, createEvent,\
|
||||
from pylot.core.util.widgets import PickDlg, HelpForm, FilterOptionsDialog,\
|
||||
PropertiesDlg, NewEventDlg, MPLWidget, createAction
|
||||
from pylot.core.util.version import get_git_version as _getVersionString
|
||||
|
||||
|
||||
|
@ -1,27 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# -*- coding: utf-8 -*-
|
||||
'''
|
||||
Created on 10.11.2014
|
||||
|
||||
@author: sebastianw
|
||||
'''
|
||||
|
||||
from PySide.QtGui import (QVBoxLayout,
|
||||
QPushButton)
|
||||
|
||||
def layoutStationButtons(data, comp):
|
||||
layout = QVBoxLayout()
|
||||
stationButtons = []
|
||||
try:
|
||||
st = data.select(component=comp)
|
||||
numStations = len(st)
|
||||
for n in range(numStations):
|
||||
stat = st[n].stats.station
|
||||
stationButtons.append(QPushButton('%s'.format(stat)))
|
||||
except:
|
||||
for n in range(5):
|
||||
stationButtons.append(QPushButton('ST{0:02d}'.format(n+1)))
|
||||
for button in stationButtons:
|
||||
layout.addWidget(button)
|
||||
return layout
|
Loading…
Reference in New Issue
Block a user