<commit_before>{
  "type": "widget",
  "layout": "qx.ui.layout.Grow",
  "extensions": {
    "resources": {
      "favicon": "@Ligature/pc"
    },
    "tabConfig": {
      "title": "tr('Desktop')",
      "icon": "favicon"
    }
  },
  "class": "qx.ui.container.Composite",
  "children": [
    {
      "class": "qx.ui.container.Composite",
      "layout": "qx.ui.layout.Grid",
      "layoutConfig": {
        "spacingX": "CONST_SPACING_X",
        "spacingY": "CONST_SPACING_Y"
      },
      "extensions": {
        "layoutOptions": {
          "columnFlex": {
            "column": 1,
            "flex": 1
          }
        }
     },
      "children": [
        {
          "addOptions": {
            "row": 0,
            "column": 0
          },
          "buddyModelPath": "gotoXResolution",
          "properties": {
            "text": "tr('Resolution')"
          },
          "class": "gosa.ui.widgets.QLabelWidget"
        },
        {
          "modelPath": "gotoXResolution",
          "addOptions": {
            "row": 0,
            "column": 1
          },
          "properties": {
            "tabIndex": 1
          },
          "class": "gosa.ui.widgets.QComboBoxWidget"
        },
        {
          "addOptions": {
            "row": 1,
            "column": 0
          },
          "buddyModelPath": "gotoDefaultLanguage",
          "properties": {
            "text": "tr('Preferred language')"
          },
          "class": "gosa.ui.widgets.QLabelWidget"
        },
        {
          "modelPath": "gotoDefaultLanguage",
          "addOptions": {
            "row": 1,
            "column": 1
          },
          "properties": {
            "tabIndex": 2
          },
          "class": "gosa.ui.widgets.QComboBoxWidget"
        },
        {
          "addOptions": {
            "row": 2,
            "column": 0
          },
          "properties": {
            "text": "tr('Logon script')"
          },
          "class": "gosa.ui.widgets.QLabelWidget"
        },
        {
          "addOptions": {
            "row": 2,
            "column": 1
          },
          "properties": {
            "tabIndex": 3,
            "height": 200,
            "selectorType": "dialog",
            "multivalue": true
          },
          "class": "gosa.ui.widgets.QTableWidgetWidget",
          "extensions": {
            "guiProperties": {
              "editTitle": "tr('Edit logon script')",
              "columns": {
                "scriptName": "tr('Name')",
                "scriptPriority": "tr('Priority')",
                "scriptUserEditable": "tr('Editable')",
                "scriptLast": "tr('Last')"
              },
              "additionalAttributes": ["script"],
              "sortByColumn": "scriptPriority",
              "dialogTemplate": {
                "type": "widget",
                "layout": "qx.ui.layout.VBox",
                "class": "qx.ui.container.Composite",
                "layoutConfig": {
                  "spacing": "CONST_SPACING_Y"
                },
                "properties": {
                  "width": 800,
                  "height": 500,
                  "windowTitle": "tr('Logon script')",
                  "dialogName": "editLogonScript",
                  "cancelable": true
                },
                "children": [
                  {
                    "type": "widget",
                    "layout": "qx.ui.layout.HBox",
                    "layoutConfig": {
                      "spacing": "CONST_SPACING_X"
                    },
                    "class": "qx.ui.container.Composite",
                    "children": [
                      {
                        "buddyModelPath": "scriptName",
                        "properties": {
                          "text": "tr('Name')"
                        },
                        "class": "gosa.ui.widgets.QLabelWidget"
                      },
                      {
                        "modelPath": "scriptName",
                        "properties": {
                          "tabIndex": 1
                        },
                        "addOptions": {
                          "flex": 1
                        },
                        "class": "gosa.ui.widgets.QLineEditWidget"
                      },
                      {
                        "buddyModelPath": "scriptPriority",
                        "properties": {
                          "text": "tr('Priority')"
                        },
                        "class": "gosa.ui.widgets.QLabelWidget"
                      },
                      {
                        "modelPath": "scriptPriority",
                        "properties": {
                          "tabIndex": 2
                        },
                        "class": "gosa.ui.widgets.QSpinBoxWidget"
                      },
                      {
                        "buddyModelPath": "scriptUserEditable",
                        "properties": {
                          "text": "tr('Editable')"
                        },
                        "class": "gosa.ui.widgets.QLabelWidget"
                      },
                      {
                        "modelPath": "scriptUserEditable",
                        "properties": {
                          "tabIndex": 3
                        },
                        "class": "gosa.ui.widgets.QCheckBoxWidget"
                      },
                      {
                        "buddyModelPath": "scriptLast",
                        "properties": {
                          "text": "tr('Last script')"
                        },
                        "class": "gosa.ui.widgets.QLabelWidget"
                      },
                      {
                        "modelPath": "scriptLast",
                        "properties": {
                          "tabIndex": 3
                        },
                        "class": "gosa.ui.widgets.QCheckBoxWidget"
                      }
                    ]
                  },
                  {
                    "modelPath": "script",
                    "addOptions": {
                      "flex": 1
                    },
                    "properties": {
                      "tabIndex": 4,
                      "height": 460
                    },
                    "class": "gosa.ui.widgets.EditorWidget",
                    "extensions": {
                      "guiProperties": {
                        "minimap": {
                          "enabled": false
                        },
                        "completionProviders": {
                          "gosa.data.editor.completion.Script": ["bash", "python", "plaintext"]
                        }
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        {
          "addOptions": {
            "row": 3,
            "column": 0
          },
          "buddyModelPath": "gotoPrinters",
          "properties": {
            "text": "tr('Printer')"
          },
          "class": "gosa.ui.widgets.QLabelWidget"
        },
        {
          "modelPath": "gotoPrinters",
          "addOptions": {
            "row": 3,
            "column": 1
          },
          "properties": {
            "tabIndex": 5,
            "height": 400
          },
          "class": "gosa.ui.widgets.QTableWidgetWidget",
          "extensions": {
            "guiProperties": {
              "editTitle": "tr('Edit printer')",
              "columns": {
                "cn": "tr('Name')",
                "description": "tr('Description')"
              },
              "columnRenderers": {
                "1": {
                  "class": "gosa.ui.table.cellrenderer.Html"
                }
              },
              "draggable": true,
              "dragDropActions": ["copy"],
              "dragDropType": "gosa/printer",
              "contextMenu": {
                "marker": {
                  "suffix": "*",
                  "ref": "gotoDefaultPrinter",
                  "columnId": "cn",<commit_msg>add sorting<commit_after>{
  "type": "widget",
  "layout": "qx.ui.layout.Grow",
  "extensions": {
    "resources": {
      "favicon": "@Ligature/pc"
    },
    "tabConfig": {
      "title": "tr('Desktop')",
      "icon": "favicon"
    }
  },
  "class": "qx.ui.container.Composite",
  "children": [
    {
      "class": "qx.ui.container.Composite",
      "layout": "qx.ui.layout.Grid",
      "layoutConfig": {
        "spacingX": "CONST_SPACING_X",
        "spacingY": "CONST_SPACING_Y"
      },
      "extensions": {
        "layoutOptions": {
          "columnFlex": {
            "column": 1,
            "flex": 1
          }
        }
     },
      "children": [
        {
          "addOptions": {
            "row": 0,
            "column": 0
          },
          "buddyModelPath": "gotoXResolution",
          "properties": {
            "text": "tr('Resolution')"
          },
          "class": "gosa.ui.widgets.QLabelWidget"
        },
        {
          "modelPath": "gotoXResolution",
          "addOptions": {
            "row": 0,
            "column": 1
          },
          "properties": {
            "tabIndex": 1
          },
          "class": "gosa.ui.widgets.QComboBoxWidget"
        },
        {
          "addOptions": {
            "row": 1,
            "column": 0
          },
          "buddyModelPath": "gotoDefaultLanguage",
          "properties": {
            "text": "tr('Preferred language')"
          },
          "class": "gosa.ui.widgets.QLabelWidget"
        },
        {
          "modelPath": "gotoDefaultLanguage",
          "addOptions": {
            "row": 1,
            "column": 1
          },
          "properties": {
            "tabIndex": 2
          },
          "class": "gosa.ui.widgets.QComboBoxWidget"
        },
        {
          "addOptions": {
            "row": 2,
            "column": 0
          },
          "properties": {
            "text": "tr('Logon script')"
          },
          "class": "gosa.ui.widgets.QLabelWidget"
        },
        {
          "addOptions": {
            "row": 2,
            "column": 1
          },
          "properties": {
            "tabIndex": 3,
            "height": 200,
            "selectorType": "dialog",
            "multivalue": true
          },
          "class": "gosa.ui.widgets.QTableWidgetWidget",
          "extensions": {
            "guiProperties": {
              "editTitle": "tr('Edit logon script')",
              "columns": {
                "scriptName": "tr('Name')",
                "scriptPriority": "tr('Priority')",
                "scriptUserEditable": "tr('Editable')",
                "scriptLast": "tr('Last')"
              },
              "additionalAttributes": ["script"],
              "sortByColumn": "scriptPriority",
              "dialogTemplate": {
                "type": "widget",
                "layout": "qx.ui.layout.VBox",
                "class": "qx.ui.container.Composite",
                "layoutConfig": {
                  "spacing": "CONST_SPACING_Y"
                },
                "properties": {
                  "width": 800,
                  "height": 500,
                  "windowTitle": "tr('Logon script')",
                  "dialogName": "editLogonScript",
                  "cancelable": true
                },
                "children": [
                  {
                    "type": "widget",
                    "layout": "qx.ui.layout.HBox",
                    "layoutConfig": {
                      "spacing": "CONST_SPACING_X"
                    },
                    "class": "qx.ui.container.Composite",
                    "children": [
                      {
                        "buddyModelPath": "scriptName",
                        "properties": {
                          "text": "tr('Name')"
                        },
                        "class": "gosa.ui.widgets.QLabelWidget"
                      },
                      {
                        "modelPath": "scriptName",
                        "properties": {
                          "tabIndex": 1
                        },
                        "addOptions": {
                          "flex": 1
                        },
                        "class": "gosa.ui.widgets.QLineEditWidget"
                      },
                      {
                        "buddyModelPath": "scriptPriority",
                        "properties": {
                          "text": "tr('Priority')"
                        },
                        "class": "gosa.ui.widgets.QLabelWidget"
                      },
                      {
                        "modelPath": "scriptPriority",
                        "properties": {
                          "tabIndex": 2
                        },
                        "class": "gosa.ui.widgets.QSpinBoxWidget"
                      },
                      {
                        "buddyModelPath": "scriptUserEditable",
                        "properties": {
                          "text": "tr('Editable')"
                        },
                        "class": "gosa.ui.widgets.QLabelWidget"
                      },
                      {
                        "modelPath": "scriptUserEditable",
                        "properties": {
                          "tabIndex": 3
                        },
                        "class": "gosa.ui.widgets.QCheckBoxWidget"
                      },
                      {
                        "buddyModelPath": "scriptLast",
                        "properties": {
                          "text": "tr('Last script')"
                        },
                        "class": "gosa.ui.widgets.QLabelWidget"
                      },
                      {
                        "modelPath": "scriptLast",
                        "properties": {
                          "tabIndex": 3
                        },
                        "class": "gosa.ui.widgets.QCheckBoxWidget"
                      }
                    ]
                  },
                  {
                    "modelPath": "script",
                    "addOptions": {
                      "flex": 1
                    },
                    "properties": {
                      "tabIndex": 4,
                      "height": 460
                    },
                    "class": "gosa.ui.widgets.EditorWidget",
                    "extensions": {
                      "guiProperties": {
                        "minimap": {
                          "enabled": false
                        },
                        "completionProviders": {
                          "gosa.data.editor.completion.Script": ["bash", "python", "plaintext"]
                        }
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        {
          "addOptions": {
            "row": 3,
            "column": 0
          },
          "buddyModelPath": "gotoPrinters",
          "properties": {
            "text": "tr('Printer')"
          },
          "class": "gosa.ui.widgets.QLabelWidget"
        },
        {
          "modelPath": "gotoPrinters",
          "addOptions": {
            "row": 3,
            "column": 1
          },
          "properties": {
            "tabIndex": 5,
            "height": 400
          },
          "class": "gosa.ui.widgets.QTableWidgetWidget",
          "extensions": {
            "guiProperties": {
              "editTitle": "tr('Edit printer')",
              "columns": {
                "cn": "tr('Name')",
                "description": "tr('Description')"
              },
              "columnRenderers": {
                "1": {
                  "class": "gosa.ui.table.cellrenderer.Html"
                }
              },
              "sortByColumn": "cn",
              "draggable": true,
              "dragDropActions": ["copy"],
              "dragDropType": "gosa/printer",
              "contextMenu": {
                "marker": {
                  "suffix": "*",
                  "ref": "gotoDefaultPrinter",
                  "columnId": "cn",
{'fraction_non_alphanumeric': 0.13578431372549019, 'fraction_numerical': 0.0055147058823529415, 'mean_word_length': 0.8429313459801264, 'pattern_counts': {'":': 345, '<': 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': '6034549', 'n_tokens_mistral': 4289, 'n_tokens_neox': 3927, 'n_words': 596}