set focus to input QLineEdit
add margin control in construction
fix barcode display