From f948a9fb84a1ca41b6666d3a580a7f2dc3387bb1 Mon Sep 17 00:00:00 2001 From: Harrissou Sant-anna Date: Sat, 7 Sep 2024 15:13:30 +0200 Subject: [PATCH] Create or improve toolTip using the whatsThis description --- .../pointcloud/qgspointcloudquerybuilderbase.ui | 4 ++-- src/ui/qgsattributeactiondialogbase.ui | 2 +- .../qgsattributeactionpropertiesdialogbase.ui | 17 +++-------------- src/ui/qgshananewconnectionbase.ui | 6 ------ src/ui/qgsoraclenewconnectionbase.ui | 15 ++++----------- src/ui/qgsowssourceselectbase.ui | 2 +- src/ui/qgspgnewconnectionbase.ui | 10 +--------- src/ui/qgsquerybuilderbase.ui | 4 ++-- src/ui/qgssensorthingssubseteditorbase.ui | 2 +- 9 files changed, 15 insertions(+), 47 deletions(-) diff --git a/src/ui/pointcloud/qgspointcloudquerybuilderbase.ui b/src/ui/pointcloud/qgspointcloudquerybuilderbase.ui index aeddef09ceb..3bed4317260 100644 --- a/src/ui/pointcloud/qgspointcloudquerybuilderbase.ui +++ b/src/ui/pointcloud/qgspointcloudquerybuilderbase.ui @@ -70,7 +70,7 @@ - + <html><head/><body><p>List of attributes in this point cloud</p></body></html> @@ -102,7 +102,7 @@ - + <html><head/><body><p>List of values for the current attribute.</p></body></html> diff --git a/src/ui/qgsattributeactiondialogbase.ui b/src/ui/qgsattributeactiondialogbase.ui index 0e618877069..0d95e85d124 100644 --- a/src/ui/qgsattributeactiondialogbase.ui +++ b/src/ui/qgsattributeactiondialogbase.ui @@ -177,7 +177,7 @@ 0 - + This list contains all actions that have been defined for the current layer. Add actions by entering the details in the controls below and then pressing the Add to action list button. Actions can be edited here by double clicking on the item. diff --git a/src/ui/qgsattributeactionpropertiesdialogbase.ui b/src/ui/qgsattributeactionpropertiesdialogbase.ui index 546df1792cc..b2710beb6b2 100644 --- a/src/ui/qgsattributeactionpropertiesdialogbase.ui +++ b/src/ui/qgsattributeactionpropertiesdialogbase.ui @@ -16,7 +16,7 @@ - + Enter the name of an action here. The name should be unique (QGIS will make it unique if necessary). @@ -99,13 +99,8 @@ - Browse for action - - - Click to browse for an action - - - Clicking the button will let you select an application to use as the action + Browse for action +Clicking the button will let you select an application to use as the action @@ -227,9 +222,6 @@ - Enter the action name here - - Enter the name of an action here. The name should be unique (QGIS will make it unique if necessary). @@ -254,9 +246,6 @@ - Captures any output from the action - - Captures the standard output or error generated by the action and displays it in a dialog box diff --git a/src/ui/qgshananewconnectionbase.ui b/src/ui/qgshananewconnectionbase.ui index 909c190b69f..a93904e4779 100644 --- a/src/ui/qgshananewconnectionbase.ui +++ b/src/ui/qgshananewconnectionbase.ui @@ -698,9 +698,6 @@ - Restrict the displayed tables to those that are in the layer registries. - - Restricts the displayed tables to those that are found in the layer registries (geometry_columns, geography_columns, topology.layer). This can speed up the initial display of spatial tables. @@ -880,9 +877,6 @@ - Restrict the displayed tables to those that are in the layer registries. - - Restricts the displayed tables to those that are found in the layer registries (geometry_columns, geography_columns, topology.layer). This can speed up the initial display of spatial tables. diff --git a/src/ui/qgsoraclenewconnectionbase.ui b/src/ui/qgsoraclenewconnectionbase.ui index 7788794bace..3198ef06347 100644 --- a/src/ui/qgsoraclenewconnectionbase.ui +++ b/src/ui/qgsoraclenewconnectionbase.ui @@ -67,10 +67,8 @@ - Only list the existing geometry types and don't offer to add others. - - - <html><head/><body><p>When the layer is setup various metadata is required for the Oracle table. This includes information such as the table row count, geometry type and spatial extents of the data in the geometry column. If the table contains a large number of rows determining this metadata is time consuming.</p><p>By activating this option the following fast table metadata operations are done:</p><p>1) Row count is determined from all_tables.num_rows.</p><p>2) Table extents are always determined with the SDO_TUNE.EXTENTS_OF function even if a layer filter is applied.</p><p>3) The table geometry is determined from the first 100 non-null geometry rows in the table.</p></body></html> + <html><head/><body><p><b>Only list the existing geometry types and don't offer to add others.</b></p> +<p>When the layer is setup various metadata is required for the Oracle table. This includes information such as the table row count, geometry type and spatial extents of the data in the geometry column. If the table contains a large number of rows determining this metadata is time consuming.</p><p>By activating this option the following fast table metadata operations are done:</p><p>1) Row count is determined from all_tables.num_rows.</p><p>2) Table extents are always determined with the SDO_TUNE.EXTENTS_OF function even if a layer filter is applied.</p><p>3) The table geometry is determined from the first 100 non-null geometry rows in the table.</p></body></html> Only existing geometry types @@ -80,10 +78,8 @@ - Use estimated table statistics for the layer metadata. - - - <html><head/><body><p>When the layer is setup various metadata is required for the Oracle table. This includes information such as the table row count, geometry type and spatial extents of the data in the geometry column. If the table contains a large number of rows determining this metadata is time consuming.</p><p>By activating this option the following fast table metadata operations are done:</p><p>1) Row count is determined from all_tables.num_rows.</p><p>2) Table extents are always determined with the SDO_TUNE.EXTENTS_OF function even if a layer filter is applied.</p><p>3) The table geometry is determined from the first 100 non-null geometry rows in the table.</p></body></html> + <html><head/><body><p><b>Use estimated table statistics for the layer metadata.</b></p> +<p>When the layer is setup various metadata is required for the Oracle table. This includes information such as the table row count, geometry type and spatial extents of the data in the geometry column. If the table contains a large number of rows determining this metadata is time consuming.</p><p>By activating this option the following fast table metadata operations are done:</p><p>1) Row count is determined from all_tables.num_rows.</p><p>2) Table extents are always determined with the SDO_TUNE.EXTENTS_OF function even if a layer filter is applied.</p><p>3) The table geometry is determined from the first 100 non-null geometry rows in the table.</p></body></html> Use estimated table metadata @@ -209,9 +205,6 @@ - Restrict the displayed tables to those that are in the all_sdo_geom_metadata table - - <html><head/><body><p>Restricts the displayed tables to those that are in the all_sdo_geom_metadata view. This can speed up the initial display of spatial tables.</p></body></html> diff --git a/src/ui/qgsowssourceselectbase.ui b/src/ui/qgsowssourceselectbase.ui index 56720b3de8f..c9687bae2e9 100644 --- a/src/ui/qgsowssourceselectbase.ui +++ b/src/ui/qgsowssourceselectbase.ui @@ -152,7 +152,7 @@ Adds a few example WMS servers - + diff --git a/src/ui/qgspgnewconnectionbase.ui b/src/ui/qgspgnewconnectionbase.ui index 1ab0f091b05..943cbf58719 100644 --- a/src/ui/qgspgnewconnectionbase.ui +++ b/src/ui/qgspgnewconnectionbase.ui @@ -169,9 +169,6 @@ - Restrict the displayed tables to those that are in the layer registries. - - Restricts the displayed tables to those that are found in the layer registries (geometry_columns, geography_columns, topology.layer). This can speed up the initial display of spatial tables. @@ -189,9 +186,6 @@ - Restrict the search to the public schema for spatial tables not in the geometry_columns table - - When searching for spatial tables that are not in the geometry_columns tables, restrict the search to tables that are in the public schema (for some databases this can save lots of time) @@ -212,11 +206,9 @@ - Use estimated table statistics for the layer metadata. - - <html> <body> +<p><b>Use estimated table statistics for the layer metadata.</b></p> <p>When the layer is setup various metadata is required for the PostGIS table. This includes information such as the table row count, geometry type and spatial extents of the data in the geometry column. If the table contains a large number of rows determining this metadata is time consuming.</p> <p>By activating this option the following fast table metadata operations are done:</p> <p>1) Row count is determined from results of running the PostgreSQL Analyze function on the table.</p> diff --git a/src/ui/qgsquerybuilderbase.ui b/src/ui/qgsquerybuilderbase.ui index 0df3b72dc10..df0249bbd96 100644 --- a/src/ui/qgsquerybuilderbase.ui +++ b/src/ui/qgsquerybuilderbase.ui @@ -70,7 +70,7 @@ - + <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;"> @@ -141,7 +141,7 @@ p, li { white-space: pre-wrap; } - + <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;"> diff --git a/src/ui/qgssensorthingssubseteditorbase.ui b/src/ui/qgssensorthingssubseteditorbase.ui index 193f1f28121..2c1987ea799 100644 --- a/src/ui/qgssensorthingssubseteditorbase.ui +++ b/src/ui/qgssensorthingssubseteditorbase.ui @@ -73,7 +73,7 @@ - + <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;">