def __init__(self,scene,parent=None):
   QtGui.QWidget.__init__(self,parent)
   self.scene = scene
   flayout = QtGui.QVBoxLayout()
   hhlayout = QtGui.QHBoxLayout()
   self.floorname = QtGui.QLineEdit()
   hhlayout.addWidget(QtGui.QLabel('Enter Floor Name:'))
   hhlayout.addWidget(self.floorname)
   self.floornamebutton = QtGui.QPushButton('Add F&loor')
   hhlayout.addWidget(self.floornamebutton)
   flayout.addLayout(hhlayout)
   self.floorlist = QtGui.QComboBox()
   flayout.addWidget(self.floorlist)
   self.dimensions = dimensionwidget.dimensionWidget(scene)
   flayout.addWidget(self.dimensions)
   flayout.addStretch()
   self.setLayout(flayout)
   self.connect(self.floornamebutton, QtCore.SIGNAL('clicked ( bool)'),self.floornamebuttonclicked)
   self.connect(self.floorlist,QtCore.SIGNAL('currentIndexChanged (int)'),self.floorlistchanged)
 def __init__(self,scene,parent=None):
   QtGui.QWidget.__init__(self,parent)
   self.scene = scene
   zonegblayout = QtGui.QVBoxLayout()
   hhlayout = QtGui.QHBoxLayout()
   hhlayout.addWidget(QtGui.QLabel('Enter Zone Name:'))
   self.zonename = QtGui.QLineEdit()
   hhlayout.addWidget(self.zonename)
   self.zonenamebutton = QtGui.QPushButton('Add &Zone')
   hhlayout.addWidget(self.zonenamebutton)
   zonegblayout.addLayout(hhlayout)
   self.zonelist = QtGui.QComboBox()
   zonegblayout.addWidget(self.zonelist)
   self.dimensions = dimensionwidget.dimensionWidget(scene)
   zonegblayout.addWidget(self.dimensions)
   zonegblayout.addStretch()
   self.setLayout(zonegblayout)
   self.connect(self.zonenamebutton, QtCore.SIGNAL('clicked ( bool)'),self.zonenamebuttonclicked)
   self.connect(self.zonelist,QtCore.SIGNAL('currentIndexChanged (int)'),self.zonelistchanged)
   self.zonenamebutton.setEnabled(False)
   self.zonelist.setEnabled(False)
   self.zonename.setEnabled(False)