Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qgroundcontrol
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Valentin Platzgummer
qgroundcontrol
Commits
5477fd74
Commit
5477fd74
authored
14 years ago
by
Bryan Godbolt
Browse files
Options
Downloads
Patches
Plain Diff
set groupbox title for opallink, protected by ifdef OPAL_RT
parent
bedd4304
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/ui/CommConfigurationWindow.cc
+6
-0
6 additions, 0 deletions
src/ui/CommConfigurationWindow.cc
src/ui/CommConfigurationWindow.h
+4
-0
4 additions, 0 deletions
src/ui/CommConfigurationWindow.h
with
10 additions
and
0 deletions
src/ui/CommConfigurationWindow.cc
+
6
−
0
View file @
5477fd74
...
@@ -101,6 +101,12 @@ CommConfigurationWindow::CommConfigurationWindow(LinkInterface* link, ProtocolIn
...
@@ -101,6 +101,12 @@ CommConfigurationWindow::CommConfigurationWindow(LinkInterface* link, ProtocolIn
{
{
ui
.
linkGroupBox
->
setTitle
(
tr
(
"udp link"
));
ui
.
linkGroupBox
->
setTitle
(
tr
(
"udp link"
));
}
}
#ifdef OPAL_RT
else
if
(
dynamic_cast
<
OpalLink
*>
(
link
)
!=
0
)
{
ui
.
linkGroupBox
->
setTitle
(
tr
(
"Opal-RT Link"
));
}
#endif
else
else
{
{
qDebug
()
<<
"Link is NOT a known link, can't open configuration window"
;
qDebug
()
<<
"Link is NOT a known link, can't open configuration window"
;
...
...
This diff is collapsed.
Click to expand it.
src/ui/CommConfigurationWindow.h
+
4
−
0
View file @
5477fd74
...
@@ -40,6 +40,10 @@ This file is part of the PIXHAWK project
...
@@ -40,6 +40,10 @@ This file is part of the PIXHAWK project
#include
"ProtocolInterface.h"
#include
"ProtocolInterface.h"
#include
"ui_CommSettings.h"
#include
"ui_CommSettings.h"
#ifdef OPAL_RT
#include
"OpalLink.h"
#endif
class
CommConfigurationWindow
:
public
QWidget
class
CommConfigurationWindow
:
public
QWidget
{
{
Q_OBJECT
Q_OBJECT
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment