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
7d24d1a1
Commit
7d24d1a1
authored
Jul 25, 2014
by
Aleksi Suomalainen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[simpanel] Hide panel when sim is entered correctly.
parent
b23c741b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
SimPanel.qml
src/qml/SimPanel.qml
+10
-3
No files found.
src/qml/SimPanel.qml
View file @
7d24d1a1
...
...
@@ -36,12 +36,19 @@ import MeeGo.QOfono 0.2
Component
{
Rectangle
{
id
:
simpanel
height
:
240
width
:
root
.
width
color
:
"
#313131
"
opacity
:
0.5
property
bool
_
needsPin
:
simManager
.
pinRequired
===
OfonoSimManager
.
SimPin
||
property
bool
needsPin
:
simManager
.
pinRequired
===
OfonoSimManager
.
SimPin
||
simManager
.
pinRequired
===
OfonoSimManager
.
SimPuk
onNeedsPinChanged
:
{
if
(
needsPin
===
false
)
{
panel_loader
.
visible
=
false
}
}
Component
.
onCompleted
:
{
simManager
.
modemPath
=
manager
.
modems
}
...
...
@@ -55,7 +62,7 @@ Component {
}
Column
{
visible
:
_
needsPin
visible
:
needsPin
spacing
:
10
Row
{
spacing
:
16
...
...
@@ -128,7 +135,7 @@ Component {
}
}
Label
{
visible
:
!
_
needsPin
visible
:
!
needsPin
text
:
"
No pin required!
"
font.pointSize
:
16
}
...
...
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