@ -596,8 +596,6 @@ void MainWindow::buildCommonWidgets()
@@ -596,8 +596,6 @@ void MainWindow::buildCommonWidgets()
createDockWidget ( engineeringView , new HUD ( 320 , 240 , this ) , tr ( " Video Downlink " ) , " HEAD_UP_DISPLAY_DOCKWIDGET " , VIEW_ENGINEER , Qt : : RightDockWidgetArea , QSize ( this - > width ( ) / 1.5 , 0 ) ) ;
createDockWidget ( engineeringView , new HUD ( 320 , 240 , this ) , tr ( " Video Downlink " ) , " HEAD_UP_DISPLAY_DOCKWIDGET " , VIEW_ENGINEER , Qt : : RightDockWidgetArea , QSize ( this - > width ( ) / 1.5 , 0 ) ) ;
createDockWidget ( simView , new PrimaryFlightDisplay ( 320 , 240 , this ) , tr ( " Primary Flight Display " ) , " PRIMARY_FLIGHT_DISPLAY_DOCKWIDGET " , VIEW_SIMULATION , Qt : : RightDockWidgetArea , QSize ( this - > width ( ) / 1.5 , 0 ) ) ;
createDockWidget ( pilotView , new PrimaryFlightDisplay ( 320 , 240 , this ) , tr ( " Primary Flight Display " ) , " PRIMARY_FLIGHT_DISPLAY_DOCKWIDGET " , VIEW_FLIGHT , Qt : : LeftDockWidgetArea , QSize ( this - > width ( ) / 1.8 , 0 ) ) ;
@ -778,7 +776,11 @@ void MainWindow::loadDockWidget(const QString& name)
@@ -778,7 +776,11 @@ void MainWindow::loadDockWidget(const QString& name)
}
else if ( name = = " PRIMARY_FLIGHT_DISPLAY_DOCKWIDGET " )
{
createDockWidget ( centerStack - > currentWidget ( ) , new PrimaryFlightDisplay ( 320 , 240 , this ) , tr ( " Primary Flight Display " ) , " HEAD_UP_DISPLAY_DOCKWIDGET " , currentView , Qt : : RightDockWidgetArea ) ;
createDockWidget ( centerStack - > currentWidget ( ) , new PrimaryFlightDisplay ( 320 , 240 , this ) , tr ( " Primary Flight Display " ) , " PRIMARY_FLIGHT_DISPLAY_DOCKWIDGET " , currentView , Qt : : RightDockWidgetArea ) ;
}
else if ( name = = " HEAD_UP_DISPLAY_DOCKWIDGET " )
{
createDockWidget ( centerStack - > currentWidget ( ) , new HUD ( 320 , 240 , this ) , tr ( " Head Up Display " ) , " HEAD_UP_DISPLAY_DOCKWIDGET " , currentView , Qt : : RightDockWidgetArea ) ;
}
else if ( name = = " UAS_INFO_QUICKVIEW_DOCKWIDGET " )
{