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);
this->setStyleSheet("background:transparent");
this->setAttribute(Qt::WA_TranslucentBackground, true);
this->setWindowFlags(Qt::FramelessWindowHint);
To copy to clipboard, switch view to plain text mode
and
this->setStyleSheet("background:transparent");
this->setAttribute(Qt::WA_TranslucentBackground, false);
this->setWindowFlags(Qt::FramelessWindowHint);
this->setStyleSheet("background:transparent");
this->setAttribute(Qt::WA_TranslucentBackground, false);
this->setWindowFlags(Qt::FramelessWindowHint);
To copy to clipboard, switch view to plain text mode
but not getting desired result.
What i am doing here.
Waiting for yours response.
Bookmarks