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
282a6fa3
Commit
282a6fa3
authored
Mar 17, 2020
by
DonLakeFlyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parent
6762622d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
RadioComponent.qml
src/AutoPilotPlugins/Common/RadioComponent.qml
+11
-6
No files found.
src/AutoPilotPlugins/Common/RadioComponent.qml
View file @
282a6fa3
...
...
@@ -8,7 +8,7 @@
****************************************************************************/
import
QtQuick
2.3
import
QtQuick
.
Controls
1.2
import
QtQuick
.
Controls
2.4
import
QtQuick
.
Dialogs
1.2
import
QtQuick
.
Layouts
1.11
...
...
@@ -90,7 +90,7 @@ SetupPage {
QGCViewDialog
{
function
accept
()
{
controller
.
spektrumBindMode
(
radioGroup
.
c
urrent
.
bindMode
)
controller
.
spektrumBindMode
(
radioGroup
.
c
heckedButton
.
bindMode
)
hideDialog
()
}
...
...
@@ -98,6 +98,8 @@ SetupPage {
hideDialog
()
}
ButtonGroup
{
id
:
radioGroup
}
Column
{
anchors.fill
:
parent
spacing
:
5
...
...
@@ -109,18 +111,21 @@ SetupPage {
}
QGCRadioButton
{
text
:
qsTr
(
"
DSM2 Mode
"
)
text
:
qsTr
(
"
DSM2 Mode
"
)
ButtonGroup.group
:
radioGroup
property
int
bindMode
:
RadioComponentController
.
DSM2
}
QGCRadioButton
{
text
:
qsTr
(
"
DSMX (7 channels or less)
"
)
text
:
qsTr
(
"
DSMX (7 channels or less)
"
)
ButtonGroup.group
:
radioGroup
property
int
bindMode
:
RadioComponentController
.
DSMX7
}
QGCRadioButton
{
checked
:
true
text
:
qsTr
(
"
DSMX (8 channels or more)
"
)
checked
:
true
text
:
qsTr
(
"
DSMX (8 channels or more)
"
)
ButtonGroup.group
:
radioGroup
property
int
bindMode
:
RadioComponentController
.
DSMX8
}
}
...
...
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