Add side widgets to QLineEdit via QAction.
authorFriedemann Kleint <Friedemann.Kleint@digia.com>
Thu, 13 Jun 2013 14:23:44 +0000 (16:23 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 6 Aug 2013 06:19:38 +0000 (08:19 +0200)
commit9ce12cc8de940cdd450a28f4bd079acfc3621aa3
treeca07f5b57179b58caae43f0297be4f4d9834d8e5
parentc207724c9bb8e205e756086950063cc91656e401
Add side widgets to QLineEdit via QAction.

Add QLineEdit::addAction() overloads,
allowing for a variable number of icons or user-defined
widgets.

Change-Id: Id298f18c2f47cc998170357e65cc6098df851aab
Done-with: Kevin.Ottens@kdab.com
Reviewed-by: Thomas Zander <zander@kde.org>
Reviewed-by: Richard J. Moore <rich@kde.org>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
src/widgets/widgets/qlineedit.cpp
src/widgets/widgets/qlineedit.h
src/widgets/widgets/qlineedit_p.cpp
src/widgets/widgets/qlineedit_p.h
tests/auto/widgets/widgets/qlineedit/tst_qlineedit.cpp