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

whats this messages

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13971 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 73eb5d7e
......@@ -81,35 +81,42 @@ void PrimitivesGeneratorPlugin::pluginsInitialized() {
emit getMenubarMenu(tr("&Primitives"), primitivesMenu, true );
QIcon* icon;
QAction * action;
QAction* action;
action = primitivesMenu->addAction("Cube (Triangle Mesh)" ,this,SLOT(addTriangulatedCube()));
icon = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"primitive_cube.png");
action->setIcon(*icon);
action->setWhatsThis(tr("Create a Cube. <a href='qthelp://org.openflipper.plugin-primitivesgenerator/Plugin-PrimitivesGenerator/index.html#Cube'>Click for more information</a>"));
action = primitivesMenu->addAction("Dodecahedron" ,this,SLOT(addDodecahedron()));
icon = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"primitive_dodecahedron.png");
action->setIcon(*icon);
action->setWhatsThis(tr("Create a Dodecahedron. <a href='qthelp://org.openflipper.plugin-primitivesgenerator/Plugin-PrimitivesGenerator/index.html#Dodecahedron'>Click for more information</a>"));
action = primitivesMenu->addAction("Icosahedron" ,this,SLOT(addIcosahedron()));
icon = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"primitive_icosahedron.png");
action->setIcon(*icon);
action->setWhatsThis(tr("Create a Icosahedron. <a href='qthelp://org.openflipper.plugin-primitivesgenerator/Plugin-PrimitivesGenerator/index.html#Icosahedron'>Click for more information</a>"));
action = primitivesMenu->addAction("Octahedron" ,this,SLOT(addOctahedron()));
icon = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"primitive_octahedron.png");
action->setIcon(*icon);
action->setWhatsThis(tr("Create an Octahedron. <a href='qthelp://org.openflipper.plugin-primitivesgenerator/Plugin-PrimitivesGenerator/index.html#Octahedron'>Click for more information</a>"));
action = primitivesMenu->addAction("Pyramid" ,this,SLOT(addPyramid()));
icon = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"primitive_pyramid.png");
action->setIcon(*icon);
action->setWhatsThis(tr("Create a Pyramid. <a href='qthelp://org.openflipper.plugin-primitivesgenerator/Plugin-PrimitivesGenerator/index.html#Pyramid'>Click for more information</a>"));
action = primitivesMenu->addAction("Sphere",this,SLOT(addSphere()));
icon = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"primitive_sphere.png");
action->setIcon(*icon);
action->setWhatsThis(tr("Create a Sphere. <a href='qthelp://org.openflipper.plugin-primitivesgenerator/Plugin-PrimitivesGenerator/index.html#Sphere'>Click for more information</a>"));
action = primitivesMenu->addAction("Tetrahedron",this,SLOT(addTetrahedron()));
icon = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"primitive_tetrahedron.png");
action->setIcon(*icon);
action->setWhatsThis(tr("Create a Tetrahedron. <a href='qthelp://org.openflipper.plugin-primitivesgenerator/Plugin-PrimitivesGenerator/index.html#Tetrahedron'>Click for more information</a>"));
}
......
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