unified class naming
This commit is contained in:
parent
36531c9923
commit
0dec3eb7f0
@ -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.
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user