Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Plasma Phone Components
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
26
Issues
26
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Plasma
Plasma Phone Components
Commits
9ee81510
Commit
9ee81510
authored
Jun 22, 2015
by
Marco Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pin dialog shows
seems to still not be possible to know how many attempts are left
parent
422695ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
23 deletions
+10
-23
shell/contents/views/Desktop.qml
shell/contents/views/Desktop.qml
+4
-22
shell/contents/views/Pin.qml
shell/contents/views/Pin.qml
+6
-1
No files found.
shell/contents/views/Desktop.qml
View file @
9ee81510
...
...
@@ -86,32 +86,14 @@ Item {
}
}
Loader
{
id
:
dialerOverlay
function
open
()
{
source
=
Qt
.
resolvedUrl
(
"
Dialer.qml
"
)
dialerOverlay
.
item
.
open
();
}
function
close
()
{
dialerOverlay
.
item
.
close
();
}
anchors
{
left
:
parent
.
left
top
:
statusPanel
.
bottom
right
:
parent
.
right
bottom
:
parent
.
bottom
}
z
:
20
}
Loader
{
id
:
pinOverlay
anchors
{
left
:
parent
.
left
top
:
statusPanel
.
bottom
right
:
parent
.
right
bottom
:
parent
.
bottom
fill
:
parent
topMargin
:
containment
.
availableScreenRect
.
y
bottomMargin
:
parent
.
height
-
containment
.
availableScreenRect
.
height
-
containment
.
availableScreenRect
.
y
}
z
:
2
1
z
:
2
22
source
:
Qt
.
resolvedUrl
(
"
Pin.qml
"
)
}
...
...
shell/contents/views/Pin.qml
View file @
9ee81510
...
...
@@ -26,9 +26,14 @@ import "../components"
Rectangle
{
id
:
pinScreen
width
:
1000
height
:
1900
//anchors.fill: parent
color
:
"
black
"
opacity
:
0.8
visible
:
simManager
.
pinRequired
!=
OfonoSimManager
.
NoPin
//visible: true
property
OfonoSimManager
simManager
:
ofonoSimManager
OfonoManager
{
...
...
@@ -123,7 +128,7 @@ Rectangle {
verticalAlignment
:
Qt
.
AlignVCenter
font.pixelSize
:
theme
.
defaultFont
.
pixelSize
color
:
textColor
text
:
i18n
(
"
%1 attempts left
"
,
(
simManager
.
pinRetries
?
simManager
.
pinRetries
[
simManager
.
pinRequired
]
:
0
));
text
:
/*i18n("%1 attempts left", (simManager.pinRetries ? simManager.pinRetries[simManager.pinRequired] : 0));*/
simManager
.
pinRetries
[
simManager
.
pinRequired
]
+
"
--
"
+
simManager
.
pinRequired
}
Text
{
...
...
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