Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
f724ddbe
Commit
f724ddbe
authored
Jan 09, 2012
by
pixhawk
Browse files
Improved the visuals of the "Onboard Waypoints"-tab contents. Not yet complete.
parent
cf178232
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/ui/WaypointList.ui
View file @
f724ddbe
...
@@ -260,6 +260,18 @@
...
@@ -260,6 +260,18 @@
<string>
Onboard Waypoints
</string>
<string>
Onboard Waypoints
</string>
</attribute>
</attribute>
<layout
class=
"QGridLayout"
name=
"gridLayout_3"
>
<layout
class=
"QGridLayout"
name=
"gridLayout_3"
>
<property
name=
"leftMargin"
>
<number>
6
</number>
</property>
<property
name=
"topMargin"
>
<number>
0
</number>
</property>
<property
name=
"rightMargin"
>
<number>
6
</number>
</property>
<property
name=
"bottomMargin"
>
<number>
6
</number>
</property>
<item
row=
"0"
column=
"0"
colspan=
"3"
>
<item
row=
"0"
column=
"0"
colspan=
"3"
>
<widget
class=
"QScrollArea"
name=
"readOnlyScrollArea"
>
<widget
class=
"QScrollArea"
name=
"readOnlyScrollArea"
>
<property
name=
"widgetResizable"
>
<property
name=
"widgetResizable"
>
...
@@ -270,8 +282,8 @@
...
@@ -270,8 +282,8 @@
<rect>
<rect>
<x>
0
</x>
<x>
0
</x>
<y>
0
</y>
<y>
0
</y>
<width>
83
0
</width>
<width>
83
6
</width>
<height>
3
04
</height>
<height>
3
16
</height>
</rect>
</rect>
</property>
</property>
<property
name=
"autoFillBackground"
>
<property
name=
"autoFillBackground"
>
...
@@ -285,7 +297,7 @@
...
@@ -285,7 +297,7 @@
</property>
</property>
<property
name=
"maximumSize"
>
<property
name=
"maximumSize"
>
<size>
<size>
<width>
828
</width>
<width>
16777215
</width>
<height>
16777215
</height>
<height>
16777215
</height>
</size>
</size>
</property>
</property>
...
...
src/ui/WaypointViewOnlyView.ui
View file @
f724ddbe
...
@@ -6,43 +6,63 @@
...
@@ -6,43 +6,63 @@
<rect>
<rect>
<x>
0
</x>
<x>
0
</x>
<y>
0
</y>
<y>
0
</y>
<width>
381
</width>
<width>
704
</width>
<height>
40
</height>
<height>
31
</height>
</rect>
</rect>
</property>
</property>
<property
name=
"sizePolicy"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"
Preferred
"
vsizetype=
"Fixed"
>
<sizepolicy
hsizetype=
"
Expanding
"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</sizepolicy>
</property>
</property>
<property
name=
"minimumSize"
>
<size>
<width>
200
</width>
<height>
31
</height>
</size>
</property>
<property
name=
"windowTitle"
>
<property
name=
"windowTitle"
>
<string>
Form
</string>
<string>
Form
</string>
</property>
</property>
<property
name=
"styleSheet"
>
<property
name=
"styleSheet"
>
<string
notr=
"true"
/>
<string
notr=
"true"
>
QGroupBox {
border: 1px solid #EEEEEE;
border-radius: 5px;
padding: 0px 0px 0px 0px;
margin-top: 1ex; /* leave space at the top for the title */
margin: 0px;
}
QGroupBox::title {
subcontrol-origin: margin;
subcontrol-position: top center; /* position at the top center */
margin: 0 3px 0px 3px;
padding: 0 3px 0px 0px;
font: bold 8px;
}
</string>
</property>
</property>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_2"
>
<layout
class=
"QGridLayout"
name=
"gridLayout"
>
<property
name=
"spacing"
>
<property
name=
"margin"
>
<number>
0
</number>
</property>
<property
name=
"leftMargin"
>
<number>
2
</number>
</property>
<property
name=
"topMargin"
>
<number>
0
</number>
<number>
0
</number>
</property>
</property>
<property
name=
"rightMargin"
>
<property
name=
"spacing"
>
<number>
2
</number>
</property>
<property
name=
"bottomMargin"
>
<number>
0
</number>
<number>
0
</number>
</property>
</property>
<item>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QGroupBox"
name=
"groupBox"
>
<widget
class=
"QGroupBox"
name=
"groupBox"
>
<property
name=
"enabled"
>
<property
name=
"enabled"
>
<bool>
true
</bool>
<bool>
true
</bool>
</property>
</property>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Expanding"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"styleSheet"
>
<string
notr=
"true"
/>
</property>
<property
name=
"title"
>
<property
name=
"title"
>
<string/>
<string/>
</property>
</property>
...
@@ -55,24 +75,21 @@
...
@@ -55,24 +75,21 @@
<property
name=
"checkable"
>
<property
name=
"checkable"
>
<bool>
false
</bool>
<bool>
false
</bool>
</property>
</property>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
stretch=
"
1,1
,10
0
,1"
>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
stretch=
"
3,2,100
,10
,5
,1"
>
<property
name=
"spacing"
>
<property
name=
"spacing"
>
<number>
6
</number>
</property>
<property
name=
"leftMargin"
>
<number>
2
</number>
<number>
2
</number>
</property>
</property>
<property
name=
"topMargin"
>
<property
name=
"margin"
>
<number>
0
</number>
<number>
4
</number>
</property>
<property
name=
"rightMargin"
>
<number>
2
</number>
</property>
<property
name=
"bottomMargin"
>
<number>
0
</number>
</property>
</property>
<item>
<item>
<widget
class=
"QCheckBox"
name=
"current"
>
<widget
class=
"QCheckBox"
name=
"current"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Minimum"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"toolTip"
>
<property
name=
"toolTip"
>
<string>
Currently executed waypoint
</string>
<string>
Currently executed waypoint
</string>
</property>
</property>
...
@@ -92,34 +109,49 @@
...
@@ -92,34 +109,49 @@
</widget>
</widget>
</item>
</item>
<item>
<item>
<widget
class=
"Q
TextBrowser
"
name=
"displayBar"
>
<widget
class=
"Q
Label
"
name=
"displayBar"
>
<property
name=
"sizePolicy"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Expanding"
vsizetype=
"
Expanding
"
>
<sizepolicy
hsizetype=
"Expanding"
vsizetype=
"
Preferred
"
>
<horstretch>
0
</horstretch>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</sizepolicy>
</property>
</property>
<property
name=
"maximumSize"
>
<property
name=
"text"
>
<size>
<string>
test 1
</string>
<width>
16777215
</width>
<height>
31
</height>
</size>
</property>
</property>
<property
name=
"font"
>
</widget>
<font>
</item>
<pointsize>
8
</pointsize>
<item>
</font>
<spacer
name=
"horizontalSpacer"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
</property>
<property
name=
"
frameSha
pe"
>
<property
name=
"
sizeTy
pe"
>
<enum>
Q
Frame::NoFrame
</enum>
<enum>
Q
SizePolicy::Expanding
</enum>
</property>
</property>
<property
name=
"frameShadow"
>
<property
name=
"sizeHint"
stdset=
"0"
>
<enum>
QFrame::Sunken
</enum>
<size>
<width>
79
</width>
<height>
17
</height>
</size>
</property>
</spacer>
</item>
<item>
<widget
class=
"QLabel"
name=
"frameLabel"
>
<property
name=
"text"
>
<string>
v10
</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item>
<item>
<widget
class=
"QCheckBox"
name=
"autoContinue"
>
<widget
class=
"QCheckBox"
name=
"autoContinue"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Minimum"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"toolTip"
>
<property
name=
"toolTip"
>
<string>
Automatically continue after this waypoint
</string>
<string>
Automatically continue after this waypoint
</string>
</property>
</property>
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment