title: Making Qt Widgets Stretch and Scale w/ Main Window
body: <p>I'm wondering if there is a way to make Qt widgets within a QMainWindow widget stretch and scale as the size of the main window is stretched and shrunk. Basically, I'd like the entire window and it's contents to have the same appearance except for size:
  <img src="https://i.stack.imgur.com/kknjj.png" alt="enter image description here"></p>
  
  <p>At the only way I can think to accomplish this is to get the size of the main window, do the math for every single widget, and reset their sizes any time the main window size is changed, but I'm thinking there's an easier way.</p>