OUTPUTFORMATS in defaults defined; manage available formats just from here

This commit is contained in:
2014-12-17 06:35:12 +01:00
parent 8213cdc575
commit 3fe1e3906e
3 changed files with 11 additions and 3 deletions

View File

@@ -37,6 +37,7 @@ from PySide.QtCore import (Qt,
SLOT)
from PySide.QtWebKit import QWebView
from pylot.core.read import FilterOptions
from pylot.core.util.defaults import OUTPUTFORMATS
class MPLWidget(FigureCanvasQTAgg):
@@ -119,7 +120,7 @@ class OutputsTab(QWidget):
eventOutputLabel = QLabel("event ouput format")
eventOutputComboBox = QComboBox()
eventoutputformats = ["QuakeML", "VelEst"]
eventoutputformats = OUTPUTFORMATS.keys()
eventOutputComboBox.addItems(eventoutputformats)
layout = QGridLayout()