Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
5bb53aae
Commit
5bb53aae
authored
Jul 24, 2014
by
Lorenz Meier
Browse files
Better main window init
parent
cfa2db73
Changes
1
Show whitespace changes
Inline
Side-by-side
src/ui/MainWindow.cc
View file @
5bb53aae
...
...
@@ -666,7 +666,7 @@ void MainWindow::buildCommonWidgets()
menuActionHelper
->
createToolAction
(
tr
(
"Status Details"
),
"UAS_STATUS_DETAILS_DOCKWIDGET"
);
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
);
//
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"
);
menuActionHelper
->
createToolAction
(
tr
(
"Actuator Status"
),
"HEAD_DOWN_DISPLAY_2_DOCKWIDGET"
);
...
...
@@ -675,7 +675,7 @@ void MainWindow::buildCommonWidgets()
createDockWidget
(
engineeringView
,
new
HUD
(
320
,
240
,
this
),
tr
(
"Video Downlink"
),
"HEAD_UP_DISPLAY_DOCKWIDGET"
,
VIEW_FLIGHT
,
Qt
::
RightDockWidgetArea
);
createDockWidget
(
simView
,
new
PrimaryFlightDisplay
(
this
),
tr
(
"Primary Flight Display"
),
"PRIMARY_FLIGHT_DISPLAY_DOCKWIDGET"
,
VIEW_SIMULATION
,
Qt
::
RightDockWidgetArea
);
createDockWidget
(
p
ilot
View
,
new
PrimaryFlightDisplay
(
this
),
tr
(
"Primary Flight Display"
),
"PRIMARY_FLIGHT_DISPLAY_DOCKWIDGET"
,
VIEW_FLIGHT
,
Qt
::
LeftDockWidgetArea
);
createDockWidget
(
p
lanner
View
,
new
PrimaryFlightDisplay
(
this
),
tr
(
"Primary Flight Display"
),
"PRIMARY_FLIGHT_DISPLAY_DOCKWIDGET"
,
VIEW_FLIGHT
,
Qt
::
LeftDockWidgetArea
);
QGCTabbedInfoView
*
infoview
=
new
QGCTabbedInfoView
(
this
);
infoview
->
addSource
(
mavlinkDecoder
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment