Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qgroundcontrol
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Valentin Platzgummer
qgroundcontrol
Commits
b0209db0
Commit
b0209db0
authored
12 years ago
by
Lorenz Meier
Browse files
Options
Downloads
Patches
Plain Diff
Minor visual tweak to param slider
parent
7c5dca1c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/ui/designer/QGCParamSlider.ui
+137
-124
137 additions, 124 deletions
src/ui/designer/QGCParamSlider.ui
with
137 additions
and
124 deletions
src/ui/designer/QGCParamSlider.ui
+
137
−
124
View file @
b0209db0
...
@@ -7,13 +7,13 @@
...
@@ -7,13 +7,13 @@
<x>
0
</x>
<x>
0
</x>
<y>
0
</y>
<y>
0
</y>
<width>
789
</width>
<width>
789
</width>
<height>
170
</height>
<height>
244
</height>
</rect>
</rect>
</property>
</property>
<property
name=
"windowTitle"
>
<property
name=
"windowTitle"
>
<string>
Form
</string>
<string>
Form
</string>
</property>
</property>
<layout
class=
"QGridLayout"
name=
"gridLayout"
columnstretch=
"10
0
,0,0,0,0,0,0,0,0,0"
>
<layout
class=
"QGridLayout"
name=
"gridLayout"
columnstretch=
"10,0,0,0,0,0,0,0,0,0"
>
<property
name=
"leftMargin"
>
<property
name=
"leftMargin"
>
<number>
6
</number>
<number>
6
</number>
</property>
</property>
...
@@ -32,10 +32,26 @@
...
@@ -32,10 +32,26 @@
<property
name=
"verticalSpacing"
>
<property
name=
"verticalSpacing"
>
<number>
12
</number>
<number>
12
</number>
</property>
</property>
<item
row=
"1"
column=
"2"
colspan=
"5"
>
<item
row=
"2"
column=
"5"
>
<widget
class=
"QLineEdit"
name=
"editNameLabel"
>
<widget
class=
"QSpinBox"
name=
"intValueSpinBox"
>
<property
name=
"text"
>
<property
name=
"minimum"
>
<string>
<
Parameter Name / Label
>
</string>
<number>
-999999999
</number>
</property>
<property
name=
"maximum"
>
<number>
999999999
</number>
</property>
</widget>
</item>
<item
row=
"3"
column=
"5"
colspan=
"3"
>
<widget
class=
"QComboBox"
name=
"editSelectParamComboBox"
>
<property
name=
"enabled"
>
<bool>
false
</bool>
</property>
<property
name=
"toolTip"
>
<string>
Select parameter
</string>
</property>
<property
name=
"statusTip"
>
<string>
Select parameter
</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
...
@@ -55,6 +71,77 @@
...
@@ -55,6 +71,77 @@
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"1"
column=
"7"
>
<widget
class=
"QDoubleSpinBox"
name=
"editMinSpinBox"
>
<property
name=
"prefix"
>
<string>
MIN:
</string>
</property>
<property
name=
"minimum"
>
<double>
-999999999.000000000000000
</double>
</property>
<property
name=
"maximum"
>
<double>
999999999.000000000000000
</double>
</property>
</widget>
</item>
<item
row=
"1"
column=
"2"
colspan=
"5"
>
<widget
class=
"QLineEdit"
name=
"editNameLabel"
>
<property
name=
"text"
>
<string>
<
Parameter Name / Label
>
</string>
</property>
</widget>
</item>
<item
row=
"2"
column=
"0"
>
<spacer
name=
"horizontalSpacer"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
0
</width>
<height>
20
</height>
</size>
</property>
</spacer>
</item>
<item
row=
"2"
column=
"8"
>
<widget
class=
"QPushButton"
name=
"writeButton"
>
<property
name=
"minimumSize"
>
<size>
<width>
0
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"maximumSize"
>
<size>
<width>
16777215
</width>
<height>
16777215
</height>
</size>
</property>
<property
name=
"toolTip"
>
<string>
Transmit the current slider value to the system
</string>
</property>
<property
name=
"statusTip"
>
<string>
Transmit the current slider value to the system
</string>
</property>
<property
name=
"text"
>
<string>
W
</string>
</property>
</widget>
</item>
<item
row=
"7"
column=
"0"
colspan=
"10"
>
<widget
class=
"Line"
name=
"editLine2"
>
<property
name=
"minimumSize"
>
<size>
<width>
0
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
</widget>
</item>
<item
row=
"2"
column=
"6"
colspan=
"2"
>
<item
row=
"2"
column=
"6"
colspan=
"2"
>
<widget
class=
"QSlider"
name=
"valueSlider"
>
<widget
class=
"QSlider"
name=
"valueSlider"
>
<property
name=
"minimumSize"
>
<property
name=
"minimumSize"
>
...
@@ -77,92 +164,52 @@
...
@@ -77,92 +164,52 @@
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"3"
column=
"2"
colspan=
"3"
>
<item
row=
"3"
column=
"8"
>
<widget
class=
"QComboBox"
name=
"editSelectComponentComboBox"
>
<widget
class=
"QCheckBox"
name=
"editInfoCheckBox"
>
<property
name=
"enabled"
>
<bool>
false
</bool>
</property>
<property
name=
"toolTip"
>
<string>
Select component
</string>
</property>
<property
name=
"statusTip"
>
<string>
Select component
</string>
</property>
</widget>
</item>
<item
row=
"5"
column=
"2"
colspan=
"6"
>
<widget
class=
"QLabel"
name=
"editStatusLabel"
>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
Please click first on refresh to update selection menus..
</string>
<string>
Show Info
</string>
</property>
<property
name=
"checked"
>
<bool>
true
</bool>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"3"
column=
"
5
"
colspan=
"3"
>
<item
row=
"3"
column=
"
2
"
colspan=
"3"
>
<widget
class=
"QComboBox"
name=
"editSelect
Param
ComboBox"
>
<widget
class=
"QComboBox"
name=
"editSelect
Component
ComboBox"
>
<property
name=
"enabled"
>
<property
name=
"enabled"
>
<bool>
false
</bool>
<bool>
false
</bool>
</property>
</property>
<property
name=
"toolTip"
>
<property
name=
"toolTip"
>
<string>
Select
parameter
</string>
<string>
Select
component
</string>
</property>
</property>
<property
name=
"statusTip"
>
<property
name=
"statusTip"
>
<string>
Select
parameter
</string>
<string>
Select
component
</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"
0
"
column=
"
0"
colspan=
"10
"
>
<item
row=
"
2
"
column=
"
9
"
>
<widget
class=
"
Line"
name=
"editLine1
"
>
<widget
class=
"
QPushButton"
name=
"readButton
"
>
<property
name=
"minimumSize"
>
<property
name=
"minimumSize"
>
<size>
<size>
<width>
0
</width>
<width>
0
</width>
<height>
0
</height>
<height>
0
</height>
</size>
</size>
</property>
</property>
<property
name=
"orientation"
>
<property
name=
"toolTip"
>
<enum>
Qt::Horizontal
</enum>
<string>
Read the current parameter value on the system
</string>
</property>
</widget>
</item>
<item
row=
"2"
column=
"3"
>
<widget
class=
"QDoubleSpinBox"
name=
"doubleValueSpinBox"
>
<property
name=
"minimum"
>
<double>
-999999999.000000000000000
</double>
</property>
<property
name=
"maximum"
>
<double>
999999999.000000000000000
</double>
</property>
</widget>
</item>
<item
row=
"2"
column=
"0"
>
<spacer
name=
"horizontalSpacer"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<property
name=
"statusTip"
>
<size>
<string>
Read the current parameter value on the system
</string>
<width>
0
</width>
<height>
20
</height>
</size>
</property>
</property>
</spacer>
</item>
<item
row=
"5"
column=
"9"
>
<widget
class=
"QPushButton"
name=
"editDoneButton"
>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
Done
</string>
<string>
R
</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"1"
column=
"7"
>
<item
row=
"5"
column=
"2"
colspan=
"6"
>
<widget
class=
"QDoubleSpinBox"
name=
"editMinSpinBox"
>
<widget
class=
"QLabel"
name=
"editStatusLabel"
>
<property
name=
"prefix"
>
<property
name=
"text"
>
<string>
MIN:
</string>
<string>
Please click first on refresh to update selection menus..
</string>
</property>
<property
name=
"minimum"
>
<double>
-999999999.000000000000000
</double>
</property>
<property
name=
"maximum"
>
<double>
999999999.000000000000000
</double>
</property>
</property>
</widget>
</widget>
</item>
</item>
...
@@ -179,32 +226,29 @@
...
@@ -179,32 +226,29 @@
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"2"
column=
"
5
"
>
<item
row=
"2"
column=
"
3
"
>
<widget
class=
"QSpinBox"
name=
"
int
ValueSpinBox"
>
<widget
class=
"Q
Double
SpinBox"
name=
"
double
ValueSpinBox"
>
<property
name=
"minimum"
>
<property
name=
"minimum"
>
<
number
>
-999999999
</number
>
<
double
>
-999999999
.000000000000000
</double
>
</property>
</property>
<property
name=
"maximum"
>
<property
name=
"maximum"
>
<
number
>
999999999
</number
>
<
double
>
999999999
.000000000000000
</double
>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"2"
column=
"9"
>
<item
row=
"1"
column=
"1"
rowspan=
"6"
>
<widget
class=
"QPushButton"
name=
"readButton"
>
<widget
class=
"QTextBrowser"
name=
"infoLabel"
/>
</item>
<item
row=
"0"
column=
"0"
colspan=
"10"
>
<widget
class=
"Line"
name=
"editLine1"
>
<property
name=
"minimumSize"
>
<property
name=
"minimumSize"
>
<size>
<size>
<width>
0
</width>
<width>
0
</width>
<height>
0
</height>
<height>
0
</height>
</size>
</size>
</property>
</property>
<property
name=
"toolTip"
>
<property
name=
"orientation"
>
<string>
Read the current parameter value on the system
</string>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"statusTip"
>
<string>
Read the current parameter value on the system
</string>
</property>
<property
name=
"text"
>
<string>
R
</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
...
@@ -218,56 +262,25 @@
...
@@ -218,56 +262,25 @@
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"6"
column=
"0"
colspan=
"10"
>
<item
row=
"5"
column=
"9"
>
<widget
class=
"Line"
name=
"editLine2"
>
<widget
class=
"QPushButton"
name=
"editDoneButton"
>
<property
name=
"minimumSize"
>
<property
name=
"text"
>
<size>
<string>
Done
</string>
<width>
0
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"2"
column=
"8"
>
<item
row=
"6"
column=
"2"
colspan=
"8"
>
<widget
class=
"QPushButton"
name=
"writeButton"
>
<spacer
name=
"verticalSpacer"
>
<property
name=
"minimumSize"
>
<property
name=
"orientation"
>
<size>
<enum>
Qt::Vertical
</enum>
<width>
0
</width>
<height>
0
</height>
</size>
</property>
</property>
<property
name=
"
maximumSize
"
>
<property
name=
"
sizeHint"
stdset=
"0
"
>
<size>
<size>
<width>
16777215
</width>
<width>
20
</width>
<height>
16777215
</height>
<height>
40
</height>
</size>
</size>
</property>
</property>
<property
name=
"toolTip"
>
</spacer>
<string>
Transmit the current slider value to the system
</string>
</property>
<property
name=
"statusTip"
>
<string>
Transmit the current slider value to the system
</string>
</property>
<property
name=
"text"
>
<string>
W
</string>
</property>
</widget>
</item>
<item
row=
"1"
column=
"1"
rowspan=
"5"
>
<widget
class=
"QTextBrowser"
name=
"infoLabel"
/>
</item>
<item
row=
"3"
column=
"8"
>
<widget
class=
"QCheckBox"
name=
"editInfoCheckBox"
>
<property
name=
"text"
>
<string>
Show Info
</string>
</property>
<property
name=
"checked"
>
<bool>
true
</bool>
</property>
</widget>
</item>
</item>
</layout>
</layout>
</widget>
</widget>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment