Is it possible to create tag/token input in QT5/pyqt5 ?
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
User has chosen first 2 tags from database and added "road" which was not in database.
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 (exactly like in attached image):
- Single line input
- Each tag/text has its own 'remove' button
- visually easy to distinguish between existing tags and tags just added (text vs box with close button)
Does QT has something like that out of the box, or should i create graphical icon for each text in custom widget?
