Clicking Nodes\Links brings them up in viewer (#1344)

* Clicking Nodes\Links brings them up in viewer

* Removed duplicated feature, kept spin box and single click node event. Removed unrelated border option crashing.

---------

Co-authored-by: Chuck Ellison <charles.c.ellison@erdc.dren.mil>
Co-authored-by: matlabbe <matlabbe@gmail.com>
This commit is contained in:
Charles Ellison
2024-09-21 20:36:06 -05:00
committed by GitHub
parent 379e11bd66
commit 21abdddbff
5 changed files with 56 additions and 28 deletions

View File

@@ -52,6 +52,7 @@ class QGraphicsView;
class QLabel;
class QToolButton;
class QDialog;
class QSpinBox;
namespace rtabmap
{
@@ -161,7 +162,7 @@ private:
void updateIds();
void update(int value,
QLabel * labelIndex,
QSpinBox * spinBoxIndex,
QLabel * labelParents,
QLabel * labelChildren,
QLabel * weight,

View File

@@ -175,7 +175,7 @@ public Q_SLOTS:
protected:
virtual void wheelEvent ( QWheelEvent * event );
virtual void mouseMoveEvent(QMouseEvent * event);
virtual void mouseDoubleClickEvent(QMouseEvent * event);
virtual void mousePressEvent(QMouseEvent * event);
virtual void contextMenuEvent(QContextMenuEvent * event);
private: