Is it possible to replace addStretch() with a line in such a way that it is not the emptiness that pushes widgets apart on the layout but rather a line?
This is my line:
Qt Code:
  1. QLabel *vDivider1 = new QLabel;
  2. vDivider1->setFrameStyle(QFrame::HLine | QFrame::Sunken);
  3. vDivider1->setLineWidth(2);
To copy to clipboard, switch view to plain text mode 
Can this be combined with layout->addStretch(); so that the line is stretched and pushes the widgets away from each other?