title: Changing the Digit Color of QLCD Number
body: <p>I want to change the background and digit color of <code>QLCDNumber</code> in Qt Designer and I am going to use that design(GUI) on my Python program.</p>
  
  <p>Some people said, that can get my adding style sheet in Qt-Designer.</p>
  
  <pre><code>QLCDNumber{color:rgb(85, 85, 255);background-color:rgb(0, 170, 255);}
  </code></pre>
  
  <p>It is successful for background color not for digit color.</p>
  
  <p>How do I try for getting digit color</p>
  
  <p>Thanks</p>
  
  <hr>
  
  <p>I can't used the last two setColor(for light border and dark border). I was generating the python code(for GUI) from Qt4 Designer with pyuic4 tool. I added the codes into my python code file (ending with .py not .ui) as follows</p>
  
  <pre><code>self.palette = self.withpalette.palette()
  self.palette.setColor(QtGui.Palette.WindowText,QtGui.QColor(85,85,255))
  self.palette.setColor(QtGui.Palette.Background,QtGui.QColor(0,170,255))
  self.palette.setColor(QtGui.Palette.Light,QtGui.QColor(255,0,0))
  self.palette.setColor(QtGui.Palette.Dark,QtGui.QColor(0,255,0))
  self.withpalette.setPalette(self.palette)
  </code></pre>