Skip to content
Browse files

Added new images folder for tip images and new tip from Alister Hood …

…which demonstrates how to add a tip with an image. Note the use of alias in the qrc file.

git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Mar 2, 2011
1 parent 95af577 commit d453752bf721cc03ae1105dcf0f8884c8cf0888c
Showing with 12 additions and 0 deletions.
  1. +3 −0 images/images.qrc
  2. BIN images/qgis_tips/symbol_levels.png
  3. +9 −0 src/app/qgstipfactory.cpp
@@ -401,4 +401,7 @@
<qresource prefix="/images/tips" >
<file alias="symbol_levels.png">qgis_tips/symbol_levels.png</file>
Binary file not shown.
@@ -162,6 +162,15 @@ QgsTipFactory::QgsTipFactory() : QObject()
" it on again when you are ready to have the map draw itself again!"
) );
addGuiTip( myTip );
// Tip contributed by Alister Hood
myTip.setTitle(tr("Join intersected polylines when rendering"));
myTip.setContent(tr("When applying layered styles to a polyline layer, you can join"
" intersecting lines together simply by enabling symbol levels."
" The image below shows a before (left) and after (right) view of"
" an intersection when symbol levels are enabled.") +
QString("<p><img src=\":/images/tips/symbol_levels.png\"/></p>")
/* Template for adding more tips

0 comments on commit d453752

Please sign in to comment.
You can’t perform that action at this time.