Hi
I am changing the stylesheet of button like , it is working fine
button_out->setStyleSheet("color: rgb(200, 127, 66, 255);
font-family: verdana, ms sans serif; font-size: 14pt;
background-color: rgb(203, 202, 203,150);
border-style: outset;border-width: 2px;border-radius: 10px;
border-color: gray");
button_out->setStyleSheet("color: rgb(200, 127, 66, 255);
font-family: verdana, ms sans serif; font-size: 14pt;
background-color: rgb(203, 202, 203,150);
border-style: outset;border-width: 2px;border-radius: 10px;
border-color: gray");
To copy to clipboard, switch view to plain text mode
to change stylesheet on button press it is not giving the desire output.
button_out->setStyleSheet("color: rgb(200, 127, 66, 255);
font-family: verdana, ms sans serif; font-size: 14pt;
background-color: rgb(203, 202, 203,150);
border-style: outset;border-width: 2px;
border-radius: 10px;border-color: gray;
QPushButton:pressed{ background-color:black}");
button_out->setStyleSheet("color: rgb(200, 127, 66, 255);
font-family: verdana, ms sans serif; font-size: 14pt;
background-color: rgb(203, 202, 203,150);
border-style: outset;border-width: 2px;
border-radius: 10px;border-color: gray;
QPushButton:pressed{ background-color:black}");
To copy to clipboard, switch view to plain text mode
What is the problem with this.
Waiting for your reply.
Bookmarks