<commit_before>import QtQuick 2.9
import QtQuick.Controls 1.4
import QtQuick.Layouts 1.3
import org.regovar 1.0

import "../../Regovar"
import "../../Framework"

Rectangle
{
    id: root
    color: Regovar.theme.boxColor.back
    border.width: 1
    border.color: Regovar.theme.boxColor.border

    width: 300
    height: 100

    property File fileModel: null
    onFileModelChanged:
    {
        if (fileModel)
        {
            fileModel.dataChanged.connect(updateFileProgress);
        }
    }

    property double progress: 0
    property bool sampleImportAsked: false
    property Sample sampleModel: null
    property var samplesNames: []




    ColumnLayout
    {
        anchors.fill: parent
        anchors.margins: 10
        spacing: 5

        RowLayout
        {
            spacing: 5
            Text
            {

                Layout.fillWidth: true
                text: fileModel ? fileModel.name : ""
            }
            ButtonInline
            {
                property bool paused: false
                onPausedChanged:<commit_msg>fix #95<commit_after>import QtQuick 2.9
import QtQuick.Controls 1.4
import QtQuick.Layouts 1.3
import org.regovar 1.0

import "../../Regovar"
import "../../Framework"

Rectangle
{
    id: root
    color: Regovar.theme.boxColor.back
    border.width: 1
    border.color: Regovar.theme.boxColor.border

    width: parent.width
    height: 100

    property File fileModel: null
    onFileModelChanged:
    {
        if (fileModel)
        {
            fileModel.dataChanged.connect(updateFileProgress);
        }
    }

    property double progress: 0
    property bool sampleImportAsked: false
    property Sample sampleModel: null
    property var samplesNames: []




    ColumnLayout
    {
        anchors.fill: parent
        anchors.margins: 10
        spacing: 5

        RowLayout
        {
            spacing: 5
            Text
            {

                Layout.fillWidth: true
                text: fileModel ? fileModel.name : ""
                elide: Text.ElideRight
            }
            ButtonInline
            {
                property bool paused: false
                onPausedChanged:
{'fraction_non_alphanumeric': 0.07593778591033852, 'fraction_numerical': 0.017840805123513267, 'mean_word_length': 1.6160287081339713, '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': '5893714', 'n_tokens_mistral': 656, 'n_tokens_neox': 594, 'n_words': 150}