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
2db1d024
Commit
2db1d024
authored
Aug 16, 2013
by
Lorenz Meier
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #335 from tstellanova/config_tweaks
Config tweaks
parents
5ca5bd9e
f1b68b50
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
QGCParamWidget.cc
src/ui/QGCParamWidget.cc
+3
-0
QGCTabbedInfoView.cpp
src/ui/QGCTabbedInfoView.cpp
+5
-5
No files found.
src/ui/QGCParamWidget.cc
View file @
2db1d024
...
@@ -209,6 +209,8 @@ void QGCParamWidget::handlePendingParamUpdate(int compId, const QString& paramNa
...
@@ -209,6 +209,8 @@ void QGCParamWidget::handlePendingParamUpdate(int compId, const QString& paramNa
if
(
isPending
)
{
if
(
isPending
)
{
paramItem
->
setBackground
(
0
,
QBrush
(
QColor
(
QGC
::
colorOrange
)));
paramItem
->
setBackground
(
0
,
QBrush
(
QColor
(
QGC
::
colorOrange
)));
paramItem
->
setBackground
(
1
,
QBrush
(
QColor
(
QGC
::
colorOrange
)));
paramItem
->
setBackground
(
1
,
QBrush
(
QColor
(
QGC
::
colorOrange
)));
//ensure that the adjusted item is visible
tree
->
expandItem
(
paramItem
->
parent
());
}
}
else
{
else
{
paramItem
->
setBackground
(
0
,
Qt
::
NoBrush
);
paramItem
->
setBackground
(
0
,
Qt
::
NoBrush
);
...
@@ -368,6 +370,7 @@ QTreeWidgetItem* QGCParamWidget::updateParameterDisplay(int compId, QString para
...
@@ -368,6 +370,7 @@ QTreeWidgetItem* QGCParamWidget::updateParameterDisplay(int compId, QString para
else
{
else
{
paramItem
->
setData
(
1
,
Qt
::
DisplayRole
,
value
);
paramItem
->
setData
(
1
,
Qt
::
DisplayRole
,
value
);
}
}
}
}
if
(
paramItem
)
{
if
(
paramItem
)
{
...
...
src/ui/QGCTabbedInfoView.cpp
View file @
2db1d024
...
@@ -4,18 +4,18 @@ QGCTabbedInfoView::QGCTabbedInfoView(QWidget *parent) : QWidget(parent)
...
@@ -4,18 +4,18 @@ QGCTabbedInfoView::QGCTabbedInfoView(QWidget *parent) : QWidget(parent)
{
{
ui
.
setupUi
(
this
);
ui
.
setupUi
(
this
);
messageView
=
new
QGCMessageView
(
this
);
messageView
=
new
QGCMessageView
(
this
);
actionsWidget
=
new
UASActionsWidget
(
this
);
//
actionsWidget = new UASActionsWidget(this);
quickView
=
new
UASQuickView
(
this
);
quickView
=
new
UASQuickView
(
this
);
rawView
=
new
UASRawStatusView
(
this
);
//
rawView = new UASRawStatusView(this);
ui
.
tabWidget
->
addTab
(
quickView
,
"Quick"
);
ui
.
tabWidget
->
addTab
(
quickView
,
"Quick"
);
ui
.
tabWidget
->
addTab
(
actionsWidget
,
"Actions"
);
//
ui.tabWidget->addTab(actionsWidget,"Actions");
ui
.
tabWidget
->
addTab
(
rawView
,
"Status"
);
//
ui.tabWidget->addTab(rawView,"Status");
ui
.
tabWidget
->
addTab
(
messageView
,
"Messages"
);
ui
.
tabWidget
->
addTab
(
messageView
,
"Messages"
);
}
}
void
QGCTabbedInfoView
::
addSource
(
MAVLinkDecoder
*
decoder
)
void
QGCTabbedInfoView
::
addSource
(
MAVLinkDecoder
*
decoder
)
{
{
m_decoder
=
decoder
;
m_decoder
=
decoder
;
rawView
->
addSource
(
decoder
);
//
rawView->addSource(decoder);
quickView
->
addSource
(
decoder
);
quickView
->
addSource
(
decoder
);
}
}
...
...
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