brmbar/brmbar3/brmbar-gui-qt4/BarcodeInput.qml
2012-10-16 23:34:29 +02:00

18 lines
431 B
QML

// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1
TextInput {
id: barcode
x: 433
y: 65
width: 80
height: 100
color: "#ff6464"
text: ""
transformOrigin: Item.Center
visible: true
opacity: 0
font.pixelSize: 0.768 * 12
focus: true
validator: RegExpValidator { regExp: /..*/ } /* non-empty strings; barcode readers send empty lines, ignore these */
}