<commit_before>import QtQuick 2.2
import QtQuick.Controls 1.2
import QtQuick.Layouts 1.0
import org.kde.plasma.components 2.0 as PlasmaComponents

Item {

    property alias cfg_showTrackSlider: showTrackSlider.checked
    property alias cfg_showVolumeSlider: showVolSlider.checked
    property alias cfg_showTrackSplash: showTrackSplash.checked
    property alias cfg_animateTrackSplash: animateTrackSplash.checked
    property alias cfg_abbrevZoneView: abbrevZoneView.checked
    property alias cfg_autoShuffle: autoShuffle.checked
    property alias cfg_advancedTrayView: advTrayView.checked

    property int cfg_trayViewSize

    onCfg_trayViewSizeChanged: {
          switch (cfg_trayViewSize) {
          case 25:
              normalSize.checked = true;
              break;
          case 60:
              wideSize.checked = true;
              break;
          case 9999:
              extraWideSize.checked = true;
              break;
          default:
          }
    }

    GroupBox {
        flat: true

        width: parent.width
        height: parent.height

        GridLayout {
            columns: 2
            anchors.left: parent.left
            anchors.leftMargin: units.largeSpacing

            CheckBox {
                id: showTrackSlider
                text: "Show Track Slider"
            }
            CheckBox {
                id: showTrackSplash
                text: "Show Track Splash"
            }
            CheckBox {
                id: showVolSlider
                text: "Show Volume Slider"
            }
            CheckBox {
                id: animateTrackSplash
                text: "Animate Track Splash"
            }

            CheckBox {
                id: abbrevZoneView
                text: "Abbreviated Zone View"
                Layout.columnSpan: 2
            }
            Label{Layout.columnSpan: 2}
            Rectangle {
                height: 1
                Layout.columnSpan: 2
                Layout.fillWidth: true
            }

            Label{Layout.columnSpan: 2}

            CheckBox {
                id: advTrayView
                Layout.columnSpan: 2
                text: "Show Advanced Panel View (only in horizontal panels)"
            }
            PlasmaComponents.ButtonRow {
                Layout.columnSpan: 2
                PlasmaComponents.RadioButton {
                    id: normalSize
                    text: "Normal View"
                    onClicked: cfg_trayViewSize = 25
                }
                PlasmaComponents.RadioButton {
                    id: wideSize
                    text: "Wide View"
                    onClicked: cfg_trayViewSize = 60
                }
                PlasmaComponents.RadioButton {
                    id: extraWideSize
                    text: "Ludicrous Wide View"
                    onClicked: cfg_trayViewSize = 9999
                }
            }
            Label{Layout.columnSpan: 2}
            Rectangle {
                height: 1
                Layout.columnSpan: 2
                Layout.fillWidth: true
            }
            Label{Layout.columnSpan: 2}
            CheckBox {<commit_msg>Clean up advanced view dependency options<commit_after>import QtQuick 2.2
import QtQuick.Controls 1.2
import QtQuick.Layouts 1.0
import org.kde.plasma.components 2.0 as PlasmaComponents

Item {

    property alias cfg_showTrackSlider: showTrackSlider.checked
    property alias cfg_showVolumeSlider: showVolSlider.checked
    property alias cfg_showTrackSplash: showTrackSplash.checked
    property alias cfg_animateTrackSplash: animateTrackSplash.checked
    property alias cfg_abbrevZoneView: abbrevZoneView.checked
    property alias cfg_autoShuffle: autoShuffle.checked
    property alias cfg_advancedTrayView: advTrayView.checked

    property int cfg_trayViewSize

    onCfg_trayViewSizeChanged: {
          switch (cfg_trayViewSize) {
          case 25:
              normalSize.checked = true;
              break;
          case 60:
              wideSize.checked = true;
              break;
          case 9999:
              extraWideSize.checked = true;
              break;
          default:
          }
    }

    GroupBox {
        flat: true

        width: parent.width
        height: parent.height

        GridLayout {
            columns: 2
            anchors.left: parent.left
            anchors.leftMargin: units.largeSpacing

            CheckBox {
                id: showTrackSlider
                text: "Show Track Slider"
            }
            CheckBox {
                id: showTrackSplash
                text: "Show Track Splash"
            }
            CheckBox {
                id: showVolSlider
                text: "Show Volume Slider"
            }
            CheckBox {
                id: animateTrackSplash
                text: "Animate Track Splash"
            }

            CheckBox {
                id: abbrevZoneView
                text: "Abbreviated Zone View"
                Layout.columnSpan: 2
            }
            Label{Layout.columnSpan: 2}
            Rectangle {
                height: 1
                Layout.columnSpan: 2
                Layout.fillWidth: true
            }

            Label{Layout.columnSpan: 2}

            CheckBox {
                id: advTrayView
                Layout.columnSpan: 2
                text: "Show Advanced Panel View (only in horizontal panels)"
            }
            PlasmaComponents.ButtonRow {
                Layout.columnSpan: 2
                PlasmaComponents.RadioButton {
                    id: normalSize
                    enabled: advTrayView.checked
                    text: "Normal View"
                    onClicked: cfg_trayViewSize = 25
                }
                PlasmaComponents.RadioButton {
                    id: wideSize
                    enabled: advTrayView.checked
                    text: "Wide View"
                    onClicked: cfg_trayViewSize = 60
                }
                PlasmaComponents.RadioButton {
                    id: extraWideSize
                    enabled: advTrayView.checked
                    text: "Ludicrous Wide View"
                    onClicked: cfg_trayViewSize = 9999
                }
            }
            Label{Layout.columnSpan: 2}
            Rectangle {
                height: 1
                Layout.columnSpan: 2
                Layout.fillWidth: true
            }
            Label{Layout.columnSpan: 2}
            CheckBox {
{'fraction_non_alphanumeric': 0.05273647094894987, 'fraction_numerical': 0.011037866012570903, 'mean_word_length': 1.2442380460956313, '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': '5556301', 'n_tokens_mistral': 1737, 'n_tokens_neox': 1559, 'n_words': 379}