~kalikiana/ubuntu-ui-toolkit/appsettings

« back to all changes in this revision

Viewing changes to modules/Ubuntu/Components/TextField.qml

  • Committer: Zsombor Egri
  • Date: 2014-04-20 19:25:12 UTC
  • mto: (700.276.32 combobutton)
  • mto: This revision was merged to the branch mainline in revision 770.
  • Revision ID: zsombor.egri@canonical.com-20140420192512-o0juovm3r2a3myyj
version set to 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
/*!
21
21
    \qmltype TextField
22
 
    \inqmlmodule Ubuntu.Components 0.1
 
22
    \inqmlmodule Ubuntu.Components 1.0
23
23
    \ingroup ubuntu
24
24
    \brief The TextField element displays a single line of editable plain text.
25
25
    Input constraints can be set through validator or inputMask. Setting echoMode
504
504
 
505
505
      \qml
506
506
      import QtQuick 2.0
507
 
      import Ubuntu.Components 0.1
 
507
      import Ubuntu.Components 1.0
508
508
      TextField{
509
509
          validator: IntValidator{bottom: 11; top: 31;}
510
510
          focus: true