Skip to content

Commit

Permalink
Some cleanups and additions to Andreas' tips
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15244 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Feb 22, 2011
1 parent 2407594 commit 912cf86
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions src/app/qgstipfactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,19 @@ QgsTipFactory::QgsTipFactory() : QObject()
" found in the tab <strong>Item --> General Options --> Position "
" and Size</strong>. For easier positioning you can also set "
" specific anchor points of the element within this dialogue. "
" The other move tool (the globe icon combined with the hand icon) "
" allows to move the map content within a map frame. "
));
addGuiTip(myTip);
// This tip contributed by Andreas Neumann
myTip.setTitle(tr("Lock an element in the layout view"));
myTip.setContent(tr(" By left clicking an element in the layout view you can "
" select it, by right clicking an element you can lock it. A lock symbol "
" will appear in the upper left corner of the selected element. This "
" prevents the element from accidentally being moved with the mouse. While "
" in a locked state, you cannot move an element with the mouse but you can "
" still move it with the arrow keys or by absolutely positioning it by "
" setting its <strong>Position and Size</strong>"
));
addGuiTip(myTip);
// This tip contributed by Andreas Neumann
Expand All @@ -128,12 +141,12 @@ QgsTipFactory::QgsTipFactory() : QObject()
" set the style to 'Numeric'. You also need to select the map frame, if there "
" is more than one."
));
addGenericTip(myTip);
addGuiTip(myTip);
/* Template for adding more tips
myTip.setTitle(tr(""));
myTip.setContent(tr(""
));
addGenericTip(myTip);
addGuiTip(myTip);
*/
}

Expand Down

0 comments on commit 912cf86

Please sign in to comment.