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
2e726f23
Commit
2e726f23
authored
Nov 11, 2014
by
Aleksi Suomalainen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[statusbar] Statusbar text fixes.
parent
3b2dc8d2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Statusbar.qml
src/qml/Statusbar.qml
+4
-2
No files found.
src/qml/Statusbar.qml
View file @
2e726f23
...
@@ -125,7 +125,7 @@ Item {
...
@@ -125,7 +125,7 @@ Item {
font.pointSize
:
6
font.pointSize
:
6
font.bold
:
true
font.bold
:
true
wrapMode
:
Text
.
ElideRight
wrapMode
:
Text
.
ElideRight
text
:
(
cellularNetworkName
!==
""
)
?
cellularNetworkName
.
value
.
substring
(
0
,
3
).
toUpperCase
()
:
"
N/
A
"
text
:
(
cellularNetworkName
.
value
!==
""
)
?
cellularNetworkName
.
value
.
substring
(
0
,
3
).
toUpperCase
()
:
"
N
A
"
}
}
Label
{
Label
{
...
@@ -136,7 +136,7 @@ Item {
...
@@ -136,7 +136,7 @@ Item {
font.pointSize
:
6
font.pointSize
:
6
text
:
{
text
:
{
var
techToG
=
{
gprs
:
"
2
"
,
egprs
:
"
2.5
"
,
umts
:
"
3
"
,
hspa
:
"
3.5
"
,
lte
:
"
4
"
,
unknown
:
"
0
"
}
var
techToG
=
{
gprs
:
"
2
"
,
egprs
:
"
2.5
"
,
umts
:
"
3
"
,
hspa
:
"
3.5
"
,
lte
:
"
4
"
,
unknown
:
"
0
"
}
return
techToG
[
cellularDataTechnology
.
value
]
+
"
G
"
return
techToG
[
cellularDataTechnology
.
value
?
cellularDataTechnology
.
value
:
"
unknown
"
]
+
"
G
"
}
}
}
}
panel
:
SimPanel
{}
panel
:
SimPanel
{}
...
@@ -212,6 +212,8 @@ Item {
...
@@ -212,6 +212,8 @@ Item {
return
"
qrc:/qml/images/battery4.png
"
return
"
qrc:/qml/images/battery4.png
"
}
else
if
(
batteryChargePercentage
.
value
<=
80
)
{
}
else
if
(
batteryChargePercentage
.
value
<=
80
)
{
return
"
qrc:/qml/images/battery5.png
"
return
"
qrc:/qml/images/battery5.png
"
}
else
{
return
"
qrc:/qml/images/battery6.png
"
}
}
}
}
}
}
...
...
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