/tests/auto/declarative/qdeclarativetextinput/data/cursorTest.qml

https://bitbucket.org/ultra_iter/qt-vtl · QML · 8 lines · 7 code · 1 blank · 0 comment · 0 complexity · 7bac1aec6da759d33e18c95e90b300ba MD5 · raw file

  1. import QtQuick 1.0
  2. Rectangle { width: 300; height: 300; color: "white"
  3. TextInput { text: "Hello world!"; id: textInputObject; objectName: "textInputObject"
  4. resources: [ Component { id:cursor; Item { id:cursorInstance; objectName: "cursorInstance";} } ]
  5. cursorDelegate: cursor
  6. }
  7. }