Add an ActionTextField component

Authored by ognarb on Feb 20 2019, 9:25 AM.

Description

Add an ActionTextField component

Summary:
<old>This is based on the searchField from Discover. It's a suggestion from @ngraham and I find it's a great idea.

Note: Because it's based on the searchField from Discover licensed under GPL2-or-later and Kirigami is licensed under LGPL2-or-later, this patch need the authorization from @apol and @ngraham, before landing.</old>

Now it's a generic TextField with the possibility to add buttons left and a button right. Also, update the Sidebar example to use this component:

Test Plan: For now kirigami build. I wasn't only able to test this component by copying this component to the example directory.

Reviewers: apol, Kirigami, ngraham, mart

Reviewed By: Kirigami, mart

Subscribers: broulik, mart, apol, ngraham, plasma-devel

Tags: Kirigami

Differential Revision: https://phabricator.kde.org/D18716

Details

Committed
ognarbFeb 25 2019, 11:08 AM
Reviewer
Kirigami
Differential Revision
D18716: Add an ActionTextField component
Parents
R169:ace5d2262c90: fix spacing of buttons
Branches
Unknown
Tags
Unknown