<commit_before>import QtQuick 2.2
import QtQuick.Controls 1.1
import QtQuick.Controls.Styles 1.1
import QtQuick.Layouts 1.1

import UM 1.0 as UM

import "."

Rectangle {
    id: base;

    color: UM.Theme.primaryColor;
    height: UM.Theme.toolbarHeight;

    property Action undo;
    property Action redo;
    property Action settings;


    Rectangle 
    {
        anchors 
        {
            bottom: parent.bottom;
            left: parent.left;
            right: parent.right;
        }

        height: UM.Theme.toolbarBorderSize;
        color: UM.Theme.toolbarBorderColor;
    }

    RowLayout 
    {
        id:mainLayout
        anchors.fill: parent;
        spacing: 0;

        Item
        {
            width:100
            anchors.left:parent.left
            //anchors.verticalCenter:parent.verticalCenter
            anchors.top:parent.top
            height:parent.height
            RowLayout 
            {
                anchors.fill: parent;
                Image 
                { 
                    anchors.centerIn: parent;
                    source: UM.Resources.getIcon("scantastic_logo.png");
                }
                Rectangle 
                {
                    color: "black"
                    id:spacer1
                    width: 2
                    //height: parent.height - 15
                    anchors.left: logo.right
                    anchors.leftMargin :25
                    
                }
                Label 
                {
                    text: "SCAN";
                    font.pointSize: UM.Theme.largeTextSize;
                    font.capitalization: Font.AllUppercase;
                    font.bold: true
                    color: "white"
                    width: UM.Theme.panelWidth /2;
                    anchors.left:spacer1.right
                    anchors.leftMargin:25
                    
                }
            }
        }
        
        Item
        {
            anchors.horizontalCenter: parent.horizontalCenter;
            anchors.top:parent.top
            width:500
            ExclusiveGroup {id:toolbarTabGroup}
            Row
            {
                anchors.horizontalCenter:parent.horizontalCenter
                Layout.preferredWidth:500
                spacing:5
                //move: Transition {
                //    NumberAnimation { properties: "x,y"; }
                //}
                Button 
                {
                    id: setupButton
                    text: qsTr("Setup")
                    checkable: true
                    exclusiveGroup: toolbarTabGroup<commit_msg>Animated toolbar for wizard changes<commit_after>import QtQuick 2.2
import QtQuick.Controls 1.1
import QtQuick.Controls.Styles 1.1
import QtQuick.Layouts 1.1

import UM 1.0 as UM

import "."

Rectangle {
    id: base;

    color: UM.Theme.primaryColor;
    height: UM.Theme.toolbarHeight;

    property Action undo;
    property Action redo;
    property Action settings;


    Rectangle 
    {
        anchors 
        {
            bottom: parent.bottom;
            left: parent.left;
            right: parent.right;
        }

        height: UM.Theme.toolbarBorderSize;
        color: UM.Theme.toolbarBorderColor;
    }

    RowLayout 
    {
        id:mainLayout
        anchors.fill: parent;
        spacing: 0;

        Item
        {
            width:100
            anchors.left:parent.left
            //anchors.verticalCenter:parent.verticalCenter
            anchors.top:parent.top
            height:parent.height
            RowLayout 
            {
                anchors.fill: parent;
                Image 
                { 
                    anchors.centerIn: parent;
                    source: UM.Resources.getIcon("scantastic_logo.png");
                }
                Rectangle 
                {
                    color: "black"
                    id:spacer1
                    width: 2
                    //height: parent.height - 15
                    anchors.left: logo.right
                    anchors.leftMargin :25
                    
                }
                Label 
                {
                    text: "SCAN";
                    font.pointSize: UM.Theme.largeTextSize;
                    font.capitalization: Font.AllUppercase;
                    font.bold: true
                    color: "white"
                    width: UM.Theme.panelWidth /2;
                    anchors.left:spacer1.right
                    anchors.leftMargin:25
                    
                }
            }
        }
        
        Item
        {
            anchors.horizontalCenter: parent.horizontalCenter;
            anchors.top:parent.top
            width:500
            ExclusiveGroup {id:toolbarTabGroup}
            Row
            {
                anchors.horizontalCenter:parent.horizontalCenter
                Layout.preferredWidth:500
                spacing:5
                Button 
                {
                    id: setupButton
                    text: qsTr("Setup")
                    checkable: true
                    exclusiveGroup: toolbarTabGroup
{'fraction_non_alphanumeric': 0.06769825918762089, 'fraction_numerical': 0.011992263056092843, 'mean_word_length': 0.9965250965250966, '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': '6570112', 'n_tokens_mistral': 1380, 'n_tokens_neox': 1215, 'n_words': 238}