unified class naming

This commit is contained in:
Sebastian Wehling-Benatelli 2014-04-01 16:48:16 +02:00
parent 36531c9923
commit 0dec3eb7f0
2 changed files with 12 additions and 3 deletions

View File

@ -8,7 +8,7 @@
import os import os
class GenericDataBase(object): class GenericDataStructure(object):
''' '''
GenericDataBase type holds all information about the current data- GenericDataBase type holds all information about the current data-
base working on. base working on.

View File

@ -14,6 +14,9 @@ from matplotlib.figure import Figure
from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg
from PySide.QtGui import (QDialog, QDockWidget) from PySide.QtGui import (QDialog, QDockWidget)
from pylot.core.util import OptionsError
from pylot.core.util import FilterOptions
class MPLWidget(FigureCanvasQTAgg): class MPLWidget(FigureCanvasQTAgg):
@ -43,7 +46,7 @@ class PickDlg(QDialog):
class PropertiesDlg(QDialog): class PropertiesDlg(QDialog):
def __init__(self, parent=None): def __init__(self, parent=None):
super(PropertiesWindow, self).__init__(parent) super(PropertiesDlg, self).__init__(parent)
class FilterOptionsDock(QDockWidget): class FilterOptionsDock(QDockWidget):
@ -56,5 +59,11 @@ class FilterOptionsDock(QDockWidget):
try: try:
fOptions = FilterOptions(**filterOptions) fOptions = FilterOptions(**filterOptions)
filterOptions = fOptions filterOptions = fOptions
except e: except Exception, e:
raise OptionsError('%s' % e) raise OptionsError('%s' % e)
class LoadDataDlg(QDialog):
def __init__(self, parent=None):
super(LoadDataDlg, self).__init__(parent)