def METHOD_NAME(self):
    self.setWindowTitle(tr("Re-Prioritize duplicates"))
    self.resize(700, 400)
    # widgets
    msg = tr(
        "Add criteria to the right box and click OK to send the dupes that correspond the "
        "best to these criteria to their respective group's "
        "reference position. Read the help file for more information."
    )
    self.promptLabel = QLabel(msg)
    self.promptLabel.setWordWrap(True)
    self.categoryCombobox = QComboBox()
    self.criteriaListView = QListView()
    self.criteriaListView.setSelectionMode(QAbstractItemView.ExtendedSelection)
    self.addCriteriaButton = QPushButton(self.style().standardIcon(QStyle.SP_ArrowRight), "")
    self.removeCriteriaButton = QPushButton(self.style().standardIcon(QStyle.SP_ArrowLeft), "")
    self.prioritizationListView = QListView()
    self.prioritizationListView.setAcceptDrops(True)
    self.prioritizationListView.setDragEnabled(True)
    self.prioritizationListView.setDragDropMode(QAbstractItemView.InternalMove)
    self.prioritizationListView.setSelectionBehavior(QAbstractItemView.SelectRows)
    self.prioritizationListView.setSelectionMode(QAbstractItemView.ExtendedSelection)
    self.buttonBox = QDialogButtonBox()
    self.buttonBox.setStandardButtons(QDialogButtonBox.Cancel | QDialogButtonBox.Ok)
    # layout
    self.mainLayout = QVBoxLayout(self)
    self.mainLayout.addWidget(self.promptLabel)
    self.splitter = QSplitter()
    sp = self.splitter.sizePolicy()
    sp.setVerticalPolicy(QSizePolicy.Expanding)
    self.splitter.setSizePolicy(sp)
    self.leftSide = QWidget()
    self.leftWidgetsLayout = QVBoxLayout()
    self.leftWidgetsLayout.addWidget(self.categoryCombobox)
    self.leftWidgetsLayout.addWidget(self.criteriaListView)
    self.leftSide.setLayout(self.leftWidgetsLayout)
    self.splitter.addWidget(self.leftSide)
    self.rightSide = QWidget()
    self.rightWidgetsLayout = QHBoxLayout()
    self.addRemoveButtonsLayout = QVBoxLayout()
    self.addRemoveButtonsLayout.addItem(vertical_spacer())
    self.addRemoveButtonsLayout.addWidget(self.addCriteriaButton)
    self.addRemoveButtonsLayout.addWidget(self.removeCriteriaButton)
    self.addRemoveButtonsLayout.addItem(vertical_spacer())
    self.rightWidgetsLayout.addLayout(self.addRemoveButtonsLayout)
    self.rightWidgetsLayout.addWidget(self.prioritizationListView)
    self.rightSide.setLayout(self.rightWidgetsLayout)
    self.splitter.addWidget(self.rightSide)
    self.mainLayout.addWidget(self.splitter)
    self.mainLayout.addWidget(self.buttonBox)