title: Qt - How to place a QTextEdit with left and right margins in a QVBoxLayout?
body: <p>How to place a <code>QTextEdit</code> with left and right margins in a <code>QVBoxLayout</code>? I could use, of course, a <code>QHBoxLayout</code>, place the <code>QTextEdit</code> into that horizontal layout in between to spacings (<code>addSpacing(40)</code>) and only then the horizontal layout could add into the vertical layout, but want to know if there is a direct way of doing that.</p>