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
55f26894
Commit
55f26894
authored
Mar 22, 2017
by
jaxxzer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move manual parameter entry under advanced settings
parent
cea599b9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
ParameterEditorDialog.qml
src/QmlControls/ParameterEditorDialog.qml
+12
-12
No files found.
src/QmlControls/ParameterEditorDialog.qml
View file @
55f26894
...
@@ -83,17 +83,6 @@ QGCViewDialog {
...
@@ -83,17 +83,6 @@ QGCViewDialog {
anchors.left
:
parent
.
left
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
anchors.right
:
parent
.
right
// Checkbox to allow manual entry of enumerated or bitmask parameters
QGCCheckBox
{
id
:
manualEntry
visible
:
factCombo
.
visible
||
bitmaskColumn
.
visible
text
:
qsTr
(
"
Manual Entry (Advanced User)
"
)
onClicked
:
{
valueField
.
text
=
fact
.
valueString
}
}
QGCLabel
{
QGCLabel
{
id
:
validationError
id
:
validationError
width
:
parent
.
width
width
:
parent
.
width
...
@@ -234,7 +223,7 @@ QGCViewDialog {
...
@@ -234,7 +223,7 @@ QGCViewDialog {
Row
{
Row
{
width
:
parent
.
width
width
:
parent
.
width
spacing
:
ScreenTools
.
defaultFontPixelWidth
/
2
spacing
:
ScreenTools
.
defaultFontPixelWidth
/
2
visible
:
showRCToParam
visible
:
showRCToParam
||
factCombo
.
visible
||
bitmaskColumn
.
visible
Rectangle
{
Rectangle
{
height
:
1
height
:
1
...
@@ -256,6 +245,17 @@ QGCViewDialog {
...
@@ -256,6 +245,17 @@ QGCViewDialog {
}
}
}
}
// Checkbox to allow manual entry of enumerated or bitmask parameters
QGCCheckBox
{
id
:
manualEntry
visible
:
_advanced
.
checked
&&
(
factCombo
.
visible
||
bitmaskColumn
.
visible
)
text
:
qsTr
(
"
Manual Entry
"
)
onClicked
:
{
valueField
.
text
=
fact
.
valueString
}
}
QGCButton
{
QGCButton
{
text
:
qsTr
(
"
Set RC to Param...
"
)
text
:
qsTr
(
"
Set RC to Param...
"
)
width
:
_editFieldWidth
width
:
_editFieldWidth
...
...
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