~ubuntu-branches/ubuntu/vivid/gpodder/vivid-proposed

« back to all changes in this revision

Viewing changes to share/gpodder/ui/qml/sailfish/org/gpodder/qmlui/InputField.qml

  • Committer: Package Import Robot
  • Author(s): tony mancill
  • Date: 2014-07-26 20:43:14 UTC
  • mfrom: (5.2.33 sid)
  • Revision ID: package-import@ubuntu.com-20140726204314-kz4v2tyeeg7oj43y
Tags: 3.8.0-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
import QtQuick 1.1
3
 
import Sailfish.Silica 1.0
4
 
 
5
 
TextField {
6
 
    id: textField
7
 
    property string actionName: ''
8
 
 
9
 
    inputMethodHints: Qt.ImhNoAutoUppercase
10
 
    signal accepted()
11
 
 
12
 
    Keys.onReturnPressed: accepted()
13
 
    Keys.onEnterPressed: accepted()
14
 
 
15
 
    function closeVirtualKeyboard() {
16
 
        textField.platformCloseSoftwareInputPanel()
17
 
    }
18
 
}
19