[QGIS Commit] r12406 - in trunk/qgis: resources/context_help src/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Dec 11 10:04:37 EST 2009


Author: timlinux
Date: 2009-12-11 10:04:35 -0500 (Fri, 11 Dec 2009)
New Revision: 12406

Modified:
   trunk/qgis/resources/context_help/QgsProjectProperties-en_US
   trunk/qgis/src/core/qgsapplication.cpp
Log:
Applied css style from Milena. See help text for project props dialog for an example.

Modified: trunk/qgis/resources/context_help/QgsProjectProperties-en_US
===================================================================
--- trunk/qgis/resources/context_help/QgsProjectProperties-en_US	2009-12-11 10:27:14 UTC (rev 12405)
+++ trunk/qgis/resources/context_help/QgsProjectProperties-en_US	2009-12-11 15:04:35 UTC (rev 12406)
@@ -1,25 +1,47 @@
 <h3>Project Properties</h3>
-This dialog allows you to set a number of properties related to the <i>Project</i>. A Project is a saved set of layers and their settings, as well as other information required to restore the project from disk.<p>
+This dialog allows you to set a number of properties related to the <label>Project</label>. A Project is a saved set of layers and their settings, as well as other information required to restore the project from disk.<p>
 
+
+<a href="#general">General Tab</a><br/>
+<a href="#crs">Coordinate Reference System (CRS) Tab</a><br/>
+<a href="#layers">Identifiable layers Tab</a><br/>
+
+<a name="general">
 <h4>General Tab</h4>
+</a>
 <table border=1>
 <tr>
-<td>Project Title</td><td>A descriptive title for the project. This title will be displayed in the title bar of the QGIS window</td>
+<td><label>Project title</label></td><td>A descriptive title for the project. This title will be displayed in the title bar of the QGIS window</td>
 </tr>
+<tr><td><label>Selection color</label></td><td>Selected features are displayed on the map using this color.</td>
+</tr>
+<tr><td><label>Background color</label></td><td>The color of the map canvas.</td>
+<tr><td><label>Save paths</label></td><td>Ability to save the paths as absolute or relative.</td>
+
+</tr>
 <tr>
-<td>Map Units</td><td>Choose the map units appropriate for the layers in the project</td>
+<td><label>Layer units</label></td><td>Choose the units appropriate for the layers in the project.</td>
 </tr>
 <tr>
-<td>Cursor Display Precision</td><td>Use the manual setting to set the precision of the display in the status bar. As the mouse is moved over the map canvas, the coordinates are updated and displayed in the status bar using the precision you choose. Automatic (the default) results in a default precision based on the map units.</td>
+<td><label>Precision</label></td><td>Use the manual setting to set the precision of the display in the status bar. As the mouse is moved over the map canvas, the coordinates are updated and displayed in the status bar using the precision you choose. Automatic (the default) results in a default precision based on the map units.</td>
 </tr>
 <tr>
-<td>Digitising Settings</td><td>This allows you to set the snapping tolerance in pixels, the line width used when digitising and the color for digitised lines.</td>
+<td><label>Digitizing</label></td><td>This allows you to set the snapping tolerance in pixels, the line width used when digitising and the color for digitised lines.</td>
 </tr>
-<tr><td>Selection color</td><td>Selected features are displayed on the map using this color.</td>
-</tr>
+
 </table>
-<a anchor="projections"></a><h4>Projection Tab</h4>
-The Projection tab allows you to set the projection for the current project and enable on the fly projection. You do not need to have a saved project to setup and enable on the fly projection.<p>
-To use on the fly projection, click the <i>Enable on the fly projection</i> checkbox. Then choose the projection for the project (map canvas) from the list of Geographic or Projected coordinate systems.
+<a name="crs">
+<h4>Coordinate Reference System (CRS) Tab</h4>
+</a>
+The Coordinate Reference System (CRS) tab allows you to set the projection for the current project and enable on the fly transformation. You do not need to have a saved project to setup and enable 'on the fly' CRS transformation.
 <p>
-You can find a coordinate system by entering its PostGIS SRID, EPSG code or the QGIS SRSRID and clicking the <i>Find</i> button.
+To use 'on the fly' CRS transformation, click the <label>Enable 'on the fly' CRS transformation</label> checkbox. Then choose the projection for the project (map canvas) from the list of Geographic or Projected coordinate systems.
+<p>
+You can find a coordinate system by entering its name, EPSG code or the QGIS ID and clicking the <label>Find</label> button.
+<p>
+The 4 last used coordinate systems will be available as buttons on the bottom for quick access.
+
+<a name="layers">
+<h4>Identifiable layers Tab</h4>
+</a>
+On this tab you can choose the identify mode for the layers.

Modified: trunk/qgis/src/core/qgsapplication.cpp
===================================================================
--- trunk/qgis/src/core/qgsapplication.cpp	2009-12-11 10:27:14 UTC (rev 12405)
+++ trunk/qgis/src/core/qgsapplication.cpp	2009-12-11 15:04:35 UTC (rev 12406)
@@ -386,9 +386,51 @@
             "border: 1px solid #6c6c6c;"
             "}"
             ".overview{ font: 1.82em; font-weight: bold;}"
-            "h1 {font-size : 22pt; }"
-            "h2 {font-size : 18pt; }"
-            "h3 {font-size : 14pt; }";
+            "BODY{  background: white;"
+            "  color: black;"
+            "  font-family: arial,sans-serif;"
+            "}"
+            "H2{  background-color: #F6F6F6;"
+            "  color: #8FB171; "
+            "  font-size: medium;  "
+            "  font-weight: normal;"
+            "  font-family: luxi serif, georgia, times new roman, times, serif;"
+            "  background: none;"
+            "  padding: 0.75em 0 0;"
+            "  margin: 0;"
+            "  line-height: 1.1em;"
+            "}"
+            "H3{  background-color: #F6F6F6;"
+            "  color: #729FCF;"
+            "  font-family: luxi serif, georgia, times new roman, times, serif;"
+            "  font-weight: bold;"
+            "  font-size: large;"
+            "  text-align: right;"
+            "  border-bottom: 5px solid #DCEB5C;"
+            "}"
+            "H4{  background-color: #F6F6F6;"
+            "  color: #729FCF;"
+            "  font-family: luxi serif, georgia, times new roman, times, serif;"
+            "  font-weight: bold;"
+            "  font-size: medium;"
+            "  text-align: right;"
+            "}"
+            "a{  background-color: white;"
+            "  color: #729FCF;"
+            "  font-family: arial,sans-serif;"
+            "  font-weight: normal;"
+            "  font-size: small;"
+            "}"
+            "label{  background-color: #FFFFCC;"
+            "  border: 1px solid black;"
+            "  margin: 1px;"
+            "  padding: 0px 3px; "
+            "  font-size: small;"
+            "}"
+            "i{  background-color: #F6F6F6;"
+            "  color: #F57900;"
+            "  font-family: arial,sans-serif;"
+            "}";
   return myStyle;
 }
 



More information about the QGIS-commit mailing list