Commit df16994f authored by Matthias Möller's avatar Matthias Möller

- add: user doc

- add: whats this link to user doc 

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@14717 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 11123e92
......@@ -111,7 +111,8 @@ void RulerPlugin::initializePlugin()
button->addAction(buttonAction_);
buttonAction_->setIcon(QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"ruler.png"));
buttonAction_->setCheckable(true);
buttonAction_->setWhatsThis(tr("Measures the distance between two points.\n<LeftClick>: define/change the position.\n<DoubleClick>: reset the ruler."));
WhatsThisGenerator whatsThisGen("Ruler");
whatsThisGen.setWhatsThis(buttonAction_,tr("Measures the distance between two points.<br><b>LeftClick</b>: define/change the position.<br><b>DoubleClick</b>: reset the ruler.<br>"));
buttonAction_->setChecked(false);
......
/**
\mainpage Documentation for Ruler Plugin
The Ruler Plugin helps to measure the distance between two points.
You can find the Ruler Plugin in the toolbar.
Enable it by clicking the icon shown below.
\image html ruler.png "Click on this icon in the toolbar to enable the ruler."
Once, the ruler tool is enabled you can use following actions:
\li <b>Click</b> on a point on your mesh places the ruler on the mesh, click on another point to get the <b>distance</b>.
\li <b>Doubleclick</b> for <b>resetting</b> the ruler.
\li <b>Modify</b> the ruler simply by <b>clicking</b> on another point in your mesh. In this case, the nearest end of the ruler will go to this position.
\li <b>Modify</b> the ruler can also be done, by clicking on an ending point and then simply <b>drag</b> this ending point to a position.
\note If you click outside of your mesh, the ruler gets a reset.
*/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment