You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.1 KiB
49 lines
1.1 KiB
Popup: |
|
id: popup |
|
title: _('Enter PIN Code') |
|
|
|
BoxLayout: |
|
|
|
orientation: 'vertical' |
|
|
|
Label: |
|
id: a |
|
text: '*'*len(kb.password) |
|
size_hint: 1, None |
|
height: '48dp' |
|
|
|
GridLayout: |
|
id: kb |
|
update_text: app.update_password |
|
password: '' |
|
on_password: if len(self.password) == 6: popup.dismiss() |
|
size_hint: 1, None |
|
height: '300dp' |
|
cols: 3 |
|
KButton: |
|
text: '1' |
|
KButton: |
|
text: '2' |
|
KButton: |
|
text: '3' |
|
KButton: |
|
text: '4' |
|
KButton: |
|
text: '5' |
|
KButton: |
|
text: '6' |
|
KButton: |
|
text: '7' |
|
KButton: |
|
text: '8' |
|
KButton: |
|
text: '9' |
|
KButton: |
|
text: 'Clear' |
|
KButton: |
|
text: '0' |
|
KButton: |
|
text: '<' |
|
|
|
Widget: |
|
size_hint: 1, 1
|
|
|