Skip to content

Commit

Permalink
Added some more great tips from Andreas Neumann
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15240 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Feb 22, 2011
1 parent 99ecdba commit 0609ac6
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/app/qgstipfactory.cpp
Expand Up @@ -87,6 +87,39 @@ QgsTipFactory::QgsTipFactory() : QObject()
"</ul>"
) );
addGenericTip( myTip );
// This tip contributed by Andreas Neumann
myTip.setTitle(tr("Add the current date to a map layout"));
myTip.setContent(tr("Content: You can add a current date variable to your map "
" layout. Create a regular text label and add the string "
" $CURRENT_DATE(yyyy-MM-dd) to the text box. See the "
" <a href=\"http://doc.qt.nokia.com/latest/qdate.html#toString\">"
" QDate::toString format documentation</a> for the possible date formats."
));
addGuiTip(myTip);
myTip.setTitle(tr("Moving Elements and Maps in the Print Composer"));
myTip.setContent(tr("In the print composer tool bar you can find two "
" buttons for moving elements. The left one (a selection cursor "
" with the hand symbol) selects and moves elements in the layout. "
" After selecting the element with this tool you can also move "
" them around with the arrow keys. For accurate positioning use "
" the <strong>Position and Size</strong> dialogue, which can be "
" 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. "
));
addGuiTip(myTip);
myTip.setTitle(tr("Rotating a map and linking a north arrow"));
myTip.setContent(tr("You can rotate a map by setting its rotation value "
" in the <strong>Item tab --> Map</strong> section. To place a north "
" arrow in your layout you can use the <strong>Add Image</strong> "
" tool, the button with the little camera icon. QGIS comes with a "
" selection of north arrows. After the placement of the north arrow "
" in the layout you can link it with a specific map frame by activating "
" the <strong>Sync with map</strong> checkbox and selecting a map frame. "
" Whenever you change the rotation value of a linked map, the north arrow "
" will now automatically adjust its rotation. "
));
addGuiTip(myTip);
/* Template for adding more tips
myTip.setTitle(tr(""));
myTip.setContent(tr(""
Expand Down

0 comments on commit 0609ac6

Please sign in to comment.