title: In Qt, how do I align form elements in different group boxes?
body: <p>I'm trying to create a standard two-column form, where the first column is a text label (<code>QLabel</code>) and the second column is an interactive widget, typically a text field (<code>QLineEdit</code>). We have decided to place form rows that share a common theme inside a <code>QGroupBox</code>, and thus in a separate layout than the main layout. Thus, the form elements inside each <code>QGroupBox</code> do not horizontally align with the form elements outside of the <code>QGroupBox</code>es.</p>
  
  <p>How can I use group boxes and layouts in a way such that the <code>QLabel</code>s and <code>QLineEdit</code>s both inside and outside group boxes are (horizontally) aligned with each other?</p>
  
  <p>Thanks!</p>