qt6-bb10/examples/sql/sqlbrowser
Marc Mutz ef77a08f76 sqlbrowser example: use idiomatic Qt [3/3]: use form-layout
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 2690822428, which, however,
inherited all of the above from even older code.

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>
(cherry picked from commit 02f05bdb5fa7e43d36a50d90a290dd069c2dea62)
2025-01-02 19:19:47 +00:00
..
CMakeLists.txt CMake: Add deployment API to our examples 2024-03-22 20:23:52 +01:00
browser.cpp SQL/QSqlField: deprecate internal functions setSqlType()/typeID() 2024-03-10 18:16:00 +00:00
browser.h Examples/sqlbrowser: improve coding style 2024-01-19 17:27:25 +01:00
browserwidget.ui add strategy support to sqlbrowser example 2012-03-06 06:34:33 +01:00
connectionwidget.cpp Examples/sqlbrowser: improve coding style 2024-01-19 17:27:25 +01:00
connectionwidget.h Examples/sqlbrowser: improve coding style 2024-01-19 17:27:25 +01:00
main.cpp Examples/sqlbrowser: improve coding style 2024-01-19 17:27:25 +01:00
qsqlconnectiondialog.cpp sqlbrowser example: use idiomatic Qt [2/3]: use button-box / override accept() 2025-01-02 19:19:41 +00:00
qsqlconnectiondialog.h sqlbrowser example: use idiomatic Qt [2/3]: use button-box / override accept() 2025-01-02 19:19:41 +00:00
qsqlconnectiondialog.ui sqlbrowser example: use idiomatic Qt [3/3]: use form-layout 2025-01-02 19:19:47 +00:00
sqlbrowser.pro qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00