Of course it would is possible to add actions directly to the line edit.
These new helper functions have the advantage that they provide a fallback
to the old button overlay implementation in case line edit actions can not
be used.
* Unify/streamline code
* Use Qt::SC_ComboBoxEditField/Qt::SC_SpinBoxEditField to determine the edit
area for better compatibility accorss various styles