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
85aa5735
Unverified
Commit
85aa5735
authored
May 13, 2020
by
Don Gagne
Committed by
GitHub
May 13, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8751 from DonLakeFlyer/VideoCherryPick
Cherry pick stable fixes
parents
2979407a
072a8238
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
16 deletions
+23
-16
ChangeLog.md
ChangeLog.md
+5
-1
VideoPageWidget.qml
src/FlightMap/Widgets/VideoPageWidget.qml
+16
-11
QGCApplication.cc
src/QGCApplication.cc
+2
-4
No files found.
ChangeLog.md
View file @
85aa5735
...
...
@@ -13,7 +13,11 @@ Note: This file only contains high level features or important fixes.
## 4.0
### 4.0.6 - Not yet released
## 4.0.7 - Not yet released
*
Fix video page sizing
### 4.0.6 - Stable
*
Analyze/Log Download - Fix download on mobile versions of QGC
*
Fly: Fix problems where Continue Mission and Change Altitude were not available after a Mission Pause.
...
...
src/FlightMap/Widgets/VideoPageWidget.qml
View file @
85aa5735
...
...
@@ -26,7 +26,7 @@ import QGroundControl.FactControls 1.0
/// Video streaming page for Instrument Panel PageView
Item
{
width
:
pageWidth
height
:
videoGrid
.
height
+
(
ScreenTools
.
defaultFontPixelHeight
*
2
)
height
:
videoGrid
.
y
+
videoGrid
.
height
+
_margins
anchors.margins
:
ScreenTools
.
defaultFontPixelWidth
*
2
anchors.centerIn
:
parent
...
...
@@ -38,15 +38,19 @@ Item {
property
int
_curCameraIndex
:
_dynamicCameras
?
_dynamicCameras
.
currentCamera
:
0
property
bool
_isCamera
:
_dynamicCameras
?
_dynamicCameras
.
cameras
.
count
>
0
:
false
property
var
_camera
:
_isCamera
?
(
_dynamicCameras
.
cameras
.
get
(
_curCameraIndex
)
&&
_dynamicCameras
.
cameras
.
get
(
_curCameraIndex
).
paramComplete
?
_dynamicCameras
.
cameras
.
get
(
_curCameraIndex
)
:
null
)
:
null
property
real
_margins
:
ScreenTools
.
defaultFontPixelWidth
/
2
QGCPalette
{
id
:
qgcPal
;
colorGroupEnabled
:
true
}
GridLayout
{
id
:
videoGrid
anchors.margins
:
_margins
anchors.top
:
parent
.
top
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
columns
:
2
columnSpacing
:
ScreenTools
.
defaultFontPixelWidth
*
2
columnSpacing
:
_margins
rowSpacing
:
ScreenTools
.
defaultFontPixelHeight
anchors.centerIn
:
parent
Connections
{
// For some reason, the normal signal is not reflected in the control below
target
:
QGroundControl
.
settingsManager
.
videoSettings
.
streamEnabled
...
...
@@ -56,7 +60,7 @@ Item {
}
// Enable/Disable Video Streaming
QGCLabel
{
text
:
qsTr
(
"
Enable
Stream
"
)
text
:
qsTr
(
"
Enable
"
)
font.pointSize
:
ScreenTools
.
smallFontPointSize
visible
:
!
_camera
||
!
_camera
.
autoStream
}
...
...
@@ -97,7 +101,7 @@ Item {
}
//-- Video Fit
QGCLabel
{
text
:
qsTr
(
"
Video
Screen
Fit
"
)
text
:
qsTr
(
"
Video Fit
"
)
visible
:
QGroundControl
.
videoManager
.
isGStreamer
font.pointSize
:
ScreenTools
.
smallFontPointSize
}
...
...
@@ -108,13 +112,14 @@ Item {
Layout.alignment
:
Qt
.
AlignHCenter
}
QGCLabel
{
text
:
qsTr
(
"
File Name
"
);
visible
:
QGroundControl
.
videoManager
.
isGStreamer
text
:
qsTr
(
"
File Name
"
);
font.pointSize
:
ScreenTools
.
smallFontPointSize
visible
:
QGroundControl
.
videoManager
.
isGStreamer
}
TextField
{
id
:
videoFileName
visible
:
QGroundControl
.
videoManager
.
isGStreamer
width
:
100
QGC
TextField
{
id
:
videoFileName
Layout.fillWidth
:
true
visible
:
QGroundControl
.
videoManager
.
isGStreamer
}
//-- Video Recording
QGCLabel
{
...
...
src/QGCApplication.cc
View file @
85aa5735
...
...
@@ -224,10 +224,8 @@ QGCApplication::QGCApplication(int &argc, char* argv[], bool unitTesting)
permFile
.
close
();
}
// Set default QtQuick style if not configured
if
(
QString
(
getenv
(
"QT_QUICK_CONTROLS_STYLE"
)).
isEmpty
())
{
QQuickStyle
::
setStyle
(
"Universal"
);
}
// Always set style to default, this way QT_QUICK_CONTROLS_STYLE environment variable doesn't cause random changes in ui
QQuickStyle
::
setStyle
(
"Default"
);
}
#endif
#endif
...
...
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