From b6f8944bcfc162b36359cdc452ce41171394b3ed Mon Sep 17 00:00:00 2001 From: Tim Sutton Date: Fri, 10 Jan 2025 12:44:20 +0000 Subject: [PATCH] Add scroll on each page Fixes #733 --- geest/ui/create_project_panel_base.ui | 413 ++++++++++++++------------ geest/ui/credits_panel_base.ui | 133 +++++---- geest/ui/insights_panel_base.ui | 57 +--- geest/ui/intro_panel_base.ui | 109 ++++--- geest/ui/ors_panel_base.ui | 344 ++++++++++----------- 5 files changed, 534 insertions(+), 522 deletions(-) diff --git a/geest/ui/create_project_panel_base.ui b/geest/ui/create_project_panel_base.ui index dca11c2..aec1d4b 100644 --- a/geest/ui/create_project_panel_base.ui +++ b/geest/ui/create_project_panel_base.ui @@ -6,7 +6,7 @@ 0 0 - 554 + 604 884 @@ -14,61 +14,7 @@ Form - - - - - - - ../resources/geest-banner.png - - - true - - - - - - - <html><head/><body><p align="center"><span style=" font-size:16pt; font-weight:600;">GEEST Project Creation</span></p></body></html> - - - Qt::RichText - - - Qt::AlignCenter - - - true - - - - - - - Qt::Horizontal - - - - - - - - 16 - - - - <html><head/><body><p>A GEEST project is a folder with files that are managed by the GEEST plugin. Analysis outputs and working files will be stored in this folder. <span style=" font-weight:600;">It needs to be an empty folder that contains no other files.</span></p></body></html> - - - Qt::AlignJustify|Qt::AlignTop - - - true - - - - + @@ -81,150 +27,14 @@ - - - - - - - 32 - 32 - - - - TextLabel - - - true - - - - - - - - 16 - - - - 📂 Create or select a project directory - - - - - - - - - - 16 - - - - <html><head/><body><p align="justify">Select a layer containing your <span style=" font-weight:600;">Admin0</span> areas and the column containing the names of your areas.</p></body></html> - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - true - - - - - - - - 16 - - - - - - - - - 16 - - - - ... - - - - - - - - 16 - - - - - - - - Use Coordinate System of your boundary layer (disabled if map units are in degrees) - - - - - - - true - - - <html><head/><body><p align="justify"><span style=" font-size:16pt;">Set the analysis cell size (m). Smaller sizes require longer processing times, but produce more detailed analysis results. We suggest a value between </span><span style=" font-size:16pt; font-weight:600;">100m</span><span style=" font-size:16pt;"> and </span><span style=" font-size:16pt; font-weight:600;">1000m.</span></p></body></html> - - - Qt::RichText - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - true - - - - - - - true - - - - 16 - - - - 1 - - - 100000 - - - 100 - - - 100 - - - - - + + - Qt::Vertical - - - - 20 - 40 - + Qt::Horizontal - + - + @@ -296,6 +106,215 @@ + + + + + + + ../resources/geest-banner.png + + + true + + + + + + + true + + + + + 0 + 0 + 584 + 653 + + + + + + + + 16 + + + + + + + + true + + + + 16 + + + + 1 + + + 100000 + + + 100 + + + 100 + + + + + + + + 16 + + + + ... + + + + + + + + 16 + + + + <html><head/><body><p>A GEEST project is a folder with files that are managed by the GEEST plugin. Analysis outputs and working files will be stored in this folder. <span style=" font-weight:600;">It needs to be an empty folder that contains no other files.</span></p></body></html> + + + Qt::AlignJustify|Qt::AlignTop + + + true + + + + + + + + 16 + + + + <html><head/><body><p align="justify">Select a layer containing your <span style=" font-weight:600;">Admin0</span> areas and the column containing the names of your areas.</p></body></html> + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + + + true + + + + + + + Use Coordinate System of your boundary layer (disabled if map units are in degrees) + + + + + + + + + + 32 + 32 + + + + TextLabel + + + true + + + + + + + + 16 + + + + 📂 Create or select a project directory + + + + + + + + + true + + + <html><head/><body><p align="justify"><span style=" font-size:16pt;">Set the analysis cell size (m). Smaller sizes require longer processing times, but produce more detailed analysis results. We suggest a value between </span><span style=" font-size:16pt; font-weight:600;">100m</span><span style=" font-size:16pt;"> and </span><span style=" font-size:16pt; font-weight:600;">1000m.</span></p></body></html> + + + Qt::RichText + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + + + true + + + + + + + + 16 + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + <html><head/><body><p align="center"><span style=" font-size:16pt; font-weight:600;">GEEST Project Creation</span></p></body></html> + + + Qt::RichText + + + Qt::AlignCenter + + + true + + + diff --git a/geest/ui/credits_panel_base.ui b/geest/ui/credits_panel_base.ui index 27b91e8..e633982 100644 --- a/geest/ui/credits_panel_base.ui +++ b/geest/ui/credits_panel_base.ui @@ -20,6 +20,25 @@ Form + + + + + 0 + 0 + + + + + + + ../resources/geest-banner.png + + + true + + + @@ -107,28 +126,6 @@ - - - - - 0 - 0 - - - - <html><head/><body><p><span style=" font-size:16pt;">This plugin is built with support from the </span><span style=" font-size:16pt; font-weight:600;">Canada Clean Energy and Forest Climate Facility</span><span style=" font-size:16pt;"> (CCEFCFy), the </span><span style=" font-size:16pt; font-weight:600;">Geospatial Operational Support Team</span><span style=" font-size:16pt;"> (GOST, DECSC) for the project Geospatial Assessment of Women Employment and Business Opportunities in the Renewable Energy Sector. <br/></span></p><p><span style=" font-size:16pt;">This project is open source, you can download the code at </span><a href="https://github.com/worldbank/GEEST"><span style=" font-size:16pt; text-decoration: underline; color:#0000ff;">https://github.com/worldbank/GEEST.</span></a><span style=" font-size:16pt;"><br/></span></p><p><br/></p></body></html> - - - Qt::RichText - - - Qt::AlignJustify|Qt::AlignVCenter - - - true - - - @@ -142,41 +139,6 @@ - - - - - 0 - 0 - - - - - - - ../resources/geest-banner.png - - - true - - - - - - - Qt::Vertical - - - QSizePolicy::Expanding - - - - 20 - 318 - - - - @@ -190,6 +152,63 @@ + + + + true + + + + + 0 + 0 + 526 + 670 + + + + + + + + 0 + 0 + + + + <html><head/><body><p><span style=" font-size:16pt;">This plugin is built with support from the </span><span style=" font-size:16pt; font-weight:600;">Canada Clean Energy and Forest Climate Facility</span><span style=" font-size:16pt;"> (CCEFCFy), the </span><span style=" font-size:16pt; font-weight:600;">Geospatial Operational Support Team</span><span style=" font-size:16pt;"> (GOST, DECSC) for the project Geospatial Assessment of Women Employment and Business Opportunities in the Renewable Energy Sector. <br/></span></p><p><span style=" font-size:16pt;">This project is open source, you can download the code at </span><a href="https://github.com/worldbank/GEEST"><span style=" font-size:16pt; text-decoration: underline; color:#0000ff;">https://github.com/worldbank/GEEST.</span></a><span style=" font-size:16pt;"><br/></span></p><p><br/></p></body></html> + + + Qt::RichText + + + Qt::AlignJustify|Qt::AlignVCenter + + + true + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 20 + 318 + + + + + + + + diff --git a/geest/ui/insights_panel_base.ui b/geest/ui/insights_panel_base.ui index ee03992..731d761 100644 --- a/geest/ui/insights_panel_base.ui +++ b/geest/ui/insights_panel_base.ui @@ -173,48 +173,7 @@ padding: 4px; - - - - - Noto Sans [GOOG] - 8 - - - - <html><head/><body><p><span style=" font-weight:600;">Optional: </span>You can perform a targeted analysis of Women’s Enablement Environments with respect to the location of jobs. Input the location of existing or potential jobs either as a point file, in polygon format or raster format explore how the results relate to existing or planned job opportunities.</p></body></html> - - - true - - - - - - - - Input - - - - - - - WEE - - - - - - - WEE x Population - - - - - - Mask Source @@ -324,6 +283,22 @@ padding: 4px; + + + + + Noto Sans [GOOG] + 8 + + + + <html><head/><body><p><span style=" font-weight:600;">Optional: </span>You can perform a targeted analysis of Women’s Enablement Environments with respect to the location of jobs. Input the location of existing or potential jobs either as a point file, in polygon format or raster format explore how the results relate to existing or planned job opportunities.</p></body></html> + + + true + + + diff --git a/geest/ui/intro_panel_base.ui b/geest/ui/intro_panel_base.ui index 6c64208..902f6fb 100644 --- a/geest/ui/intro_panel_base.ui +++ b/geest/ui/intro_panel_base.ui @@ -27,22 +27,6 @@ - - - - <html><head/><body><p align="center"><span style=" font-size:16pt; font-weight:600;">Welcome to GEEST</span></p></body></html> - - - Qt::RichText - - - Qt::AlignCenter - - - true - - - @@ -50,35 +34,6 @@ - - - - <html><head/><body><p align="justify"><span style=" font-size:16pt;">The Gender Enabling Environments Spatial Tool (</span><span style=" font-size:16pt; font-weight:600;">GEEST</span><span style=" font-size:16pt;">), developed by the </span><span style=" font-size:16pt; font-weight:600;">World Bank</span><span style=" font-size:16pt;">, evaluates locations based on how supportive they are of women’s employment and business opportunities.</span></p><p align="justify"><span style=" font-size:16pt;">By incorporating </span><span style=" font-size:16pt; font-weight:600;">15 spatial factors</span><span style=" font-size:16pt;"> across three dimensions:</span></p><p align="center"><span style=" font-size:16pt; font-weight:600;">Contextual</span><span style=" font-size:16pt;"> ,<br/></span><span style=" font-size:16pt; font-weight:600;">Accessibility</span><span style=" font-size:16pt;">, <br/>and </span><span style=" font-size:16pt; font-weight:600;">Place Characterization</span><span style=" font-size:16pt;">,</span></p><p align="justify"><span style=" font-size:16pt;">GEEST offers a comprehensive analysis of how the environment impacts women's job prospects, indicating whether it is highly enabling or not enabling at all. </span></p></body></html> - - - Qt::RichText - - - Qt::AlignJustify|Qt::AlignTop - - - true - - - - - - - Qt::Vertical - - - - 20 - 258 - - - - @@ -120,6 +75,70 @@ + + + + <html><head/><body><p align="center"><span style=" font-size:16pt; font-weight:600;">Welcome to GEEST</span></p></body></html> + + + Qt::RichText + + + Qt::AlignCenter + + + true + + + + + + + true + + + + + 0 + 0 + 540 + 699 + + + + + + + <html><head/><body><p align="justify"><span style=" font-size:16pt;">The Gender Enabling Environments Spatial Tool (</span><span style=" font-size:16pt; font-weight:600;">GEEST</span><span style=" font-size:16pt;">), developed by the </span><span style=" font-size:16pt; font-weight:600;">World Bank</span><span style=" font-size:16pt;">, evaluates locations based on how supportive they are of women’s employment and business opportunities.</span></p><p align="justify"><span style=" font-size:16pt;">By incorporating </span><span style=" font-size:16pt; font-weight:600;">15 spatial factors</span><span style=" font-size:16pt;"> across three dimensions:</span></p><p align="center"><span style=" font-size:16pt; font-weight:600;">Contextual</span><span style=" font-size:16pt;"> ,<br/></span><span style=" font-size:16pt; font-weight:600;">Accessibility</span><span style=" font-size:16pt;">, <br/>and </span><span style=" font-size:16pt; font-weight:600;">Place Characterization</span><span style=" font-size:16pt;">,</span></p><p align="justify"><span style=" font-size:16pt;">GEEST offers a comprehensive analysis of how the environment impacts women's job prospects, indicating whether it is highly enabling or not enabling at all. </span></p></body></html> + + + Qt::RichText + + + Qt::AlignJustify|Qt::AlignTop + + + true + + + + + + + Qt::Vertical + + + + 20 + 258 + + + + + + + + diff --git a/geest/ui/ors_panel_base.ui b/geest/ui/ors_panel_base.ui index 331efec..f400ded 100644 --- a/geest/ui/ors_panel_base.ui +++ b/geest/ui/ors_panel_base.ui @@ -14,189 +14,7 @@ Form - - - - - - - ../resources/geest-banner.png - - - true - - - - - - - <html><head/><body><p align="center"><span style=" font-size:16pt; font-weight:600;">GEEST ORS Setup</span></p></body></html> - - - Qt::RichText - - - Qt::AlignCenter - - - true - - - - - - - Qt::Horizontal - - - - - - - - 0 - 0 - - - - <html><head/><body><p><span style=" font-size:16pt;">This plugin makes use of the </span><span style=" font-size:16pt; font-weight:600;">Open Route Service</span><span style=" font-size:16pt;"> (ORS) platform for elements of the spatial analysis workflows. In order to use ORS, you need to obtain an </span><span style=" font-size:16pt; font-weight:600;">API key</span><span style=" font-size:16pt;">. There is no charge to get your key. Click on </span><a href="https://openrouteservice.org/dev/#/signup"><span style=" font-size:16pt; text-decoration: underline; color:#0000ff;">this link</span></a><span style=" font-size:16pt;"> for the API Key sign up page. Once you have your API key, </span><span style=" font-size:16pt; font-weight:600;">paste</span><span style=" font-size:16pt;"> it into the box below.</span></p><p align="justify"><span style=" font-size:12pt;"><br/></span></p><p align="justify"><span style=" font-size:12pt;"><br/></span></p></body></html> - - - Qt::RichText - - - Qt::AlignJustify|Qt::AlignTop - - - true - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 128 - 128 - - - - - 128 - 128 - - - - - - - ../resources/icons/incomplete.svg - - - true - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - Qt::Vertical - - - - 20 - 161 - - - - - - - - 0 - 0 - - - - - 16 - - - - Enter your Open Route Service API key here... - - - - - - - - 16 - - - - Check my key ... - - - - - - - Qt::Vertical - - - - 20 - 161 - - - - - @@ -261,6 +79,168 @@ + + + + + + + ../resources/geest-banner.png + + + true + + + + + + + <html><head/><body><p align="center"><span style=" font-size:16pt; font-weight:600;">GEEST ORS Setup</span></p></body></html> + + + Qt::RichText + + + Qt::AlignCenter + + + true + + + + + + + Qt::Horizontal + + + + + + + true + + + + + 0 + 0 + 610 + 653 + + + + + + + + 0 + 0 + + + + <html><head/><body><p><span style=" font-size:16pt;">This plugin makes use of the </span><span style=" font-size:16pt; font-weight:600;">Open Route Service</span><span style=" font-size:16pt;"> (ORS) platform for elements of the spatial analysis workflows. In order to use ORS, you need to obtain an </span><span style=" font-size:16pt; font-weight:600;">API key</span><span style=" font-size:16pt;">. There is no charge to get your key. Click on </span><a href="https://openrouteservice.org/dev/#/signup"><span style=" font-size:16pt; text-decoration: underline; color:#0000ff;">this link</span></a><span style=" font-size:16pt;"> for the API Key sign up page. Once you have your API key, </span><span style=" font-size:16pt; font-weight:600;">paste</span><span style=" font-size:16pt;"> it into the box below.</span></p></body></html> + + + Qt::RichText + + + Qt::AlignJustify|Qt::AlignTop + + + true + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 128 + 128 + + + + + 128 + 128 + + + + + + + ../resources/icons/incomplete.svg + + + true + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + 16 + + + + Check my key ... + + + + + + + + 0 + 0 + + + + + 16 + + + + Enter your Open Route Service API key here... + + + + + + +