docs: def paintEvent( self, event ):
          """
          Overloads the paint event for this menu to draw its title based on its \
          show title property.
          
          :param      event | <QPaintEvent>
          """
          super(XMenu, self).paintEvent(event)
          
          if self.showTitle():
              with XPainter(self) as painter:
                  palette = self.palette()
                  
                  painter.setBrush(palette.color(palette.Button))
                  painter.setPen(Qt.NoPen)
                  painter.drawRect(1, 1, self.width() - 2, 22)
                  
                  painter.setBrush(Qt.NoBrush)
                  painter.setPen(palette.color(palette.ButtonText))
                  painter.drawText(1, 1, self.width() - 2, 22, 
                                   Qt.AlignCenter, self.title())