<commit_before>import QtQuick 2.0
import QtQuick.Controls 1.1
import QZXing 2.3

Rectangle {
    width: 360
    height: 360

    TextField {
        id: inputField
        anchors.left: parent.left
        anchors.right: submit.left
        anchors.top: parent.top
        anchors.margins: 10
    }

    Button {
        id: submit
        anchors.right: parent.right
        anchors.top: parent.top
        text: "decode"
        anchors.margins: 10
        onClicked: qzxing.encodeData(inputField.text)
    }

    GroupBox {
        anchors.top: inputField.bottom
        anchors.bottom: parent.bottom
        anchors.left: parent.left
        anchors.right: parent.right
        anchors.margins: 10
        title: "Result barcode image"

        Image{
            id:resultImage
        }
    }

    QZXing {
        id: qzxing
    }
}<commit_msg>minor enhancement to the BarcodeEncoder UI.<commit_after>import QtQuick 2.0
import QtQuick.Controls 1.1
import QZXing 2.3

Rectangle {
    width: 360
    height: 360

    TextField {
        id: inputField
        anchors.left: parent.left
        anchors.right: submit.left
        anchors.top: parent.top
        anchors.margins: 10
    }

    Button {
        id: submit
        anchors.right: parent.right
        anchors.top: parent.top
        text: "decode"
        anchors.margins: 10
        onClicked: {
            qzxing.encodeData(inputField.text)
            inputField.text = '';
        }
    }

    GroupBox {
        anchors.top: inputField.bottom
        anchors.bottom: parent.bottom
        anchors.left: parent.left
        anchors.right: parent.right
        anchors.margins: 10
        title: "Result barcode image"

        Image{
            id:resultImage
        }
    }

    QZXing {
        id: qzxing
    }
}
{'fraction_non_alphanumeric': 0.08156424581005586, 'fraction_numerical': 0.02011173184357542, 'mean_word_length': 1.669150521609538, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2646202', 'n_tokens_mistral': 603, 'n_tokens_neox': 557, 'n_words': 122}