Create or improve toolTip using the whatsThis description

This commit is contained in:
Harrissou Sant-anna 2024-09-07 15:13:30 +02:00 committed by Nyall Dawson
parent 332669bac5
commit f948a9fb84
9 changed files with 15 additions and 47 deletions

View File

@ -70,7 +70,7 @@
</property>
<item row="0" column="0">
<widget class="QListView" name="lstAttributes">
<property name="whatsThis">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;List of attributes in this point cloud&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
@ -102,7 +102,7 @@
</property>
<item row="0" column="0" colspan="2">
<widget class="QListView" name="lstValues">
<property name="whatsThis">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;List of values for the current attribute.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="autoFillBackground">

View File

@ -177,7 +177,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<property name="toolTip">
<string>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.</string>
</property>
<property name="selectionMode">

View File

@ -16,7 +16,7 @@
<layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="0">
<widget class="QLabel" name="textLabel1">
<property name="whatsThis">
<property name="toolTip">
<string>Enter the name of an action here. The name should be unique (QGIS will make it unique if necessary).</string>
</property>
<property name="text">
@ -99,13 +99,8 @@
<item row="2" column="1" alignment="Qt::AlignTop">
<widget class="QToolButton" name="mBrowseButton">
<property name="toolTip">
<string>Browse for action</string>
</property>
<property name="statusTip">
<string>Click to browse for an action</string>
</property>
<property name="whatsThis">
<string>Clicking the button will let you select an application to use as the action</string>
<string>Browse for action
Clicking the button will let you select an application to use as the action</string>
</property>
<property name="text">
<string>…</string>
@ -227,9 +222,6 @@
<item row="1" column="1" colspan="3">
<widget class="QLineEdit" name="mActionName">
<property name="toolTip">
<string>Enter the action name here</string>
</property>
<property name="whatsThis">
<string>Enter the name of an action here. The name should be unique (QGIS will make it unique if necessary).</string>
</property>
<property name="placeholderText">
@ -254,9 +246,6 @@
<item row="0" column="2">
<widget class="QCheckBox" name="mCaptureOutput">
<property name="toolTip">
<string>Captures any output from the action</string>
</property>
<property name="whatsThis">
<string>Captures the standard output or error generated by the action and displays it in a dialog box</string>
</property>
<property name="text">

View File

@ -698,9 +698,6 @@
<item row="1" column="0">
<widget class="QCheckBox" name="chkValidateCertificate">
<property name="toolTip">
<string>Restrict the displayed tables to those that are in the layer registries.</string>
</property>
<property name="whatsThis">
<string>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.</string>
</property>
<property name="text">
@ -880,9 +877,6 @@
<item>
<widget class="QCheckBox" name="chkUserTablesOnly">
<property name="toolTip">
<string>Restrict the displayed tables to those that are in the layer registries.</string>
</property>
<property name="whatsThis">
<string>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.</string>
</property>
<property name="text">

View File

@ -67,10 +67,8 @@
<item row="15" column="0" colspan="3">
<widget class="QCheckBox" name="cb_onlyExistingTypes">
<property name="toolTip">
<string>Only list the existing geometry types and don't offer to add others.</string>
</property>
<property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;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.&lt;/p&gt;&lt;p&gt;By activating this option the following fast table metadata operations are done:&lt;/p&gt;&lt;p&gt;1) Row count is determined from all_tables.num_rows.&lt;/p&gt;&lt;p&gt;2) Table extents are always determined with the SDO_TUNE.EXTENTS_OF function even if a layer filter is applied.&lt;/p&gt;&lt;p&gt;3) The table geometry is determined from the first 100 non-null geometry rows in the table.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;b&gt;Only list the existing geometry types and don't offer to add others.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;&lt;p&gt;By activating this option the following fast table metadata operations are done:&lt;/p&gt;&lt;p&gt;1) Row count is determined from all_tables.num_rows.&lt;/p&gt;&lt;p&gt;2) Table extents are always determined with the SDO_TUNE.EXTENTS_OF function even if a layer filter is applied.&lt;/p&gt;&lt;p&gt;3) The table geometry is determined from the first 100 non-null geometry rows in the table.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>Only existing geometry types</string>
@ -80,10 +78,8 @@
<item row="14" column="0" colspan="3">
<widget class="QCheckBox" name="cb_useEstimatedMetadata">
<property name="toolTip">
<string>Use estimated table statistics for the layer metadata.</string>
</property>
<property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;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.&lt;/p&gt;&lt;p&gt;By activating this option the following fast table metadata operations are done:&lt;/p&gt;&lt;p&gt;1) Row count is determined from all_tables.num_rows.&lt;/p&gt;&lt;p&gt;2) Table extents are always determined with the SDO_TUNE.EXTENTS_OF function even if a layer filter is applied.&lt;/p&gt;&lt;p&gt;3) The table geometry is determined from the first 100 non-null geometry rows in the table.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;b&gt;Use estimated table statistics for the layer metadata.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;&lt;p&gt;By activating this option the following fast table metadata operations are done:&lt;/p&gt;&lt;p&gt;1) Row count is determined from all_tables.num_rows.&lt;/p&gt;&lt;p&gt;2) Table extents are always determined with the SDO_TUNE.EXTENTS_OF function even if a layer filter is applied.&lt;/p&gt;&lt;p&gt;3) The table geometry is determined from the first 100 non-null geometry rows in the table.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>Use estimated table metadata</string>
@ -209,9 +205,6 @@
<item row="10" column="0" colspan="2">
<widget class="QCheckBox" name="cb_geometryColumnsOnly">
<property name="toolTip">
<string>Restrict the displayed tables to those that are in the all_sdo_geom_metadata table</string>
</property>
<property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;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.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">

View File

@ -152,7 +152,7 @@
<property name="statusTip">
<string>Adds a few example WMS servers</string>
</property>
<property name="whatsThis">
<property name="toolTip">
<string comment="Adds several example WMS servers to the list"/>
</property>
<property name="text">

View File

@ -169,9 +169,6 @@
<item>
<widget class="QCheckBox" name="cb_geometryColumnsOnly">
<property name="toolTip">
<string>Restrict the displayed tables to those that are in the layer registries.</string>
</property>
<property name="whatsThis">
<string>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.</string>
</property>
<property name="text">
@ -189,9 +186,6 @@
<item>
<widget class="QCheckBox" name="cb_publicSchemaOnly">
<property name="toolTip">
<string>Restrict the search to the public schema for spatial tables not in the geometry_columns table</string>
</property>
<property name="whatsThis">
<string>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)</string>
</property>
<property name="text">
@ -212,11 +206,9 @@
<item>
<widget class="QCheckBox" name="cb_useEstimatedMetadata">
<property name="toolTip">
<string>Use estimated table statistics for the layer metadata.</string>
</property>
<property name="whatsThis">
<string>&lt;html&gt;
&lt;body&gt;
&lt;p&gt;&lt;b&gt;Use estimated table statistics for the layer metadata.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;By activating this option the following fast table metadata operations are done:&lt;/p&gt;
&lt;p&gt;1) Row count is determined from results of running the PostgreSQL Analyze function on the table.&lt;/p&gt;

View File

@ -70,7 +70,7 @@
</property>
<item row="0" column="0">
<widget class="QListView" name="lstFields">
<property name="whatsThis">
<property name="toolTip">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
@ -141,7 +141,7 @@ p, li { white-space: pre-wrap; }
</item>
<item row="1" column="0" colspan="2">
<widget class="QListView" name="lstValues">
<property name="whatsThis">
<property name="toolTip">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;

View File

@ -73,7 +73,7 @@
</property>
<item row="0" column="0">
<widget class="QListView" name="lstFields">
<property name="whatsThis">
<property name="toolTip">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;