title: How to make a QSlider read-only?
body: <p><strong>Using Qt 5.2.1</strong></p>
  
  <p>Is it possible to set a QSlider (doesn't matter if it's horizontal or vertical) to read-only that is user cannot change the value of the slider but only use it as an indicator of some sort? I was unable to find anything in the Qt documentation or the Qt Designer.</p>
  
  <p>Example for application: displaying a binary state of some sort in the GUI (in my case is the emergency stop on or off).</p>