title: PyQt5 styleSheet different results
body: <p>I am making a Python GUI using PyQt5 and its editor. Trying to put some colors to the thing I played around with styleSheet. But I encountered a different result when using it in a QMainQindow(left side of the image  and a QDialog(right side [desired look]). It is like it creates the same effect to every other widget.</p>
  
  <p>[![enter image description here][1]][1]</p>
  
  <p>Code from the QMainWindow</p>
  
  <pre><code>&lt;property name="windowTitle"&gt;
     &lt;string&gt;MainWindow&lt;/string&gt;
    &lt;/property&gt;
    &lt;widget class="QWidget" name="centralwidget"&gt;
     &lt;property name="styleSheet"&gt;
      &lt;string notr="true"&gt;QWidget{
          background-color:qlineargradient(spread:repeat, x1:0, y1:1, x2:1, y2:0, stop:0 rgba(39, 21, 103, 255), stop:1 rgba(94, 94, 140, 255))
          }
  
          QPushButton{
          background-color: qlineargradient(spread:pad, x1:0.915, y1:0.227273, x2:1, y2:0, stop:0 rgba(255, 255, 255, 255), stop:1 rgba(56, 56, 140, 255));
          font: 75 8.5pt &amp;quot;Sitka Small&amp;quot;;
          }
  
          QToolButton{background-color: qlineargradient(spread:pad, x1:0.915, y1:0.227273, x2:1, y2:0, stop:0 rgba(255, 255, 255, 255), stop:1 rgba(56, 56, 140, 255));
          font: 75 8.5pt &amp;quot;Sitka Small&amp;quot;;
          }
  
          QLabel{
          color: rgb(255, 255, 255);
          }
  
          font: 75 8.5pt &amp;quot;Sitka Small&amp;quot;
        &lt;/string&gt;
     &lt;/property&gt;
  </code></pre>
  
  <p>Code from QDialog</p>
  
  <pre><code> &lt;property name="windowTitle"&gt;
     &lt;string&gt;Dialog&lt;/string&gt;
    &lt;/property&gt;
    &lt;property name="styleSheet"&gt;
     &lt;string notr="true"&gt;QDialog{
  background-color:qlineargradient(spread:repeat, x1:0, y1:1, x2:1, y2:0, stop:0 rgba(39, 21, 103, 255), stop:1 rgba(94, 94, 140, 255))
  }
  
  QPushButton{
  background-color: qlineargradient(spread:pad, x1:0.915, y1:0.227273, x2:1, y2:0, stop:0 rgba(255, 255, 255, 255), stop:1 rgba(56, 56, 140, 255));
  font: 75 8.5pt &amp;quot;Sitka Small&amp;quot;;
  }
  
  QToolButton{background-color: qlineargradient(spread:pad, x1:0.915, y1:0.227273, x2:1, y2:0, stop:0 rgba(255, 255, 255, 255), stop:1 rgba(56, 56, 140, 255));
  font: 75 8.5pt &amp;quot;Sitka Small&amp;quot;;
  }
  
  QLabel{
  color: rgb(255, 255, 255);
  }
  
  font: 75 8.5pt &amp;quot;Sitka Small&amp;quot;
  
  &lt;/string&gt;
    &lt;/property&gt;
  </code></pre>
  
  <p>How can I have the look of the QDialog on the right at the QMainWindow?</p>