Skip to content
Snippets Groups Projects
Commit 3caf0fc0 authored by (no author)'s avatar (no author)
Browse files

removing settings tab for now, since I don't have time to finish it before this release

git-svn-id: https://svn.ssec.wisc.edu/repos/glance/trunk@161 8a9318a1-56ba-4d59-b755-99d26321be01
parent 91b6ed4a
No related branches found
No related tags found
No related merge requests found
...@@ -72,12 +72,16 @@ class GlanceGUIView (QtGui.QWidget) : ...@@ -72,12 +72,16 @@ class GlanceGUIView (QtGui.QWidget) :
# setup the rest of our window # setup the rest of our window
# TODO, this section is temporary, set up the tabs in a sub function? # TODO, this section is temporary, set up the tabs in a sub function?
self.tabWidget = QtGui.QTabWidget() self.tabWidget = QtGui.QTabWidget()
tempWidget = QtGui.QWidget() tempWidget = QtGui.QWidget()
tempWidget.setLayout(self._build_data_tab()) tempWidget.setLayout(self._build_data_tab())
self.tabWidget.addTab(tempWidget, "basic") self.tabWidget.addTab(tempWidget, "basic")
tempWidget = QtGui.QWidget()
tempWidget.setLayout(self._build_settings_tab()) # TODO, finish setting up the settings tab and add that back in
self.tabWidget.addTab(tempWidget, "settings") #tempWidget = QtGui.QWidget()
#tempWidget.setLayout(self._build_settings_tab())
#self.tabWidget.addTab(tempWidget, "settings")
tempLayout = QtGui.QGridLayout() tempLayout = QtGui.QGridLayout()
tempLayout.addWidget(self.tabWidget) tempLayout.addWidget(self.tabWidget)
self.setLayout(tempLayout) self.setLayout(tempLayout)
...@@ -620,6 +624,8 @@ class GlanceGUIView (QtGui.QWidget) : ...@@ -620,6 +624,8 @@ class GlanceGUIView (QtGui.QWidget) :
if a list is given, then replace the list of options that are being displayed for that file. if a list is given, then replace the list of options that are being displayed for that file.
""" """
""" TODO, uncomment once that tab is set up
# if we got a new list, set up the appropriate drop down lists # if we got a new list, set up the appropriate drop down lists
if lonlatList is not None : if lonlatList is not None :
...@@ -636,6 +642,8 @@ class GlanceGUIView (QtGui.QWidget) : ...@@ -636,6 +642,8 @@ class GlanceGUIView (QtGui.QWidget) :
# set the selected longitude # set the selected longitude
tempPosition = self.widgetInfo[filePrefix]['lonName'].findText(newLongitude) tempPosition = self.widgetInfo[filePrefix]['lonName'].findText(newLongitude)
self.widgetInfo[filePrefix]['lonName'].setCurrentIndex(tempPosition) self.widgetInfo[filePrefix]['lonName'].setCurrentIndex(tempPosition)
"""
def updateEpsilon (self, epsilon) : def updateEpsilon (self, epsilon) :
""" """
...@@ -656,7 +664,7 @@ class GlanceGUIView (QtGui.QWidget) : ...@@ -656,7 +664,7 @@ class GlanceGUIView (QtGui.QWidget) :
update the epsilon for longitude and latitude displayed to the user update the epsilon for longitude and latitude displayed to the user
""" """
self.llepsilonWidget.setText(str(newLonLatEpsilon)) #self.llepsilonWidget.setText(str(newLonLatEpsilon)) TODO, uncomment once that tab is set up
def updateImageTypes (self, imageType, list=None) : def updateImageTypes (self, imageType, list=None) :
""" """
...@@ -679,6 +687,7 @@ class GlanceGUIView (QtGui.QWidget) : ...@@ -679,6 +687,7 @@ class GlanceGUIView (QtGui.QWidget) :
if the list is given, clear and reset the list of possible data forms if the list is given, clear and reset the list of possible data forms
""" """
""" TODO, uncomment once that tab is set up
# replace the list if needed # replace the list if needed
if list is not None : if list is not None :
self.dataDisplayFormDropDown.clear() self.dataDisplayFormDropDown.clear()
...@@ -687,6 +696,7 @@ class GlanceGUIView (QtGui.QWidget) : ...@@ -687,6 +696,7 @@ class GlanceGUIView (QtGui.QWidget) :
# change the currently selected data form # change the currently selected data form
tempPosition = self.dataDisplayFormDropDown.findText(dataForm) tempPosition = self.dataDisplayFormDropDown.findText(dataForm)
self.dataDisplayFormDropDown.setCurrentIndex(tempPosition) self.dataDisplayFormDropDown.setCurrentIndex(tempPosition)
"""
################# end data model update related methods ################# ################# end data model update related methods #################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment