code: def createMenuItem( self, title ):
          
          item = QTreeWidgetItem([title])
          ico = projexui.resources.find('img/folder.png')
          
          item.setIcon(0, QIcon(ico))
          item.setSizeHint(0, QSize(120, 20))
          item.setData(0, Qt.UserRole, wrapVariant('menu'))
          
          return item
docs: Creates a new menu item with the given title.
          
          :param      title | <str>
          
          :return     <QTreeWidgetItem>