def METHOD_NAME(self):
    """
    Applies the new style settings.
    """
    border_style = QtCore.Qt.PenStyle(self.uiBorderStyleComboBox.itemData(self.uiBorderStyleComboBox.currentIndex()))
    pen = QtGui.QPen(self._border_color, self.uiBorderWidthSpinBox.value(), border_style, QtCore.Qt.RoundCap, QtCore.Qt.RoundJoin)
    self._link.setPen(pen)
    new_link_style = {}
    new_link_style["color"] = self._border_color.name()
    new_link_style["width"] = self.uiBorderWidthSpinBox.value()
    new_link_style["type"]  = border_style
    # Store values
    self._link.setLinkStyle(new_link_style)
    self._link.setHovered(False)  # allow to see the new style