Skip to content

Commit 912cf86

Browse files
author
timlinux
committed
Some cleanups and additions to Andreas' tips
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15244 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 2407594 commit 912cf86

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

src/app/qgstipfactory.cpp

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,19 @@ QgsTipFactory::QgsTipFactory() : QObject()
106106
" found in the tab <strong>Item --> General Options --> Position "
107107
" and Size</strong>. For easier positioning you can also set "
108108
" specific anchor points of the element within this dialogue. "
109+
" The other move tool (the globe icon combined with the hand icon) "
110+
" allows to move the map content within a map frame. "
111+
));
112+
addGuiTip(myTip);
113+
// This tip contributed by Andreas Neumann
114+
myTip.setTitle(tr("Lock an element in the layout view"));
115+
myTip.setContent(tr(" By left clicking an element in the layout view you can "
116+
" select it, by right clicking an element you can lock it. A lock symbol "
117+
" will appear in the upper left corner of the selected element. This "
118+
" prevents the element from accidentally being moved with the mouse. While "
119+
" in a locked state, you cannot move an element with the mouse but you can "
120+
" still move it with the arrow keys or by absolutely positioning it by "
121+
" setting its <strong>Position and Size</strong>"
109122
));
110123
addGuiTip(myTip);
111124
// This tip contributed by Andreas Neumann
@@ -128,12 +141,12 @@ QgsTipFactory::QgsTipFactory() : QObject()
128141
" set the style to 'Numeric'. You also need to select the map frame, if there "
129142
" is more than one."
130143
));
131-
addGenericTip(myTip);
144+
addGuiTip(myTip);
132145
/* Template for adding more tips
133146
myTip.setTitle(tr(""));
134147
myTip.setContent(tr(""
135148
));
136-
addGenericTip(myTip);
149+
addGuiTip(myTip);
137150
*/
138151
}
139152

0 commit comments

Comments
 (0)