title: QT/pyqt tag/token input
body: <p>Is it possible to create tag/token input in QT5/pyqt5 ?</p>
  
  <p>I am creating gui app where user can store image/photo and add tags. Specific tags are already in a database, user should be able to choose from existing ones (or create new ones if needed).
  Lets say:
  Image 1 Tags:
  (Clouds),(Tree),(mountain),road</p>
  
  <p>User has chosen first 2 tags from database and added "road" which was not in database.</p>
  
  <p>Currently I can create and populate QComboBox with database data which would just append to QLineEdit, later on i can process it back by formatting text. But it would be way more convenient to have something like tag/token input (<em>exactly</em> like in attached image):</p>
  
  <ul>
  <li>Single line input</li>
  <li>Each tag/text has its own 'remove' button</li>
  <li>visually easy to distinguish between existing tags and tags just added (text vs box with close button)</li>
  </ul>
  
  <p>Does QT has something like that out of the box, or should i create graphical icon for each text in custom widget?</p>
  
  <p><a href="https://i.stack.imgur.com/xBxDs.png" rel="noreferrer"><img src="https://i.stack.imgur.com/xBxDs.png" alt="enter image description here"></a></p>