The old code used a grid layout inside the QGroupBox, but the design with labels in the first and edit-widgets in the second column lends itself to a QFormLayout, which adapts the alignment of the widgets to the platform style, so use that. Amends 2690822428deec4f0c08f4d118d69a7c6036369e, which, however, inherited all of the above from even older code. Pick-to: 6.8 Change-Id: I528f0ce9d8cb7a997fbfabcdca887c059f571b38 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 9c099ef942216d01261c26b60e3727a2a467f12a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Qt provides extensive database interoperability, with support for products from both open source and proprietary vendors. SQL support is integrated with Qt's model/view architecture, making it easier to provide GUI integration for your database applications. Documentation for these examples can be found via the Examples link in the main Qt documentation.