Skip to content

Commit

Permalink
Applied css style from Milena. See help text for project props dialog…
Browse files Browse the repository at this point in the history
… for an example.

git-svn-id: http://svn.osgeo.org/qgis/trunk@12406 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Dec 11, 2009
1 parent 92e67c8 commit 40d20a1
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 14 deletions.
44 changes: 33 additions & 11 deletions resources/context_help/QgsProjectProperties-en_US
Original file line number Diff line number Diff line change
@@ -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>Map Units</td><td>Choose the map units appropriate for the layers in the project</td>
<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>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>Layer units</label></td><td>Choose the units appropriate for the layers in the project.</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>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>Selection color</td><td>Selected features are displayed on the map using this color.</td>
<tr>
<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>

</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>
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 PostGIS SRID, EPSG code or the QGIS SRSRID and clicking the <i>Find</i> button.
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.
48 changes: 45 additions & 3 deletions src/core/qgsapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,9 +386,51 @@ QString QgsApplication::reportStyleSheet()
"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;
}

Expand Down

0 comments on commit 40d20a1

Please sign in to comment.