Hi, I want to make the default QSlider like that of Macintosh. Is it possible. I tried with the setStyleSheet, but failed to make that one.
Any suggestions... Please?
Thanks
Hi, I want to make the default QSlider like that of Macintosh. Is it possible. I tried with the setStyleSheet, but failed to make that one.
Any suggestions... Please?
Thanks
The appearance of a QSlider depends on the style your Qt application is using. If you're running a Mac, it should use a Mac-like style out of the box. If it doesn't, you can force it from the command line by passing an "-style macintosh" or programmatically using QApplication::setStyle().
You can't get Mac-looking widgets in a non-Mac environment as the implementation uses the native toolkit to draw widgets.