Skip to content

Commit 0609ac6

Browse files
author
timlinux
committed
Added some more great tips from Andreas Neumann
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15240 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 99ecdba commit 0609ac6

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

src/app/qgstipfactory.cpp

+33
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,39 @@ QgsTipFactory::QgsTipFactory() : QObject()
8787
"</ul>"
8888
) );
8989
addGenericTip( myTip );
90+
// This tip contributed by Andreas Neumann
91+
myTip.setTitle(tr("Add the current date to a map layout"));
92+
myTip.setContent(tr("Content: You can add a current date variable to your map "
93+
" layout. Create a regular text label and add the string "
94+
" $CURRENT_DATE(yyyy-MM-dd) to the text box. See the "
95+
" <a href=\"http://doc.qt.nokia.com/latest/qdate.html#toString\">"
96+
" QDate::toString format documentation</a> for the possible date formats."
97+
));
98+
addGuiTip(myTip);
99+
myTip.setTitle(tr("Moving Elements and Maps in the Print Composer"));
100+
myTip.setContent(tr("In the print composer tool bar you can find two "
101+
" buttons for moving elements. The left one (a selection cursor "
102+
" with the hand symbol) selects and moves elements in the layout. "
103+
" After selecting the element with this tool you can also move "
104+
" them around with the arrow keys. For accurate positioning use "
105+
" the <strong>Position and Size</strong> dialogue, which can be "
106+
" found in the tab <strong>Item --> General Options --> Position "
107+
" and Size</strong>. For easier positioning you can also set "
108+
" specific anchor points of the element within this dialogue. "
109+
));
110+
addGuiTip(myTip);
111+
myTip.setTitle(tr("Rotating a map and linking a north arrow"));
112+
myTip.setContent(tr("You can rotate a map by setting its rotation value "
113+
" in the <strong>Item tab --> Map</strong> section. To place a north "
114+
" arrow in your layout you can use the <strong>Add Image</strong> "
115+
" tool, the button with the little camera icon. QGIS comes with a "
116+
" selection of north arrows. After the placement of the north arrow "
117+
" in the layout you can link it with a specific map frame by activating "
118+
" the <strong>Sync with map</strong> checkbox and selecting a map frame. "
119+
" Whenever you change the rotation value of a linked map, the north arrow "
120+
" will now automatically adjust its rotation. "
121+
));
122+
addGuiTip(myTip);
90123
/* Template for adding more tips
91124
myTip.setTitle(tr(""));
92125
myTip.setContent(tr(""

0 commit comments

Comments
 (0)