|
|
|
@ -438,7 +438,6 @@ MainWindow::~MainWindow()
@@ -438,7 +438,6 @@ MainWindow::~MainWindow()
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
// Delete all UAS objects
|
|
|
|
|
delete debugConsole; |
|
|
|
|
delete menuActionHelper; |
|
|
|
|
for (int i=0;i<commsWidgetList.size();i++) |
|
|
|
|
{ |
|
|
|
@ -666,17 +665,7 @@ void MainWindow::buildCommonWidgets()
@@ -666,17 +665,7 @@ void MainWindow::buildCommonWidgets()
|
|
|
|
|
|
|
|
|
|
menuActionHelper->createToolAction(tr("Status Details"), "UAS_STATUS_DETAILS_DOCKWIDGET"); |
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
if (!debugConsole) |
|
|
|
|
{ |
|
|
|
|
debugConsole = new DebugConsole(); |
|
|
|
|
debugConsole->setWindowTitle("Communications Console"); |
|
|
|
|
debugConsole->hide(); |
|
|
|
|
QAction* tempAction = ui.menuTools->addAction(tr("Communication Console")); |
|
|
|
|
tempAction->setCheckable(true); |
|
|
|
|
connect(tempAction,SIGNAL(triggered(bool)),debugConsole,SLOT(setShown(bool))); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
createDockWidget(pilotView, new DebugConsole(this), tr("Communications Console"), "COMMUNICATION_CONSOLE_DOCKWIDGET", VIEW_FLIGHT, Qt::LeftDockWidgetArea); |
|
|
|
|
createDockWidget(simView,new HSIDisplay(this),tr("Horizontal Situation"),"HORIZONTAL_SITUATION_INDICATOR_DOCKWIDGET",VIEW_SIMULATION,Qt::BottomDockWidgetArea); |
|
|
|
|
|
|
|
|
|
menuActionHelper->createToolAction(tr("Flight Display"), "HEAD_DOWN_DISPLAY_1_DOCKWIDGET"); |
|
|
|
|