Niamita
9th January 2012, 07:06
Hi all
I want to make my background transparent when clicked a button and after clicking on another button i want to make background as it was earlier. I try
this->setStyleSheet("background:transparent");
this->setAttribute(Qt::WA_TranslucentBackground, true);
this->setWindowFlags(Qt::FramelessWindowHint);
and
this->setStyleSheet("background:transparent");
this->setAttribute(Qt::WA_TranslucentBackground, false);
this->setWindowFlags(Qt::FramelessWindowHint);
but not getting desired result.
What i am doing here.
Waiting for yours response.
I want to make my background transparent when clicked a button and after clicking on another button i want to make background as it was earlier. I try
this->setStyleSheet("background:transparent");
this->setAttribute(Qt::WA_TranslucentBackground, true);
this->setWindowFlags(Qt::FramelessWindowHint);
and
this->setStyleSheet("background:transparent");
this->setAttribute(Qt::WA_TranslucentBackground, false);
this->setWindowFlags(Qt::FramelessWindowHint);
but not getting desired result.
What i am doing here.
Waiting for yours response.