About px in qss file and QSize(x,y) in cpp file
galaxyHu last edited by
who can tell me what's the uint in QSize(x,y)?For example, I set one's width 36 in qss file by "px",but in cpp file,I set width 36 by cpp methods, they are not the same size.
AFAIK, it's pixels.
What difference do you have ?