# 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_CylinderBase(object):
   def setupUi(self, CylinderBase):
      CylinderBase.setObjectName("CylinderBase")
      CylinderBase.resize(QtCore.QSize(QtCore.QRect(0,0,452,49).size()).expandedTo(CylinderBase.minimumSizeHint()))

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

      self.mHeightLbl = QtGui.QLabel(CylinderBase)
      self.mHeightLbl.setObjectName("mHeightLbl")
      self.gridlayout.addWidget(self.mHeightLbl,0,0,1,1)

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

      self.mShowSides = QtGui.QCheckBox(CylinderBase)
      self.mShowSides.setChecked(True)
      self.mShowSides.setObjectName("mShowSides")
      self.gridlayout.addWidget(self.mShowSides,0,2,1,2)

      self.mShowTop = QtGui.QCheckBox(CylinderBase)
      self.mShowTop.setChecked(True)
      self.mShowTop.setObjectName("mShowTop")
      self.gridlayout.addWidget(self.mShowTop,0,4,1,1)

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

      self.mRadius = QtGui.QDoubleSpinBox(CylinderBase)
      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,1,1,1,1)

      self.mNumSidesLbl = QtGui.QLabel(CylinderBase)
      self.mNumSidesLbl.setIndent(0)
      self.mNumSidesLbl.setObjectName("mNumSidesLbl")
      self.gridlayout.addWidget(self.mNumSidesLbl,1,2,1,1)

      self.mNumSides = QtGui.QSpinBox(CylinderBase)
      self.mNumSides.setMinimum(3)
      self.mNumSides.setMaximum(65535)
      self.mNumSides.setProperty("value",QtCore.QVariant(8))
      self.mNumSides.setObjectName("mNumSides")
      self.gridlayout.addWidget(self.mNumSides,1,3,1,1)

      self.mShowBottom = QtGui.QCheckBox(CylinderBase)
      self.mShowBottom.setChecked(True)
      self.mShowBottom.setObjectName("mShowBottom")
      self.gridlayout.addWidget(self.mShowBottom,1,4,1,1)
      self.mHeightLbl.setBuddy(self.mHeight)
      self.mRadiusLbl.setBuddy(self.mRadius)
      self.mNumSidesLbl.setBuddy(self.mNumSides)

      self.retranslateUi(CylinderBase)
      QtCore.QMetaObject.connectSlotsByName(CylinderBase)
      CylinderBase.setTabOrder(self.mHeight,self.mRadius)
      CylinderBase.setTabOrder(self.mRadius,self.mShowSides)
      CylinderBase.setTabOrder(self.mShowSides,self.mNumSides)
      CylinderBase.setTabOrder(self.mNumSides,self.mShowTop)
      CylinderBase.setTabOrder(self.mShowTop,self.mShowBottom)

   def retranslateUi(self, CylinderBase):
      CylinderBase.setWindowTitle(QtGui.QApplication.translate("CylinderBase", "Cylinder", None, QtGui.QApplication.UnicodeUTF8))
      self.mHeightLbl.setText(QtGui.QApplication.translate("CylinderBase", "Height:", None, QtGui.QApplication.UnicodeUTF8))
      self.mShowSides.setText(QtGui.QApplication.translate("CylinderBase", "Show Sides", None, QtGui.QApplication.UnicodeUTF8))
      self.mShowTop.setText(QtGui.QApplication.translate("CylinderBase", "Show Top", None, QtGui.QApplication.UnicodeUTF8))
      self.mRadiusLbl.setText(QtGui.QApplication.translate("CylinderBase", "Radius:", None, QtGui.QApplication.UnicodeUTF8))
      self.mNumSidesLbl.setText(QtGui.QApplication.translate("CylinderBase", "# Sides:", None, QtGui.QApplication.UnicodeUTF8))
      self.mShowBottom.setText(QtGui.QApplication.translate("CylinderBase", "Show Bottom", None, QtGui.QApplication.UnicodeUTF8))



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