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
18a3503d
Commit
18a3503d
authored
Aug 25, 2013
by
Lorenz Meier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More config fixes
parent
7048ce94
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
213 additions
and
229 deletions
+213
-229
style-dark.css
files/styles/style-dark.css
+9
-2
QGCPX4VehicleConfig.cc
src/ui/QGCPX4VehicleConfig.cc
+6
-0
QGCPX4VehicleConfig.ui
src/ui/QGCPX4VehicleConfig.ui
+198
-227
No files found.
files/styles/style-dark.css
View file @
18a3503d
...
...
@@ -256,6 +256,13 @@ QLabel#calibrationExplanationLabel {
font-size
:
20pt
;
}
QLabel
#tabTitleLabel
{
font-size
:
28pt
;
font-weight
:
lighter
;
margin-top
:
16px
;
margin-bottom
:
8px
;
}
QLabel
#instructionLabel
{
color
:
#FEC654
;
font-size
:
26pt
;
...
...
@@ -372,11 +379,11 @@ QPushButton#planePushButton, QPushButton#flyingWingPushButton, QPushButton#quadX
QPushButton
#quadPlusPushButton
,
QPushButton
#hexaXPushButton
,
QPushButton
#hexaPlusPushButton
,
QPushButton
#octoXPushButton
,
QPushButton
#octoPlusPushButton
,
QPushButton
#hPushButton
{
background-color
:
qlineargradient
(
x1
:
0
,
y1
:
0
,
x2
:
0
,
y2
:
1
,
stop
:
0
#777
,
stop
:
1
#333
);
border-radius
:
12
px
;
border-radius
:
5
px
;
min-height
:
140px
;
max-height
:
240px
;
min-width
:
140px
;
border
:
3
px
solid
#465158
;
border
:
1
px
solid
#465158
;
}
QPushButton
:checked
#planePushButton
,
QPushButton
:checked
#flyingWingPushButton
,
QPushButton
:checked
#quadXPushButton
,
...
...
src/ui/QGCPX4VehicleConfig.cc
View file @
18a3503d
...
...
@@ -234,31 +234,37 @@ void QGCPX4VehicleConfig::rcMenuButtonClicked()
{
//TODO eg ui->stackedWidget->findChild("rcConfig");
ui
->
stackedWidget
->
setCurrentIndex
(
WIDGET_INDEX_RC
);
ui
->
tabTitleLabel
->
setText
(
tr
(
"Radio Calibration"
));
}
void
QGCPX4VehicleConfig
::
sensorMenuButtonClicked
()
{
ui
->
stackedWidget
->
setCurrentIndex
(
WIDGET_INDEX_SENSOR_CAL
);
ui
->
tabTitleLabel
->
setText
(
tr
(
"Sensor Calibration"
));
}
void
QGCPX4VehicleConfig
::
generalMenuButtonClicked
()
{
ui
->
stackedWidget
->
setCurrentIndex
(
WIDGET_INDEX_GENERAL_CONFIG
);
ui
->
tabTitleLabel
->
setText
(
tr
(
"General Configuration Options"
));
}
void
QGCPX4VehicleConfig
::
advancedMenuButtonClicked
()
{
ui
->
stackedWidget
->
setCurrentIndex
(
WIDGET_INDEX_ADV_CONFIG
);
ui
->
tabTitleLabel
->
setText
(
tr
(
"Advanced Configuration Options"
));
}
void
QGCPX4VehicleConfig
::
airframeMenuButtonClicked
()
{
ui
->
stackedWidget
->
setCurrentIndex
(
WIDGET_INDEX_AIRFRAME_CONFIG
);
ui
->
tabTitleLabel
->
setText
(
tr
(
"Airframe Configuration"
));
}
void
QGCPX4VehicleConfig
::
firmwareMenuButtonClicked
()
{
ui
->
stackedWidget
->
setCurrentIndex
(
WIDGET_INDEX_FIRMWARE
);
ui
->
tabTitleLabel
->
setText
(
tr
(
"Firmware Upgrade"
));
}
void
QGCPX4VehicleConfig
::
identifyChannelMapping
(
int
aert_index
)
...
...
src/ui/QGCPX4VehicleConfig.ui
View file @
18a3503d
This diff is collapsed.
Click to expand it.
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