code: def resizeEvent( self, event ):
          
          super(XLineEdit, self).resizeEvent(event)
          self.adjustButtons()
docs: Overloads the resize event to handle updating of buttons.
          
          :param      event | <QResizeEvent>