From 6163a81b870adbf861468bc264efb36d4dbbb318 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Wed, 18 Sep 2024 11:32:25 +1000 Subject: [PATCH] Remove leftover group box --- src/ui/qgsnewmemorylayerdialogbase.ui | 275 +++++++++++++------------- 1 file changed, 134 insertions(+), 141 deletions(-) diff --git a/src/ui/qgsnewmemorylayerdialogbase.ui b/src/ui/qgsnewmemorylayerdialogbase.ui index b8236b4cc975..b4227d6ca466 100644 --- a/src/ui/qgsnewmemorylayerdialogbase.ui +++ b/src/ui/qgsnewmemorylayerdialogbase.ui @@ -23,8 +23,21 @@ true - - + + + + <i><b>Warning:</b> Temporary scratch layers are not saved and will be discarded when QGIS is closed.</i> + + + Qt::TextFormat::AutoText + + + true + + + + + @@ -33,14 +46,125 @@ - - + + + + Qt::FocusPolicy::StrongFocus + + - - + + - Geometry type + Include Z dimension + + + + + + + Qt::Orientation::Horizontal + + + QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Help|QDialogButtonBox::StandardButton::Ok + + + + + + + Layer name + + + + + + + + + + New Field + + + + + Name + + + mFieldNameEdit + + + + + + + + + + Type + + + mTypeBox + + + + + + + + + + Length + + + mWidth + + + + + + + + + + Precision + + + mPrecision + + + + + + + + + + + 0 + 0 + + + + Add field to list + + + Qt::LayoutDirection::LeftToRight + + + Add to Fields List + + + + :/images/themes/default/mActionNewAttribute.svg:/images/themes/default/mActionNewAttribute.svg + + + Qt::ToolButtonStyle::ToolButtonTextBesideIcon + + + + @@ -171,141 +295,10 @@ - - - - Layer name - - - - - - - <i><b>Warning:</b> Temporary scratch layers are not saved and will be discarded when QGIS is closed.</i> - - - Qt::TextFormat::AutoText - - - true - - - - - - - Qt::FocusPolicy::StrongFocus - - - - - - - Qt::Orientation::Horizontal - - - QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Help|QDialogButtonBox::StandardButton::Ok - - - - - + + - Include Z dimension - - - - - - - New Field - - - - - - Name - - - mFieldNameEdit - - - - - - - - - - Type - - - mTypeBox - - - - - - - - - - Length - - - mWidth - - - - - - - - - - Precision - - - mPrecision - - - - - - - - - - - 0 - 0 - - - - Add field to list - - - Qt::LayoutDirection::LeftToRight - - - Add to Fields List - - - - :/images/themes/default/mActionNewAttribute.svg:/images/themes/default/mActionNewAttribute.svg - - - Qt::ToolButtonStyle::ToolButtonTextBesideIcon - - - - - - - - - - GroupBox + Geometry type