<commit_before>import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.3
import QtQuick.Window 2.0

ApplicationWindow {
    id: root
    visible: false
    width: bar.implicitWidth
    height: 400
    minimumWidth: 400
    minimumHeight: 300
    title: "puush-qt"

    Connections {
        target: systemTray

        onSignalOpenSettings: {
            root.show()
            bar.currentIndex = tab
        }
    }

    TabBar {
        id: bar
        x: 0
        y: 0
        z: 10
        width: root.width

        TabButton {
            text: qsTr("General")
        }

        TabButton {
            text: qsTr("Key Bindings")
        }

        TabButton {
            text: qsTr("Account")
            onClicked: account.updateAccountInformation()
        }

        TabButton {
            text: qsTr("Advanced")
        }

        TabButton {
            text: qsTr("About")
        }
    }

    StackLayout {
        id: mainLayout
        width: parent.width
        height: parent.height - bar.height
        currentIndex: bar.currentIndex
        anchors.top: bar.bottom

        General { }

        KeyBindings { }

        Account {
            id: account
        }

        Advanced { }

        About { }
    }

    onClosing: {
        root.hide()
    }
}<commit_msg>Use clip instead of z<commit_after>import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.3
import QtQuick.Window 2.0

ApplicationWindow {
    id: root
    visible: false
    width: bar.implicitWidth
    height: 400
    minimumWidth: 400
    minimumHeight: 300
    title: "puush-qt"

    Connections {
        target: systemTray

        onSignalOpenSettings: {
            root.show()
            bar.currentIndex = tab
        }
    }

    TabBar {
        id: bar
        x: 0
        y: 0
        width: root.width

        TabButton {
            text: qsTr("General")
        }

        TabButton {
            text: qsTr("Key Bindings")
        }

        TabButton {
            text: qsTr("Account")
            onClicked: account.updateAccountInformation()
        }

        TabButton {
            text: qsTr("Advanced")
        }

        TabButton {
            text: qsTr("About")
        }
    }

    StackLayout {
        id: mainLayout
        width: parent.width
        height: parent.height - bar.height
        currentIndex: bar.currentIndex
        anchors.top: bar.bottom
        clip: true

        General { }

        KeyBindings { }

        Account {
            id: account
        }

        Advanced { }

        About { }
    }

    onClosing: {
        root.hide()
    }
}
{'fraction_non_alphanumeric': 0.0850740600075959, 'fraction_numerical': 0.015191796429927839, 'mean_word_length': 1.33303808680248, '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': '4525585', 'n_tokens_mistral': 819, 'n_tokens_neox': 755, 'n_words': 172}