QFrame *fr2=new QFrame(this); fr2->setGeometry(0,140,90,40); fr2->setStyleSheet("background-color:#c1f1f6;"); fr2->setVisible(true);