I have tried looking it up everywhere on the net, nothing conclusive so far. i have made three png files two of which are for the hover and pressed states. i have tried editing the style sheet of a regular push button with the following code but nothing happens
QPushButton#myPushButton
{
background-color: transparent;
background-image: url(":C:\Users\imagepath");
background-repeat: none; rgb(255, 255, 255)
border: none;
}
QPushButton#myPushButton:hover
{
background-image: url(":C:\Users\imagepath");
}
QPushButton#myPushButton:pressed
{
background-image: url(":C:\Users\imagepath");
}