mirror of
https://github.com/brmlab/brmbar.git
synced 2025-06-08 13:24:01 +02:00
Brmbar v3: Support for simple GUI
All the CLI functionality implemented in the GUI.
This commit is contained in:
parent
049271118d
commit
e428d28e20
15 changed files with 973 additions and 2 deletions
18
brmbar3/brmbar-gui-qt4/BarcodeInput.qml
Normal file
18
brmbar3/brmbar-gui-qt4/BarcodeInput.qml
Normal file
|
@ -0,0 +1,18 @@
|
|||
// 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 */
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue