code: def showMenu( self ):
          
          item = self.uiMenuTREE.currentItem()
          
          menu = QMenu(self)
          act = menu.addAction('Add Menu...')
          act.setIcon(QIcon(projexui.resources.find('img/folder.png')))
          act.triggered.connect(self.createMenu)
          
          if ( item and item.data(0, Qt.UserRole) == 'menu' ):
              act = menu.addAction('Rename Menu...')
              ico = QIcon(projexui.resources.find('img/edit.png'))
              act.setIcon(ico)
              act.triggered.connect(self.renameMenu)
          
          act = menu.addAction('Add Separator')
          act.setIcon(QIcon(projexui.resources.find('img/ui/splitter.png')))
          act.triggered.connect(self.createSeparator)
          
          menu.addSeparator()
          
          act = menu.addAction('Remove Item')
          act.setIcon(QIcon(projexui.resources.find('img/remove.png')))
          act.triggered.connect(self.removeItem)
          act.setEnabled(item is not None)
          
          menu.exec_(QCursor.pos())
docs: Creates a menu to display for the editing of template information.