title: how to add a background image to a main window without affecting the widgets in Pyqt5
body: <p>I would like to add a background image to my main window without changing the background image of pushbutton in it and also need to keep the aspect ratio</p>
  <p>i tried with</p>
  <p><code>self.centralWidget.setStyleSheet(&quot;background-image: url(The_Project_logo.png); background-repeat: no-repeat; background-position: center&quot;)</code></p>
  <p>but this changes the background images of all widgets</p>
  <p><a href="https://i.stack.imgur.com/QIfjZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QIfjZ.png" alt="Actual output" /></a></p>