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
f724ddbe
Commit
f724ddbe
authored
Jan 09, 2012
by
pixhawk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved the visuals of the "Onboard Waypoints"-tab contents. Not yet complete.
parent
cf178232
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
91 additions
and
47 deletions
+91
-47
WaypointList.ui
src/ui/WaypointList.ui
+15
-3
WaypointViewOnlyView.ui
src/ui/WaypointViewOnlyView.ui
+76
-44
No files found.
src/ui/WaypointList.ui
View file @
f724ddbe
...
...
@@ -260,6 +260,18 @@
<string>
Onboard Waypoints
</string>
</attribute>
<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"
>
<widget
class=
"QScrollArea"
name=
"readOnlyScrollArea"
>
<property
name=
"widgetResizable"
>
...
...
@@ -270,8 +282,8 @@
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
83
0
</width>
<height>
3
04
</height>
<width>
83
6
</width>
<height>
3
16
</height>
</rect>
</property>
<property
name=
"autoFillBackground"
>
...
...
@@ -285,7 +297,7 @@
</property>
<property
name=
"maximumSize"
>
<size>
<width>
828
</width>
<width>
16777215
</width>
<height>
16777215
</height>
</size>
</property>
...
...
src/ui/WaypointViewOnlyView.ui
View file @
f724ddbe
...
...
@@ -6,43 +6,63 @@
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
381
</width>
<height>
40
</height>
<width>
704
</width>
<height>
31
</height>
</rect>
</property>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"
Preferred
"
vsizetype=
"Fixed"
>
<sizepolicy
hsizetype=
"
Expanding
"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"minimumSize"
>
<size>
<width>
200
</width>
<height>
31
</height>
</size>
</property>
<property
name=
"windowTitle"
>
<string>
Form
</string>
</property>
<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>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_2"
>
<property
name=
"spacing"
>
<number>
0
</number>
</property>
<property
name=
"leftMargin"
>
<number>
2
</number>
</property>
<property
name=
"topMargin"
>
<layout
class=
"QGridLayout"
name=
"gridLayout"
>
<property
name=
"margin"
>
<number>
0
</number>
</property>
<property
name=
"rightMargin"
>
<number>
2
</number>
</property>
<property
name=
"bottomMargin"
>
<property
name=
"spacing"
>
<number>
0
</number>
</property>
<item>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QGroupBox"
name=
"groupBox"
>
<property
name=
"enabled"
>
<bool>
true
</bool>
</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"
>
<string/>
</property>
...
...
@@ -55,24 +75,21 @@
<property
name=
"checkable"
>
<bool>
false
</bool>
</property>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
stretch=
"
1,1,100
,1"
>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
stretch=
"
3,2,100,10,5
,1"
>
<property
name=
"spacing"
>
<number>
6
</number>
</property>
<property
name=
"leftMargin"
>
<number>
2
</number>
</property>
<property
name=
"topMargin"
>
<number>
0
</number>
</property>
<property
name=
"rightMargin"
>
<number>
2
</number>
</property>
<property
name=
"bottomMargin"
>
<number>
0
</number>
<property
name=
"margin"
>
<number>
4
</number>
</property>
<item>
<widget
class=
"QCheckBox"
name=
"current"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Minimum"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"toolTip"
>
<string>
Currently executed waypoint
</string>
</property>
...
...
@@ -92,34 +109,49 @@
</widget>
</item>
<item>
<widget
class=
"Q
TextBrowser
"
name=
"displayBar"
>
<widget
class=
"Q
Label
"
name=
"displayBar"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Expanding"
vsizetype=
"
Expanding
"
>
<sizepolicy
hsizetype=
"Expanding"
vsizetype=
"
Preferred
"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"maximumSize"
>
<size>
<width>
16777215
</width>
<height>
31
</height>
</size>
<property
name=
"text"
>
<string>
test 1
</string>
</property>
<property
name=
"font"
>
<font>
<pointsize>
8
</pointsize>
</font>
</widget>
</item>
<item>
<spacer
name=
"horizontalSpacer"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"
frameSha
pe"
>
<enum>
Q
Frame::NoFrame
</enum>
<property
name=
"
sizeTy
pe"
>
<enum>
Q
SizePolicy::Expanding
</enum>
</property>
<property
name=
"frameShadow"
>
<enum>
QFrame::Sunken
</enum>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
79
</width>
<height>
17
</height>
</size>
</property>
</spacer>
</item>
<item>
<widget
class=
"QLabel"
name=
"frameLabel"
>
<property
name=
"text"
>
<string>
v10
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"QCheckBox"
name=
"autoContinue"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Minimum"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"toolTip"
>
<string>
Automatically continue after this waypoint
</string>
</property>
...
...
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