title: Adding text to widget pyqt and python code
body: <p>Im trying to add text into the styled boxes i have here and cannot for the life of me figure it out.  I know this is prob very simple.  I have read the docs but still cannot grasp it.  What am i doing wrong here?</p>
  
  <pre><code>class Weather(QtGui.QWidget):
  
      def __init__(self):
          super(Weather, self).__init__()
  
          self.initUI()
  
      def initUI(self):      
  
          hbox = QtGui.QHBoxLayout(self)
  
          topleft = QtGui.QFrame(self)
          topleft.setFrameShape(QtGui.QFrame.Panel)
  
          topright = QtGui.QFrame(self)
          topright.setFrameShape(QtGui.QFrame.Panel)
  
          bottom = QtGui.QFrame(self)
          bottom.setFrameShape(QtGui.QFrame.Panel)
  
          splitter1 = QtGui.QSplitter(QtCore.Qt.Horizontal)
          splitter1.addWidget(topleft)
          splitter1.addWidget(topright)
          splitter1.addWidget(QtGui.QLabel('Humidity:{:0.1f}%'.format(humidity) ))
          splitter1.addWidget(QtGui.QLabel('Temp:{:0.1f} F'.format(temperature) ))
  
          splitter2 = QtGui.QSplitter(QtCore.Qt.Vertical)
          splitter2.addWidget(splitter1)
          splitter2.addWidget(bottom)
  
  
  
          hbox.addWidget(splitter2)
          self.setLayout(hbox)
          QtGui.QApplication.setStyle(QtGui.QStyleFactory.create('Cleanlooks'))
  
  
          self.setGeometry(300, 300, 300, 200)
          self.setWindowTitle('Weather')
          self.show()
  </code></pre>