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
2501ff03
Commit
2501ff03
authored
Jul 23, 2014
by
Lorenz Meier
Browse files
Fixed debug console location, still ugly (style sheet handling)
parent
7631d9c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/ui/MainWindow.cc
View file @
2501ff03
...
...
@@ -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()
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"
);
...
...
src/ui/MainWindow.h
View file @
2501ff03
...
...
@@ -470,8 +470,6 @@ protected:
QPointer
<
QGCToolBar
>
toolBar
;
QPointer
<
QGCStatusBar
>
customStatusBar
;
QPointer
<
DebugConsole
>
debugConsole
;
QPointer
<
QDockWidget
>
mavlinkInspectorWidget
;
QPointer
<
MAVLinkDecoder
>
mavlinkDecoder
;
QPointer
<
QDockWidget
>
mavlinkSenderWidget
;
...
...
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