docs: def addMenuLabel(menu, text):
      """Adds a QLabel contaning text to the given menu"""
      qaw = QWidgetAction(menu)
      lab = QLabel(text, menu)
      qaw.setDefaultWidget(lab)
      lab.setAlignment(Qt.AlignCenter)
      lab.setFrameShape(QFrame.StyledPanel)
      lab.setFrameShadow(QFrame.Sunken)
      menu.addAction(qaw)
      return lab