Commit f66e08c1 authored by Mariano Lizarraga's avatar Mariano Lizarraga

Finished making changes to use new GoogleEarth and OSG views. None of them yet working

parent b6ea114f
...@@ -95,7 +95,7 @@ namespace qmapcontrol ...@@ -95,7 +95,7 @@ namespace qmapcontrol
} }
else else
{ {
qDebug() << "NETWORK_PIXMAP_ERROR: " << ax; //qDebug() << "NETWORK_PIXMAP_ERROR: " << ax;
} }
} }
......
...@@ -123,10 +123,11 @@ macx { ...@@ -123,10 +123,11 @@ macx {
-framework GEOS \ -framework GEOS \
-framework SQLite3 \ -framework SQLite3 \
-framework osgFX \ -framework osgFX \
-framework osgTerrain \ -framework osgTerrain
DEFINES += QGC_OSGEARTH_ENABLED DEFINES += QGC_OSGEARTH_ENABLED
} }
exists(/opt/local/include/libfreenect) { exists(/opt/local/include/libfreenect) {
message("Building support for libfreenect") message("Building support for libfreenect")
DEPENDENCIES_PRESENT += libfreenect DEPENDENCIES_PRESENT += libfreenect
......
...@@ -235,7 +235,7 @@ void MainWindow::connectWidgets() ...@@ -235,7 +235,7 @@ void MainWindow::connectWidgets()
connect(waypointsDockWidget->widget(), SIGNAL(createWaypointAtMap(QPointF)), mapWidget, SLOT(createWaypointGraphAtMap(QPointF))); connect(waypointsDockWidget->widget(), SIGNAL(createWaypointAtMap(QPointF)), mapWidget, SLOT(createWaypointGraphAtMap(QPointF)));
// it notifies that a waypoint global change it¥s position by spinBox on Widget WaypointView // it notifies that a waypoint global change it¥s position by spinBox on Widget WaypointView
//connect(waypointsDockWidget->widget(), SIGNAL(changePositionWPGlobalBySpinBox(int,float,float)), mapWidget, SLOT(changeGlobalWaypointPositionBySpinBox(int,float,float))); //connect(waypointsDockWidget->widget(), SIGNAL(changePositionWPGlobalBySpinBox(int,float,float)), mapWidget, SLOT(changeGlobalWaypointPositionBySpinBox(int,float,float)));
connect(waypointsDockWidget->widget(), SIGNAL(changePositionWPGlobalBySpinBox(int,float,float)), mapWidget, SLOT(changeGlobalWaypointPositionBySpinBox(int,float,float))); // connect(waypointsDockWidget->widget(), SIGNAL(changePositionWPGlobalBySpinBox(int,float,float)), mapWidget, SLOT(changeGlobalWaypointPositionBySpinBox(int,float,float)));
connect(slugsCamControlWidget->widget(),SIGNAL(viewCamBorderAtMap(bool)),mapWidget,SLOT(drawBorderCamAtMap(bool))); connect(slugsCamControlWidget->widget(),SIGNAL(viewCamBorderAtMap(bool)),mapWidget,SLOT(drawBorderCamAtMap(bool)));
connect(slugsCamControlWidget->widget(),SIGNAL(changeCamPosition(double,double,QString)),mapWidget,SLOT(updateCameraPosition(double,double, QString))); connect(slugsCamControlWidget->widget(),SIGNAL(changeCamPosition(double,double,QString)),mapWidget,SLOT(updateCameraPosition(double,double, QString)));
......
...@@ -19,13 +19,13 @@ ...@@ -19,13 +19,13 @@
SlugsVideoCamControl::SlugsVideoCamControl(QWidget *parent) : SlugsVideoCamControl::SlugsVideoCamControl(QWidget *parent) :
QWidget(parent), QWidget(parent),
ui(new Ui::SlugsVideoCamControl), ui(new Ui::SlugsVideoCamControl)
dragging(0) //dragging(0)
{ {
ui->setupUi(this); ui->setupUi(this);
x1= 0; // x1= 0;
y1 = 0; // y1 = 0;
connect(ui->viewCamBordeatMap_checkBox,SIGNAL(clicked(bool)),this,SLOT(changeViewCamBorderAtMapStatus(bool))); connect(ui->viewCamBordeatMap_checkBox,SIGNAL(clicked(bool)),this,SLOT(changeViewCamBorderAtMapStatus(bool)));
// tL = ui->padCamContro_frame->frameGeometry().topLeft(); // tL = ui->padCamContro_frame->frameGeometry().topLeft();
// bR = ui->padCamContro_frame->frameGeometry().bottomRight(); // bR = ui->padCamContro_frame->frameGeometry().bottomRight();
......
...@@ -487,10 +487,10 @@ void WaypointList::on_clearWPListButton_clicked() ...@@ -487,10 +487,10 @@ void WaypointList::on_clearWPListButton_clicked()
} }
else else
{ {
if(isGlobalWP) // if(isGlobalWP)
{ // {
emit clearPathclicked(); // emit clearPathclicked();
} // }
} }
} }
...@@ -573,5 +573,5 @@ void WaypointList::setIsLoadFileWP() ...@@ -573,5 +573,5 @@ void WaypointList::setIsLoadFileWP()
void WaypointList::setIsReadGlobalWP(bool value) void WaypointList::setIsReadGlobalWP(bool value)
{ {
readGlobalWP = value; // readGlobalWP = value;
} }
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