This is an extended version of the QLineEdit to enable a animation of the placeholder text.
Improvements and commtens are very welcome :)
These are the main functions:
- set border-radius
- set focus border color
- set non focus border color
- add leading and trailing buttons inside the QLineEdit (similar to the QActions but QActions aren't centered cause we use a margin at the top)
Copy the QAnimatedLineEdit
subdirectory into your project folder and add this to your qmake project file:
include(QAnimatedLineEdit/QAnimatedLineEdit.pri)
Some different normal and AnimatedLineEdits: