brmbar/brmbar3/brmbar-gui-qt4/BarcodeInput.qml
Petr Baudis e428d28e20 Brmbar v3: Support for simple GUI
All the CLI functionality implemented in the GUI.
2012-09-05 03:35:09 +02:00

18 lines
423 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: 12
focus: true
validator: RegExpValidator { regExp: /..*/ } /* non-empty strings; barcode readers send empty lines, ignore these */
}