PDA

View Full Version : OSX style QPushButton for Windows?



bobbayribs
7th September 2019, 23:14
Hi, is there any css stylesheet that would give my Windows GUI a glossy or OSX styled QPushButton?
I've searched on google, but no luck.
This is how my buttons look so far, but hoping to spruce it up a bit. Thanks!



QPushButton {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #d3dace, stop: 1 #FFFFFF);
border: 2px solid gray;
border-radius: 5px;
margin-top: 1ex;
}

QPushButton:hover {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #d3dace, stop: 1 #a0b5db);
border: 2px solid gray;
border-radius: 5px;
margin-top: 1ex;
}