标签添加
This commit is contained in:
@@ -139,6 +139,10 @@ OPMapWidget::OPMapWidget(QWidget *parent, Configuration *config) : QGraphicsView
|
||||
waypointsetting,SLOT(measureState(bool)));
|
||||
|
||||
|
||||
connect(waypointsetting,SIGNAL(WPShowTip(bool)),
|
||||
this,SLOT(WPShowTip(bool)));
|
||||
|
||||
|
||||
//missiontable = new MissionDialog();
|
||||
|
||||
//missiontable->hide();
|
||||
@@ -2343,7 +2347,7 @@ void OPMapWidget::receivedPoint(float param1,float param2,float param3,float par
|
||||
|
||||
|
||||
//emit showMessage(tr("recieve way point %1").arg(seq + 1));
|
||||
emit showMessage(tr("recieve way point group:%1 seq:%2").arg(mission_type).arg(seq + 1));
|
||||
emit showMessage(tr("recieve way point group:%1 seq:%2").arg(mission_type - 2).arg(seq + 1));
|
||||
|
||||
|
||||
//qDebug() << "receivers Point" << x * 10e-8 << y * 10e-8 << 10e-8;
|
||||
@@ -2585,7 +2589,16 @@ void OPMapWidget::getAllPoints(int group)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void OPMapWidget::WPShowTip(bool flag)
|
||||
{
|
||||
foreach(QGraphicsItem * i, map->childItems()) {
|
||||
WayPointItem *w = qgraphicsitem_cast<WayPointItem *>(i);
|
||||
if (w)
|
||||
{
|
||||
w->setisShowTip(flag);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user