mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 03:16:10 +00:00
change to allow rename by double click
This commit is contained in:
parent
237c968ace
commit
2a257a2fd0
@ -205,7 +205,14 @@ PickPointsDialog::PickPointsDialog(EditPickPointsPlugin *plugin,
|
||||
|
||||
//signals and slots
|
||||
connect(ui.removePointButton, SIGNAL(clicked()), this, SLOT(removeHighlightedPoint()));
|
||||
|
||||
//rename when rename button clicked
|
||||
connect(ui.renamePointButton, SIGNAL(clicked()), this, SLOT(renameHighlightedPoint()));
|
||||
|
||||
//rename on double click of point
|
||||
connect(ui.pickedPointsTreeWidget, SIGNAL(itemDoubleClicked(QTreeWidgetItem *, int)),
|
||||
this, SLOT(renameHighlightedPoint() ) );
|
||||
|
||||
connect(ui.clearPointButton, SIGNAL(clicked()), this, SLOT(clearHighlightedPoint()));
|
||||
connect(ui.pickPointModeRadioButton, SIGNAL(toggled(bool)), this, SLOT(togglePickMode(bool)) );
|
||||
connect(ui.movePointRadioButton, SIGNAL(toggled(bool)), this, SLOT(toggleMoveMode(bool)) );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user