Commit e371c413 authored by Mike Kremer's avatar Mike Kremer

Changed dialog title.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5282 383ad7c9-94d9-4d36-a494-682f7c89f535
parent fa2283b7
......@@ -61,10 +61,8 @@ void MovePlugin::showProps(){
if ( ! PluginFunctions::getObject(meshID,obj) )
return;
ACG::SceneGraph::BaseNode* mesh = ACG::SceneGraph::find_node( PluginFunctions::getSceneGraphRootNode(), meshID );
movePropsWidget* pW = new movePropsWidget(obj);
pW->setWindowTitle(QString((mesh->name()).c_str()));
pW->setWindowTitle(QString((mNode->name()).c_str()));
connect(pW->posButton,SIGNAL(clicked() ),this,SLOT(slotSetPosition()));
connect(pW->axisAButton,SIGNAL(clicked() ),this,SLOT(slotToggleAxisA()));
......
......@@ -298,14 +298,26 @@ class MovePlugin : public QObject, BaseInterface, MouseInterface, PickingInterfa
/// Show properties of move manipulator in a dialog
void showProps( );
/// Get properties dialog widget that is attached to BaseDataObject obj
movePropsWidget* getDialogWidget(BaseObjectData* _obj);
/// Get parent properties dialog widget of QPushButton but
movePropsWidget* getDialogFromButton(QPushButton* _but);
/** Override ContextMenuInterface slot in order to avoid appearance of
* context menu entry when clicking on other nodes (other than manpipulator nodes)
*/
void slotUpdateContextMenuNode( int _nodeId );
private:
/// Move context menu
QMenu* contextMenu_;
/// List of properties dialogs (each corresponding to one manipulator)
QList<movePropsWidget*> propsWindows_;
/// Context menu entry
QAction* contextAction_;
/** @} */
......
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