From 965902ba490af72a3c560244a1ff4935f1fc69fc Mon Sep 17 00:00:00 2001 From: underwhelmingToaster <65400197+underwhelmingToaster@users.noreply.github.com> Date: Thu, 30 Jun 2022 14:58:36 +0200 Subject: [PATCH 1/2] - responsive dialog --- raster_cutter_dialog_base.ui | 695 ++++++++++++++++++----------------- 1 file changed, 352 insertions(+), 343 deletions(-) diff --git a/raster_cutter_dialog_base.ui b/raster_cutter_dialog_base.ui index 9d19a65..11af1dc 100644 --- a/raster_cutter_dialog_base.ui +++ b/raster_cutter_dialog_base.ui @@ -20,349 +20,358 @@ false - - - - 20 - 450 - 581 - 31 - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok - - - - - - 19 - 19 - 581 - 424 - - - - - - - Input - - - - - - - 4 - - - QLayout::SetDefaultConstraint - - - - - - 100 - 30 - - - - Layer - - - - - - - true - - - - - - - - - - - - Qt::Horizontal - - - - - - - Output - - - - - - - - - - 100 - 0 - - - - - 100 - 15 - - - - File name/path - - - - - - - PNG (*.png);;JPG (*.jpg);;GeoTIFF (*.tif) - - - QgsFileWidget::SaveFile - - - QFileDialog::DontConfirmOverwrite - - - - - - - - - - - - Create LexoCAD (EPSG:2057, .jpgl/.pngl) - - - - - - - - - - 0 - 0 - - - - - 100 - 15 - - - - - 100 - 16777215 - - - - CRS - - - - - - - true - - - - 0 - 0 - - - - - 100 - 0 - - - - - 500 - 25 - - - - Qt::LeftToRight - - - - - - - - - - - Set custom resolution - - - - - - - - 20 - 16777215 - - - - x - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - - 70 - 25 - - - - 0.010000000000000 - - - 1.000000000000000 - - - - - - - - 20 - 16777215 - - - - y - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - - 70 - 25 - - - - 0.010000000000000 - - - 1.000000000000000 - - - - - - - - - - - - 0 - 30 - - - - Resampling algorithm - - - - - - - - 150 - 16777215 - - - - Nearest Neighbour - - - true - - - - - - - - 100 - 0 - - - - - 100 - 100 - - - - Cubic Spline - - - false - - - - - - - - - - - 150 - 450 - 150 - 31 - - - - - 150 - 0 - - - - - 150 - 16777215 - - - - Add saved file to map - - - true - - + + + + + + + Input + + + + + + + 4 + + + QLayout::SetDefaultConstraint + + + + + + 100 + 30 + + + + Layer + + + + + + + true + + + + + + + + + + + + Qt::Horizontal + + + + + + + Output + + + + + + + + + + 100 + 0 + + + + + 100 + 15 + + + + File name/path + + + + + + + PNG (*.png);;JPG (*.jpg);;GeoTIFF (*.tif) + + + QgsFileWidget::SaveFile + + + QFileDialog::DontConfirmOverwrite + + + + + + + + + + + + Create LexoCAD (EPSG:2057, .jpgl/.pngl) + + + + + + + + + + 0 + 0 + + + + + 100 + 15 + + + + CRS + + + + + + + true + + + + 0 + 0 + + + + + 100 + 0 + + + + Qt::LeftToRight + + + + + + + + + + + Set custom resolution + + + + + + + + 20 + 16777215 + + + + x + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + 70 + 25 + + + + 0.010000000000000 + + + 1.000000000000000 + + + + + + + + 20 + 16777215 + + + + y + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + 70 + 25 + + + + 0.010000000000000 + + + 1.000000000000000 + + + + + + + + + + + + 0 + 30 + + + + Resampling algorithm + + + + + + + + 150 + 16777215 + + + + Nearest Neighbour + + + true + + + + + + + + 100 + 0 + + + + + 100 + 100 + + + + Cubic Spline + + + false + + + + + + + + + + + 0 + + + + + Qt::Horizontal + + + QSizePolicy::Expanding + + + + 9999999 + 0 + + + + + + + + + 150 + 0 + + + + + 150 + 16777215 + + + + Add saved file to map + + + true + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 15 + 0 + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok + + + + + + From 78d49a7186a2c913fd13c9f63b95cb811315adf9 Mon Sep 17 00:00:00 2001 From: underwhelmingToaster <65400197+underwhelmingToaster@users.noreply.github.com> Date: Thu, 30 Jun 2022 16:22:39 +0200 Subject: [PATCH 2/2] - changed metadata.txt for 0.6 --- metadata.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata.txt b/metadata.txt index ef509ee..d039344 100644 --- a/metadata.txt +++ b/metadata.txt @@ -6,7 +6,7 @@ name=Raster Cutter qgisMinimumVersion=3.0 description=Export a raster layer as an image. Select extent, reproject, create Worldfile or Lexocad sidecar files. -version=0.5 +version=0.6 author=IFS Institute for Software email=feedback.ifs@ost.ch