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
92e15136
Commit
92e15136
authored
Aug 14, 2020
by
DonLakeFlyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parent
22f4f7c5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
16 deletions
+17
-16
AnalyzePage.qml
src/AnalyzeView/AnalyzePage.qml
+6
-9
AnalyzeView.qml
src/AnalyzeView/AnalyzeView.qml
+5
-7
MainRootWindow.qml
src/ui/MainRootWindow.qml
+6
-0
No files found.
src/AnalyzeView/AnalyzePage.qml
View file @
92e15136
...
...
@@ -26,7 +26,7 @@ Item {
property
alias
headerComponent
:
headerLoader
.
sourceComponent
property
real
availableWidth
:
width
-
pageLoader
.
x
property
real
availableHeight
:
height
-
mainContent
.
y
property
bool
pop
ed
:
false
property
bool
pop
ped
:
false
property
real
_margins
:
ScreenTools
.
defaultFontPixelHeight
*
0.5
signal
popout
()
...
...
@@ -47,13 +47,13 @@ Item {
anchors.top
:
parent
.
top
anchors.left
:
parent
.
left
anchors.rightMargin
:
_margins
anchors.right
:
floatIcon
.
lef
t
anchors.right
:
floatIcon
.
visible
?
floatIcon
.
left
:
parent
.
righ
t
spacing
:
_margins
visible
:
!
ScreenTools
.
isShortScreen
&&
headerLoader
.
sourceComponent
===
null
QGCLabel
{
id
:
pageNameLabel
font.pointSize
:
ScreenTools
.
largeFontPointSize
visible
:
!
poped
visible
:
!
pop
p
ed
}
QGCLabel
{
id
:
pageDescriptionLabel
...
...
@@ -86,13 +86,10 @@ Item {
source
:
"
/qmlimages/FloatingWindow.svg
"
fillMode
:
Image
.
PreserveAspectFit
color
:
qgcPal
.
text
visible
:
!
poped
&&
!
ScreenTools
.
isMobile
visible
:
!
pop
p
ed
&&
!
ScreenTools
.
isMobile
MouseArea
{
anchors.fill
:
parent
onClicked
:
{
popout
()
}
anchors.fill
:
parent
onClicked
:
popout
()
}
}
}
src/AnalyzeView/AnalyzeView.qml
View file @
92e15136
...
...
@@ -7,11 +7,6 @@
*
****************************************************************************/
/// @file
/// @brief Setup View
/// @author Don Gagne <don@thegagnes.com>
import
QtQuick
2.3
import
QtQuick
.
Window
2.2
import
QtQuick
.
Controls
1.2
...
...
@@ -23,10 +18,12 @@ import QGroundControl.Controllers 1.0
import
QGroundControl
.
ScreenTools
1.0
Rectangle
{
id
:
setupView
id
:
_root
color
:
qgcPal
.
window
z
:
QGroundControl
.
zOrderTopMost
signal
popout
()
ExclusiveGroup
{
id
:
setupButtonGroup
}
readonly
property
real
_defaultTextHeight
:
ScreenTools
.
defaultFontPixelHeight
...
...
@@ -147,7 +144,8 @@ Rectangle {
panelLoader
.
source
=
""
buttonRepeater
.
itemAt
(
_curIndex
).
loader
.
source
=
source
buttonRepeater
.
itemAt
(
_curIndex
).
visible
=
false
buttonRepeater
.
itemAt
(
_curIndex
).
loader
.
item
.
poped
=
true
buttonRepeater
.
itemAt
(
_curIndex
).
loader
.
item
.
popped
=
true
_root
.
popout
()
}
}
...
...
src/ui/MainRootWindow.qml
View file @
92e15136
...
...
@@ -522,6 +522,12 @@ ApplicationWindow {
anchors.right
:
parent
.
right
anchors.top
:
toolDrawerToolbar
.
bottom
anchors.bottom
:
parent
.
bottom
Connections
{
target
:
toolDrawerLoader
.
item
ignoreUnknownSignals
:
true
onPopout
:
toolDrawer
.
visible
=
false
}
}
}
...
...
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