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
133b39f9
Commit
133b39f9
authored
Jun 12, 2013
by
Bryant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Styling improvements to the joystick configuration window.
parent
d6e52a55
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
15 deletions
+43
-15
style-dark.css
files/styles/style-dark.css
+4
-2
style-light.css
files/styles/style-light.css
+4
-2
JoystickAxis.ui
src/ui/JoystickAxis.ui
+3
-0
JoystickButton.ui
src/ui/JoystickButton.ui
+32
-11
No files found.
files/styles/style-dark.css
View file @
133b39f9
...
...
@@ -9,10 +9,11 @@
color
:
#777
;
}
Joystick
Widget
QLabel
{
Joystick
Button
QLabel
{
border
:
1px
solid
#AAA
;
border-radius
:
4px
;
height
:
16px
;
padding
:
0
3px
;
}
QCheckBox
{
...
...
@@ -205,7 +206,8 @@ QLabel {
}
QLabel
:disabled
{
color
:
#353535
;
color
:
#444
;
border-color
:
#444
;
}
QLabel
#noUas
{
...
...
files/styles/style-light.css
View file @
133b39f9
...
...
@@ -9,10 +9,11 @@
color
:
#AAA
;
}
Joystick
Widget
QLabel
{
Joystick
Button
QLabel
{
border
:
1px
solid
#777
;
border-radius
:
4px
;
height
:
16px
;
padding
:
0
3px
;
}
QCheckBox
{
...
...
@@ -205,7 +206,8 @@ QLabel {
}
QLabel
:disabled
{
color
:
#AAA
;
color
:
#999
;
border-color
:
#999
;
}
QLabel
#noUas
{
...
...
src/ui/JoystickAxis.ui
View file @
133b39f9
...
...
@@ -46,6 +46,9 @@
<property
name=
"text"
>
<string/>
</property>
<property
name=
"alignment"
>
<set>
Qt::AlignCenter
</set>
</property>
</widget>
</item>
<item>
...
...
src/ui/JoystickButton.ui
View file @
133b39f9
...
...
@@ -7,7 +7,7 @@
<x>
0
</x>
<y>
0
</y>
<width>
125
</width>
<height>
2
7
</height>
<height>
2
9
</height>
</rect>
</property>
<property
name=
"sizePolicy"
>
...
...
@@ -41,26 +41,47 @@
<property
name=
"bottomMargin"
>
<number>
1
</number>
</property>
<item>
<widget
class=
"QComboBox"
name=
"joystickAction"
>
<item>
<property
name=
"text"
>
<string>
--
</string>
</property>
</item>
</widget>
</item>
<item>
<widget
class=
"QLabel"
name=
"joystickButtonLabel"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"
MinimumExpanding
"
vsizetype=
"Preferred"
>
<sizepolicy
hsizetype=
"
Preferred
"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"minimumSize"
>
<size>
<width>
20
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"text"
>
<string/>
</property>
<property
name=
"alignment"
>
<set>
Qt::AlignCenter
</set>
</property>
</widget>
</item>
<item>
<widget
class=
"QComboBox"
name=
"joystickAction"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"minimumSize"
>
<size>
<width>
30
</width>
<height>
0
</height>
</size>
</property>
<item>
<property
name=
"text"
>
<string>
--
</string>
</property>
</item>
</widget>
</item>
</layout>
...
...
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