Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
glacier-home
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
NemoMobile
glacier-home
Commits
2e98810b
Commit
2e98810b
authored
Sep 21, 2014
by
Aleksi Suomalainen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[main] Introduce switcher and launcher to each other for co-operation.
parent
125c58e1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
0 deletions
+5
-0
AppLauncher.qml
src/qml/AppLauncher.qml
+1
-0
AppSwitcher.qml
src/qml/AppSwitcher.qml
+2
-0
MainScreen.qml
src/qml/MainScreen.qml
+2
-0
No files found.
src/qml/AppLauncher.qml
View file @
2e98810b
...
...
@@ -39,6 +39,7 @@ GridView {
property
Item
reorderItem
property
bool
onUninstall
property
alias
deleter
:
deleter
property
var
switcher
:
null
// just for margin purposes
header
:
Item
{
...
...
src/qml/AppSwitcher.qml
View file @
2e98810b
...
...
@@ -37,6 +37,8 @@ Item {
property
bool
closeMode
:
false
property
bool
visibleInHome
:
false
property
alias
runningAppsCount
:
switcherModel
.
itemCount
property
var
switchModel
:
switcherModel
property
var
launcher
:
null
onVisibleInHomeChanged
:
{
// Exit close mode when scrolling out of view
...
...
src/qml/MainScreen.qml
View file @
2e98810b
...
...
@@ -93,12 +93,14 @@ Page {
AppLauncher
{
id
:
launcher
height
:
pager
.
height
switcher
:
switcher
}
AppSwitcher
{
id
:
switcher
width
:
pager
.
width
height
:
pager
.
height
visibleInHome
:
x
>
-
width
&&
x
<
desktop
.
width
launcher
:
launcher
}
FeedsPage
{
id
:
feeds
...
...
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