Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
e186cedd
Commit
e186cedd
authored
May 26, 2010
by
pixhawk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug introduced by watchdog view which deactivated the main window
parent
a994cdc1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
MainWindow.cc
src/ui/MainWindow.cc
+3
-0
MainWindow.ui
src/ui/MainWindow.ui
+2
-2
No files found.
src/ui/MainWindow.cc
View file @
e186cedd
...
...
@@ -99,6 +99,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent),
parameters
=
new
ParameterInterface
(
this
);
parameters
->
setVisible
(
false
);
watchdogControl
=
new
WatchdogControl
(
this
);
watchdogControl
->
setVisible
(
false
);
QStringList
*
acceptList
=
new
QStringList
();
acceptList
->
append
(
"roll IMU"
);
...
...
@@ -459,6 +460,7 @@ void MainWindow::loadSettingsView()
QDockWidget
*
container6
=
new
QDockWidget
(
tr
(
"Onboard Parameters"
),
this
);
container6
->
setWidget
(
parameters
);
addDockWidget
(
Qt
::
RightDockWidgetArea
,
container6
);
this
->
show
();
}
void
MainWindow
::
loadEngineerView
()
...
...
@@ -504,6 +506,7 @@ void MainWindow::loadMAVLinkView()
{
clearView
();
centerStack
->
setCurrentWidget
(
protocol
);
this
->
show
();
}
void
MainWindow
::
loadAllView
()
...
...
src/ui/MainWindow.ui
View file @
e186cedd
...
...
@@ -35,7 +35,7 @@
<x>
0
</x>
<y>
0
</y>
<width>
1000
</width>
<height>
2
2
</height>
<height>
2
5
</height>
</rect>
</property>
<widget
class=
"QMenu"
name=
"menuMGround"
>
...
...
@@ -257,7 +257,7 @@
<action
name=
"actionShow_MAVLink_view"
>
<property
name=
"icon"
>
<iconset
resource=
"../../mavground.qrc"
>
<normaloff>
:/images/devices/network-wire
less.svg
</normaloff>
:/images/devices/network-wireless
.svg
</iconset>
<normaloff>
:/images/devices/network-wire
d.svg
</normaloff>
:/images/devices/network-wired
.svg
</iconset>
</property>
<property
name=
"text"
>
<string>
Show MAVLink view
</string>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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