From 0ef269bf592565df5f63f3c96a1774810c37611e Mon Sep 17 00:00:00 2001 From: Niko Aarnio Date: Thu, 5 Dec 2024 14:14:13 +0200 Subject: [PATCH] fix(wizard-proxies): fix UI resizing issue caused by lack of scroll widgets for proxy workflow steps --- .../proxy_workflow1_dist_to_features.ui | 608 ++++++------ .../proxy_workflow2_interpolation.ui | 866 +++++++++--------- .../proxy_workflow3_define_anomaly.ui | 774 ++++++++-------- 3 files changed, 1160 insertions(+), 1088 deletions(-) diff --git a/eis_qgis_plugin/resources/ui/mineral_proxies/proxy_workflow1_dist_to_features.ui b/eis_qgis_plugin/resources/ui/mineral_proxies/proxy_workflow1_dist_to_features.ui index d9f628fd..8fa99829 100644 --- a/eis_qgis_plugin/resources/ui/mineral_proxies/proxy_workflow1_dist_to_features.ui +++ b/eis_qgis_plugin/resources/ui/mineral_proxies/proxy_workflow1_dist_to_features.ui @@ -7,333 +7,364 @@ 0 0 746 - 734 + 740 Form - + - - - - 15 - - - - Proxy: - - + + true - - - - - - - 15 - - - - Workflow: Distance to features - - - - - - - - 15 - - - - Step: - - - - - - - Input - - - - - - Input dataset with features to calculate distances to - - - Input vector layer - - - - - - - Input dataset with features to calculate distances to - - - - - - - false - - - Selection (WIP) - - - - - - - false - - - - - - - Maximum distance (optional). All pixels beyond max distance will be assigned value equal to max distance. - - - Not set - - - 3 - - - 99999.000000000000000 - - - - - - - Maximum distance (optional). All pixels beyond max distance will be assigned value equal to max distance. - - - Max distance (optional) - - - - - - - - - - - 0 - 0 - - - - Output - - - - - - - - Output raster path - - - - - - - QgsFileWidget::SaveFile - - - - - - - Output raster settings - - - - - - - - From base raster - - - - - Define manually - - - - - - - - - - - 16777215 - 50 - - - - 0 - - - + + + + 0 + 0 + 712 + 673 + + + + + + + + 15 + + + + Proxy: + + + true + + + + + + + + 15 + + + + Workflow: Distance to features + + + + + + + + 15 + + + + Step: + + + + + + + + 0 + 0 + + + + Input + + - + + + Input dataset with features to calculate distances to + - Base raster + Input vector layer - + + + Input dataset with features to calculate distances to + + + + + + + false + + + Selection (WIP) + + + + + + + false + + + + + + + Maximum distance (optional). All pixels beyond max distance will be assigned value equal to max distance. + + + Not set + + + 3 + + + 99999.000000000000000 + + + + + + + Maximum distance (optional). All pixels beyond max distance will be assigned value equal to max distance. + + + Max distance (optional) + + - - + + + + + + 0 + 0 + + + + Output + + - + - - - - 0 - 0 - - - - - 62 - 0 - - + - Pixel size + Output raster path - - - 10000.000000000000000 - - - 10.000000000000000 + + + QgsFileWidget::SaveFile - - - - 0 - 0 - - - - - 62 - 0 - - + - Extent - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + Output raster settings - + + + + From base raster + + + + + Define manually + + + + + + + + 0 + 0 + + + + + 16777215 + 50 + + + + 0 + + + + + + + Base raster + + + + + + + + + + + + + + + + + 0 + 0 + + + + + 62 + 0 + + + + Pixel size + + + + + + + 10000.000000000000000 + + + 10.000000000000000 + + + + + + + + 0 + 0 + + + + + 62 + 0 + + + + Extent + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + + + + + + + + + + + + - - - - - - - - - - 0 - 0 - - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - - - 0 - 0 - - - - - 0 - 200 - - - - - 16777215 - 16777215 - - - - QTextEdit::AutoNone - - - true - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> - - - - - + - - - Progress + + + + 0 + 0 + + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - 0 - - + + + + + + 0 + 0 + + + + + 0 + 200 + + + + + 16777215 + 16777215 + + + + QTextEdit::AutoNone + + + true + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> + + + + + + + + + Progress + + + + + + + 0 + + + + + + - - + + @@ -386,19 +417,6 @@ p, li { white-space: pre-wrap; } - - - - Qt::Vertical - - - - 20 - 1000 - - - - diff --git a/eis_qgis_plugin/resources/ui/mineral_proxies/proxy_workflow2_interpolation.ui b/eis_qgis_plugin/resources/ui/mineral_proxies/proxy_workflow2_interpolation.ui index cd1a4e05..6488d619 100644 --- a/eis_qgis_plugin/resources/ui/mineral_proxies/proxy_workflow2_interpolation.ui +++ b/eis_qgis_plugin/resources/ui/mineral_proxies/proxy_workflow2_interpolation.ui @@ -6,472 +6,515 @@ 0 0 - 746 - 901 + 754 + 913 + + + 0 + 0 + + Form - + - - - - 16 - - - - Proxy: - - - - - - - - 15 - - - - Workflow: Interpolation + + + true - - - - - - - 15 - - - - Step: - - - - - - - Input - - - - - - Input dataset with features to calculate distances to - - - Input vector layer - - - - - - - Input dataset with features to calculate distances to - - - - - - - Target attribute for interpolation. - - - Attribute - - - - - - - Target attribute for interpolation. - - - - - - - - - - Method settings - - - - - - - - - - - Interpolation method - - - - - - - - IDW - - - - - Kriging - - - - - - - - - - - 16777215 - 16777215 - - - - 0 - - - + + + + 0 + 0 + 734 + 844 + + + + + + + + 16 + + + + Proxy: + + + + + + + + 15 + + + + Workflow: Interpolation + + + + + + + + 15 + + + + Step: + + + + + + + + 0 + 0 + + + + Input + + - + + + Input dataset with features to calculate distances to + - Power + Input vector layer - - - 0.010000000000000 - - - 2.000000000000000 + + + Input dataset with features to calculate distances to - + + + Target attribute for interpolation. + - Search radius + Attribute - - - None + + + Target attribute for interpolation. - - - - - - Variogram model - - - - - - - - Linear - - - - - Power - - - - - Gaussian - - - - - Spherical - + + + + + + 0 + 0 + + + + Method settings + + + + + + + + + + + Interpolation method + + - - - Exponential - + + + + + IDW + + + + + Kriging + + + - + - - - - Coordinates type + + + + + 0 + 0 + - - - - - - - Euclidean - - - - - Geographic - - - - - - - - Kriging method + + + 16777215 + 16777215 + - - - - - - - Ordinary - - - - - Universal - - - - - - - - - - - - - - - - 0 - 0 - - - - Output - - - - - - - - Output raster settings - - - - - - - - From base raster - - - - - Define manually - - - - - - - - QgsFileWidget::SaveFile - - - - - - - Output raster path - - - - - - - - - - 16777215 - 50 - - - - 0 - - - - - - - Base raster + + 0 + + + + + + Power + + + + + + + 0.010000000000000 + + + 2.000000000000000 + + + + + + + Search radius + + + + + + + None + + + + + + + + + + + Variogram model + + + + + + + + Linear + + + + + Power + + + + + Gaussian + + + + + Spherical + + + + + Exponential + + + + + + + + Coordinates type + + + + + + + + Euclidean + + + + + Geographic + + + + + + + + Kriging method + + + + + + + + Ordinary + + + + + Universal + + + + + + - - - - - + + + + + + 0 + 0 + + + + Output + + - - - - - - 0 - 0 - - - - - 62 - 0 - - + + + - Pixel size + Output raster settings + + + + + From base raster + + + + + Define manually + + + + - - - 10000.000000000000000 - - - 10.000000000000000 + + + QgsFileWidget::SaveFile - - - - - 0 - 0 - - - - - 62 - 0 - - + + - Extent - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + Output raster path - - - + + + + + 16777215 + 50 + + + + 0 + + + + + + + Base raster + + + + + + + + + + + + + + + + + 0 + 0 + + + + + 62 + 0 + + + + Pixel size + + + + + + + 10000.000000000000000 + + + 10.000000000000000 + + + + + + + + 0 + 0 + + + + + 62 + 0 + + + + Extent + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + + + + + + + + + + + + - - - - - - - - - - 0 - 0 - - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - - - 0 - 0 - - - - - 0 - 200 - - - - - 16777215 - 16777215 - - - - QTextEdit::AutoNone - - - true - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Ubuntu'; font-size:11pt;"><br /></p></body></html> - - - - - + - - - Progress + + + + 0 + 0 + + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - 0 - - + + + + + + 0 + 0 + + + + + 0 + 200 + + + + + 16777215 + 16777215 + + + + QTextEdit::AutoNone + + + true + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> + + + + + + + + + Progress + + + + + + + 0 + + + + + + - - + + @@ -524,19 +567,6 @@ p, li { white-space: pre-wrap; } - - - - Qt::Vertical - - - - 20 - 1000 - - - - diff --git a/eis_qgis_plugin/resources/ui/mineral_proxies/proxy_workflow3_define_anomaly.ui b/eis_qgis_plugin/resources/ui/mineral_proxies/proxy_workflow3_define_anomaly.ui index c14c5eab..7549f7b1 100644 --- a/eis_qgis_plugin/resources/ui/mineral_proxies/proxy_workflow3_define_anomaly.ui +++ b/eis_qgis_plugin/resources/ui/mineral_proxies/proxy_workflow3_define_anomaly.ui @@ -7,7 +7,7 @@ 0 0 747 - 844 + 853 @@ -15,408 +15,445 @@ - - - - 16 - + + + true - - Proxy: - - - - - - - - 16 - - - - Workflow: Distance to anomaly - - - - - - - - 15 - - - - Step: - - - - - - - Input - - - - - - Input raster dataset with anomalies to calculate distances to - - - Input raster layer - - - - - - - Input raster dataset with anomalies to calculate distances to - - - - - - - - - - Method settings - - - - - - Threshold value to define anomalous pixels. - - - Threshold value - - - - - - - Threshold value to define anomalous pixels. - - - 3 - - - -99999.000000000000000 - - - 99999.000000000000000 - - - - - - - Second threshold value to define anomalous pixels. Only needed when threshold criteria is either 'in-between' or 'outside'. - - - 3 - - - -99999.000000000000000 - - - 99999.000000000000000 - - - - - - - - 0 - 0 - - - - - 16777215 - 16777215 - - - - Second threshold value to define anomalous pixels. Only needed when threshold criteria is either 'in-between' or 'outside'. - - - Threshold value higher - - - false - - - - - - - Threshold criteria to define anomalous pixels. - - - Threshold criteria - - - - - - - Threshold criteria to define anomalous pixels. - - - - Higher + + + + 0 + 0 + 727 + 784 + + + + + + + + 16 + - - - Lower + Proxy: + + + + + + + + 16 + - - - In-between + Workflow: Distance to anomaly + + + + + + + + 15 + - - - Outside + Step: - - - - - - - Maximum distance (optional). All pixels beyond max distance will be assigned value equal to max distance. - - - Max distance (optional) - - - - - - - Maximum distance (optional). All pixels beyond max distance will be assigned value equal to max distance. - - - Not set - - - 3 - - - 99999.000000000000000 - - - - - - - - - - Output - - - - - - - - Output raster settings - - - - - - - - Input raster - + + + + + + + 0 + 0 + + + + Input + + + + + + Input raster dataset with anomalies to calculate distances to + + + Input raster layer + + + + + + + Input raster dataset with anomalies to calculate distances to + + + + + + + + + + + 0 + 0 + + + + Method settings + + + + + + Threshold value to define anomalous pixels. + + + Threshold value + + + + + + + Threshold value to define anomalous pixels. + + + 3 + + + -99999.000000000000000 + + + 99999.000000000000000 + + + + + + + Second threshold value to define anomalous pixels. Only needed when threshold criteria is either 'in-between' or 'outside'. + + + 3 + + + -99999.000000000000000 + + + 99999.000000000000000 + + + + + + + + 0 + 0 + + + + + 16777215 + 16777215 + + + + Second threshold value to define anomalous pixels. Only needed when threshold criteria is either 'in-between' or 'outside'. + + + Threshold value higher + + + false + + - - - - - - Output raster path - - - - - - - QgsFileWidget::SaveFile - - - - - - - - - - 16777215 - 50 - - - - 0 - - - - - + + + Threshold criteria to define anomalous pixels. + - Base raster + Threshold criteria - + + + Threshold criteria to define anomalous pixels. + + + + Higher + + + + + Lower + + + + + In-between + + + + + Outside + + + + + + + + Maximum distance (optional). All pixels beyond max distance will be assigned value equal to max distance. + + + Max distance (optional) + + + + + + + Maximum distance (optional). All pixels beyond max distance will be assigned value equal to max distance. + + + Not set + + + 3 + + + 99999.000000000000000 + + - - + + + + + + 0 + 0 + + + + Output + + - - - - - - 0 - 0 - - - - - 62 - 0 - - + + + - Pixel size + Output raster settings - - - - 10000.000000000000000 - - - 10.000000000000000 - + + + + + Input raster + + - - - - - 0 - 0 - - - - - 62 - 0 - - + + - Extent - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + Output raster path - - + + + + QgsFileWidget::SaveFile + + + + + + + 16777215 + 50 + + + + 0 + + + + + + + + Base raster + + + + + + + + + + + + + + + + + 0 + 0 + + + + + 62 + 0 + + + + Pixel size + + + + + + + 10000.000000000000000 + + + 10.000000000000000 + + + + + + + + 0 + 0 + + + + + 62 + 0 + + + + Extent + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + + + + + + + + + + + + - - - - - - - - - - 0 - 0 - - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - - - 0 - 0 - - - - - 0 - 200 - - - - - 16777215 - 16777215 - - - - QTextEdit::AutoNone - - - true - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> - - - - - + - - - Progress + + + + 0 + 0 + + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - 0 - - + + + + + + 0 + 0 + + + + + 0 + 200 + + + + + 16777215 + 16777215 + + + + QTextEdit::AutoNone + + + true + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> + + + + + + + + + Progress + + + + + + + 0 + + + + + + - - + + @@ -469,19 +506,6 @@ p, li { white-space: pre-wrap; } - - - - Qt::Vertical - - - - 20 - 1000 - - - -