<commit_before>import QtQuick 2.0
import QtQuick.Controls 1.0
import QtQuick.Layouts 1.0
import QtQuick.Controls.Styles 1.0
import IlwisObjectModel 1.0
import CatalogModel 1.0
import "propertyform" as PropertyForm

Rectangle {
    id : propertyFormContainer

    signal unloadcontent(string content)

    function getSelectedData() {
        if ( mastercatalog.hasSelectedObjects()){
           return mastercatalog.selectedData
        }  else if ( mastercatalog.currentCatalog){
            return mastercatalog.currentCatalog.selectedData
        }
    }

    color : "white"
    clip : true
    state : "invisible"
    height : 500
    opacity : 1

    FunctionBarHeader{
        id : functionBar
        headerImage: "../images/propertiesCS1.png"
        headerText:"Object properties"
        z : 1
    }
    ListView {
        id : props
        objectName: "object_properties_list_mainui"
        anchors.top: functionBar.bottom
        width : parent.width
        anchors.bottom: parent.bottom
        model : getSelectedData()
        property int lastIndex : 0
        delegate : PropertyForm.DPropertyForm{}
    }




    states: [
        State { name: "visible"

            PropertyChanges {
                target: propertyFormContainer
                opacity : 1
            }
        },
        State {<commit_msg>selections now go through the mastercatalog<commit_after>import QtQuick 2.0
import QtQuick.Controls 1.0
import QtQuick.Layouts 1.0
import QtQuick.Controls.Styles 1.0
import IlwisObjectModel 1.0
import CatalogModel 1.0
import "propertyform" as PropertyForm

Rectangle {
    id : propertyFormContainer

    signal unloadcontent(string content)

    function getSelectedData() {
        if ( mastercatalog.hasSelectedObjects()){
           return mastercatalog.selectedData
        }  else if ( mastercatalog.currentCatalog){
            return mastercatalog.currentCatalog.selectedData
        }
    }

    color : "white"
    clip : true
    state : "invisible"
    height : 500
    opacity : 1

    FunctionBarHeader{
        id : functionBar
        headerImage: "../images/propertiesCS1.png"
        headerText:"Object properties"
        z : 1
    }
    ListView {
        id : props
        objectName: "object_properties_list_mainui"
        anchors.top: functionBar.bottom
        width : parent.width
        anchors.bottom: parent.bottom
        model : mastercatalog.selectedData
        property int lastIndex : 0
        delegate : PropertyForm.DPropertyForm{}
    }




    states: [
        State { name: "visible"

            PropertyChanges {
                target: propertyFormContainer
                opacity : 1
            }
        },
        State {
{'fraction_non_alphanumeric': 0.0712966383450314, 'fraction_numerical': 0.014776505356483192, 'mean_word_length': 2.1090700344431688, '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': '5519273', 'n_tokens_mistral': 751, 'n_tokens_neox': 704, 'n_words': 179}