sudhansu
27th January 2010, 06:08
Hi All,
I've created some small window ( derived from Qwidget), and place it in top of another QWidget. My requirment is ,If i select any small window then it should be focused and border need to be green. I override the paintevent(0 methode and did like following.
this->setStyleSheet("border: 2px solid Red");
this->setFocus();
But its not working? Can any bold tell me how to achive this.?
Thank u all.
I've created some small window ( derived from Qwidget), and place it in top of another QWidget. My requirment is ,If i select any small window then it should be focused and border need to be green. I override the paintevent(0 methode and did like following.
this->setStyleSheet("border: 2px solid Red");
this->setFocus();
But its not working? Can any bold tell me how to achive this.?
Thank u all.