<commit_before>
// Qt includes
#include <QGroupBox>
#include <QLabel>

// Visomics includes
#include "ui_voDelimitedTextImportDialog.h"
#include "voDelimitedTextImportDialog.h"
#include "voDelimitedTextImportWidget.h"
#include "voDelimitedTextPreviewModel.h"

class voDelimitedTextImportDialogPrivate : public Ui_voDelimitedTextImportDialog
{
public:
  typedef Ui_voDelimitedTextImportDialog Superclass;

  voDelimitedTextImportDialogPrivate();

  void setupUi(QDialog *widget);
};

// --------------------------------------------------------------------------
// voDelimitedTextImportDialogPrivate methods

// --------------------------------------------------------------------------
voDelimitedTextImportDialogPrivate::voDelimitedTextImportDialogPrivate()
{
}

// --------------------------------------------------------------------------
void voDelimitedTextImportDialogPrivate::setupUi(QDialog *widget)
{
  this->Superclass::setupUi(widget);

  // Add "PreProcessing&Filtering" groupbox to DelimitedTextImportWidget
  QGroupBox * preProcessingAndFilteringGroupBox = new QGroupBox("Pre-processing && Filtering");
  QVBoxLayout * layout = new QVBoxLayout(preProcessingAndFilteringGroupBox);
  layout->addWidget(new QLabel("<ul><li>Default normalization technique is XXXX. "
                               "Click on <i>Normalization</i> tab for more options.</li></ul>"));
  this->DelimitedTextImportWidget->insertWidget(
        preProcessingAndFilteringGroupBox, voDelimitedTextImportWidget::RowsAndColumnsGroupBox);
}

// --------------------------------------------------------------------------
// voDelimitedTextImportDialog methods<commit_msg>Import Dialog - Disable Normalization and rectification tab<commit_after>
// Qt includes
#include <QGroupBox>
#include <QLabel>

// Visomics includes
#include "ui_voDelimitedTextImportDialog.h"
#include "voDelimitedTextImportDialog.h"
#include "voDelimitedTextImportWidget.h"
#include "voDelimitedTextPreviewModel.h"

class voDelimitedTextImportDialogPrivate : public Ui_voDelimitedTextImportDialog
{
public:
  typedef Ui_voDelimitedTextImportDialog Superclass;

  voDelimitedTextImportDialogPrivate();

  void setupUi(QDialog *widget);
};

// --------------------------------------------------------------------------
// voDelimitedTextImportDialogPrivate methods

// --------------------------------------------------------------------------
voDelimitedTextImportDialogPrivate::voDelimitedTextImportDialogPrivate()
{
}

// --------------------------------------------------------------------------
void voDelimitedTextImportDialogPrivate::setupUi(QDialog *widget)
{
  this->Superclass::setupUi(widget);

  // Add "PreProcessing&Filtering" groupbox to DelimitedTextImportWidget
  QGroupBox * preProcessingAndFilteringGroupBox = new QGroupBox("Pre-processing && Filtering");
  QVBoxLayout * layout = new QVBoxLayout(preProcessingAndFilteringGroupBox);
  layout->addWidget(new QLabel("<ul><li>Default normalization technique is XXXX. "
                               "Click on <i>Normalization</i> tab for more options.</li></ul>"));
  this->DelimitedTextImportWidget->insertWidget(
        preProcessingAndFilteringGroupBox, voDelimitedTextImportWidget::RowsAndColumnsGroupBox);

  preProcessingAndFilteringGroupBox->setDisabled(true);
  this->ImportStepTabWidget->setTabEnabled(1, false);
  this->ImportStepTabWidget->setTabEnabled(2, false);
}

// --------------------------------------------------------------------------
// voDelimitedTextImportDialog methods
{'fraction_non_alphanumeric': 0.24978662873399715, 'fraction_numerical': 0.0005689900426742532, 'mean_word_length': 2.516, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 32, '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': '2223830', 'n_tokens_mistral': 887, 'n_tokens_neox': 875, 'n_words': 146}