hi, anyone know why the text on label doesn't appear?? thanks
Qt Code:
  1. myLabel::myLabel (QString s, QWidget* parent, const char* name) : QLabel (parent,name) {
  2. //setText(s);
  3. this->setBackgroundColor(QColor(10,100,0));
  4. }
  5. lab1 = new myLabel ("Mod1", this->Mo,"");
  6. lab2 = new myLabel ("Mod2", this->Mo,"");
To copy to clipboard, switch view to plain text mode