# vPresent is an immersive presentation creation and display application.
# Copyright (C) 2007-2008 by Infiscape Corporation
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

# -*- coding: utf-8 -*-

#      by: PyQt4 UI code generator 4.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_FisheyeBase(object):
   def setupUi(self, FisheyeBase):
      FisheyeBase.setObjectName("FisheyeBase")
      FisheyeBase.resize(QtCore.QSize(QtCore.QRect(0,0,258,97).size()).expandedTo(FisheyeBase.minimumSizeHint()))

      self.gridlayout = QtGui.QGridLayout(FisheyeBase)
      self.gridlayout.setMargin(1)
      self.gridlayout.setSpacing(1)
      self.gridlayout.setObjectName("gridlayout")

      self.mRadiusLbl = QtGui.QLabel(FisheyeBase)
      self.mRadiusLbl.setObjectName("mRadiusLbl")
      self.gridlayout.addWidget(self.mRadiusLbl,0,0,1,1)

      self.mRadius = QtGui.QDoubleSpinBox(FisheyeBase)
      self.mRadius.setMinimum(0.01)
      self.mRadius.setMaximum(1e+37)
      self.mRadius.setProperty("value",QtCore.QVariant(1.0))
      self.mRadius.setObjectName("mRadius")
      self.gridlayout.addWidget(self.mRadius,0,1,1,1)

      self.mSpanLbl = QtGui.QLabel(FisheyeBase)
      self.mSpanLbl.setObjectName("mSpanLbl")
      self.gridlayout.addWidget(self.mSpanLbl,1,0,1,1)

      self.mSpan = QtGui.QDoubleSpinBox(FisheyeBase)
      self.mSpan.setMinimum(0.01)
      self.mSpan.setMaximum(360.0)
      self.mSpan.setSingleStep(5.0)
      self.mSpan.setProperty("value",QtCore.QVariant(180.0))
      self.mSpan.setObjectName("mSpan")
      self.gridlayout.addWidget(self.mSpan,1,1,1,1)

      self.mLatResLbl = QtGui.QLabel(FisheyeBase)
      self.mLatResLbl.setObjectName("mLatResLbl")
      self.gridlayout.addWidget(self.mLatResLbl,2,0,1,1)

      self.mLatRes = QtGui.QSpinBox(FisheyeBase)
      self.mLatRes.setMinimum(4)
      self.mLatRes.setMaximum(65535)
      self.mLatRes.setProperty("value",QtCore.QVariant(50))
      self.mLatRes.setObjectName("mLatRes")
      self.gridlayout.addWidget(self.mLatRes,2,1,1,1)

      self.mLonResLbl = QtGui.QLabel(FisheyeBase)
      self.mLonResLbl.setObjectName("mLonResLbl")
      self.gridlayout.addWidget(self.mLonResLbl,3,0,1,1)

      self.mLonRes = QtGui.QSpinBox(FisheyeBase)
      self.mLonRes.setMinimum(4)
      self.mLonRes.setMaximum(65535)
      self.mLonRes.setProperty("value",QtCore.QVariant(50))
      self.mLonRes.setObjectName("mLonRes")
      self.gridlayout.addWidget(self.mLonRes,3,1,1,1)
      self.mRadiusLbl.setBuddy(self.mRadius)
      self.mSpanLbl.setBuddy(self.mSpan)
      self.mLatResLbl.setBuddy(self.mLatRes)
      self.mLonResLbl.setBuddy(self.mLonRes)

      self.retranslateUi(FisheyeBase)
      QtCore.QMetaObject.connectSlotsByName(FisheyeBase)
      FisheyeBase.setTabOrder(self.mRadius,self.mSpan)
      FisheyeBase.setTabOrder(self.mSpan,self.mLatRes)
      FisheyeBase.setTabOrder(self.mLatRes,self.mLonRes)

   def retranslateUi(self, FisheyeBase):
      FisheyeBase.setWindowTitle(QtGui.QApplication.translate("FisheyeBase", "Fisheye", None, QtGui.QApplication.UnicodeUTF8))
      self.mRadiusLbl.setText(QtGui.QApplication.translate("FisheyeBase", "Radius:", None, QtGui.QApplication.UnicodeUTF8))
      self.mSpanLbl.setText(QtGui.QApplication.translate("FisheyeBase", "Span:", None, QtGui.QApplication.UnicodeUTF8))
      self.mLatResLbl.setText(QtGui.QApplication.translate("FisheyeBase", "Lat Resolution:", None, QtGui.QApplication.UnicodeUTF8))
      self.mLonResLbl.setText(QtGui.QApplication.translate("FisheyeBase", "Lon Resolution:", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
   import sys
   app = QtGui.QApplication(sys.argv)
   FisheyeBase = QtGui.QWidget()
   ui = Ui_FisheyeBase()
   ui.setupUi(FisheyeBase)
   FisheyeBase.show()
   sys.exit(app.exec_())
