Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libcloudstorage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VideoLAN
libcloudstorage
Commits
20fc266e
Commit
20fc266e
authored
Feb 09, 2018
by
Paweł Wegner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cloudbrowser: renamed visible_player to fullscreen_player.
parent
0af26d44
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
bin/cloudbrowser/qml/MediaPlayer.qml
bin/cloudbrowser/qml/MediaPlayer.qml
+3
-1
bin/cloudbrowser/qml/main.qml
bin/cloudbrowser/qml/main.qml
+5
-4
No files found.
bin/cloudbrowser/qml/MediaPlayer.qml
View file @
20fc266e
...
...
@@ -24,11 +24,13 @@ Kirigami.Page {
onIsCurrentPageChanged
:
{
if
(
!
isCurrentPage
)
{
platform
.
disableKeepScreenOn
();
root
.
fullscreen_player
=
false
;
root
.
visible_player
=
false
;
root
.
globalDrawer
.
handleVisible
=
handle_state
;
}
else
{
handle_state
=
root
.
globalDrawer
.
handleVisible
;
root
.
globalDrawer
.
handleVisible
=
false
;
root
.
visible_player
=
true
;
platform
.
enableKeepScreenOn
();
}
}
...
...
@@ -589,7 +591,7 @@ Kirigami.Page {
MouseArea
{
anchors.fill
:
parent
onClicked
:
{
root
.
visible
_player
^=
1
;
root
.
fullscreen
_player
^=
1
;
timer
.
cnt
=
0
;
}
}
...
...
bin/cloudbrowser/qml/main.qml
View file @
20fc266e
...
...
@@ -9,6 +9,7 @@ Kirigami.ApplicationWindow {
property
bool
ad_loaded
:
false
property
bool
ad_visible
:
include_ads
property
bool
visible_player
:
false
property
bool
fullscreen_player
:
false
property
bool
drawer_state
:
false
property
bool
detailed_options
:
!
platform
.
mobile
()
||
root
.
height
>
root
.
width
property
bool
auth_error_occurred
:
false
...
...
@@ -22,8 +23,8 @@ Kirigami.ApplicationWindow {
width
:
Math
.
min
(
800
,
screen
.
desktopAvailableWidth
)
height
:
Math
.
min
(
600
,
screen
.
desktopAvailableHeight
)
on
Visible
_playerChanged
:
{
if
(
visible
_player
)
{
on
Fullscreen
_playerChanged
:
{
if
(
fullscreen
_player
)
{
drawer_state
=
globalDrawer
.
drawerOpen
;
globalDrawer
.
drawerOpen
=
false
;
if
(
platform
.
mobile
())
platform
.
landscapeOrientation
();
...
...
@@ -43,7 +44,7 @@ Kirigami.ApplicationWindow {
}
}
header
:
visible
_player
?
null
:
header
header
:
fullscreen
_player
?
null
:
header
Kirigami.ApplicationHeader
{
id
:
header
...
...
@@ -201,7 +202,7 @@ Kirigami.ApplicationWindow {
"
Actions
"
}
pageStack.initialPage
:
mainPageComponent
pageStack.interactive
:
!
visible
_player
pageStack.interactive
:
!
fullscreen
_player
pageStack.defaultColumnWidth
:
10000
pageStack.anchors.bottomMargin
:
footer_height
...
...
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