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
f72e9c51
Commit
f72e9c51
authored
Sep 14, 2011
by
pixhawk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added custom commands 0-15 to the dropdown field in the widget designer
parent
955e3a52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
QGCCommandButton.cc
src/ui/designer/QGCCommandButton.cc
+17
-0
No files found.
src/ui/designer/QGCCommandButton.cc
View file @
f72e9c51
...
@@ -37,6 +37,23 @@ QGCCommandButton::QGCCommandButton(QWidget *parent) :
...
@@ -37,6 +37,23 @@ QGCCommandButton::QGCCommandButton(QWidget *parent) :
// Add commands to combo box
// Add commands to combo box
ui
->
editCommandComboBox
->
addItem
(
"DO: Control Video"
,
MAV_CMD_DO_CONTROL_VIDEO
);
ui
->
editCommandComboBox
->
addItem
(
"DO: Control Video"
,
MAV_CMD_DO_CONTROL_VIDEO
);
ui
->
editCommandComboBox
->
addItem
(
"PREFLIGHT: Calibration"
,
MAV_CMD_PREFLIGHT_CALIBRATION
);
ui
->
editCommandComboBox
->
addItem
(
"PREFLIGHT: Calibration"
,
MAV_CMD_PREFLIGHT_CALIBRATION
);
ui
->
editCommandComboBox
->
addItem
(
"CUSTOM 0"
,
0
);
ui
->
editCommandComboBox
->
addItem
(
"CUSTOM 1"
,
1
);
ui
->
editCommandComboBox
->
addItem
(
"CUSTOM 2"
,
2
);
ui
->
editCommandComboBox
->
addItem
(
"CUSTOM 3"
,
3
);
ui
->
editCommandComboBox
->
addItem
(
"CUSTOM 4"
,
4
);
ui
->
editCommandComboBox
->
addItem
(
"CUSTOM 5"
,
5
);
ui
->
editCommandComboBox
->
addItem
(
"CUSTOM 6"
,
6
);
ui
->
editCommandComboBox
->
addItem
(
"CUSTOM 7"
,
7
);
ui
->
editCommandComboBox
->
addItem
(
"CUSTOM 8"
,
8
);
ui
->
editCommandComboBox
->
addItem
(
"CUSTOM 9"
,
9
);
ui
->
editCommandComboBox
->
addItem
(
"CUSTOM 10"
,
10
);
ui
->
editCommandComboBox
->
addItem
(
"CUSTOM 11"
,
11
);
ui
->
editCommandComboBox
->
addItem
(
"CUSTOM 12"
,
12
);
ui
->
editCommandComboBox
->
addItem
(
"CUSTOM 13"
,
13
);
ui
->
editCommandComboBox
->
addItem
(
"CUSTOM 14"
,
14
);
ui
->
editCommandComboBox
->
addItem
(
"CUSTOM 15"
,
15
);
ui
->
editCommandComboBox
->
setEditable
(
true
);
}
}
QGCCommandButton
::~
QGCCommandButton
()
QGCCommandButton
::~
QGCCommandButton
()
...
...
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