Reimplements the :meth:`QLineEdit.QResizeEvent` method.

        :param event: Resize event.
        :type event: QResizeEvent

def resizeEvent(self, event):
        """
        Reimplements the :meth:`QLineEdit.QResizeEvent` method.

        :param event: Resize event.
        :type event: QResizeEvent
        """

        frame_width = self.style().pixelMetric(QStyle.PM_DefaultFrameWidth)
        search_active_labelSize = self.__search_active_label.sizeHint()
        self.__search_active_label.move(self.rect().left() + frame_width,
                                        (self.rect().bottom() - search_active_labelSize.height()) / 2 + frame_width / 2)
        clear_buttonSize = self.__clear_button.sizeHint()
        self.__clear_button.move(self.rect().right() - frame_width - clear_buttonSize.width(),
                                 (self.rect().bottom() - clear_buttonSize.height()) / 2 + frame_width / 2)